The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftNRC, reference 1.3.4 (52a60d), with Swift 6.4 for Linux on 20 Sep 2026 06:51:56 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/joehinkle11/SwiftNRC.git
Reference: 1.3.4
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/joehinkle11/SwiftNRC
 * tag               1.3.4      -> FETCH_HEAD
HEAD is now at 52a60d9 pointerToTop
Cloned https://github.com/joehinkle11/SwiftNRC.git
Revision (git rev-parse @):
52a60d944653bcfcebba8de0f57731a1b62f0525
SUCCESS checkout https://github.com/joehinkle11/SwiftNRC.git at 1.3.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/joehinkle11/SwiftNRC.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/apple/swift-syntax
[1/79985] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax (2.90s)
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at main (1a353ae)
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 711]
[Planning deferred tasks]
[159 / 322] SwiftSyntax509
[206 / 322] SwiftSyntax
[213 / 326] SwiftSyntax
[226 / 337] SwiftSyntax601
[237 / 340] SwiftSyntax603
[239 / 340] SwiftSyntax602
[240 / 340] SwiftSyntax
[254 / 368] SwiftParser
[257 / 368] SwiftDiagnostics
[268 / 368] SwiftParser
[269 / 368] SwiftParser
[270 / 368] SwiftParser
[272 / 368] SwiftParser
[275 / 368] SwiftParser
[279 / 368] SwiftParser
[281 / 368] SwiftParser-product
[285 / 368] SwiftParserDiagnostics
[288 / 369] SwiftBasicFormat
[290 / 370] SwiftParser
[296 / 381] SwiftParserDiagnostics
[299 / 390] SwiftParserDiagnostics
[300 / 390] SwiftParserDiagnostics
[301 / 391] SwiftParserDiagnostics
[302 / 391] SwiftOperators
[304 / 391] SwiftParserDiagnostics
[315 / 391] SwiftParserDiagnostics
[318 / 391] SwiftParserDiagnostics-product
[321 / 391] SwiftOperators
[325 / 392] SwiftSyntaxBuilder
[328 / 401] SwiftSyntaxBuilder
[329 / 401] SwiftSyntaxBuilder
[330 / 401] SwiftSyntaxBuilder
[330 / 402] SwiftSyntaxBuilder
[333 / 402] SwiftSyntaxBuilder
[344 / 412] SwiftIfConfig
[346 / 413] SwiftSyntaxBuilder
[350 / 413] SwiftParserDiagnostics
[354 / 413] SwiftIfConfig
[355 / 414] SwiftIfConfig
[364 / 424] SwiftSyntaxMacros
[366 / 424] SwiftSyntaxMacros
[369 / 424] SwiftSyntaxMacros
[379 / 434] SwiftSyntaxMacroExpansion
[381 / 434] SwiftSyntaxMacroExpansion
[384 / 436] SwiftSyntaxMacroExpansion
[387 / 436] SwiftSyntaxMacroExpansion
[398 / 446] SwiftCompilerPluginMessageHandling
[401 / 446] SwiftCompilerPluginMessageHandling
[402 / 446] SwiftCompilerPluginMessageHandling
[406 / 446] SwiftCompilerPluginMessageHandling
[412 / 449] SwiftCompilerPlugin
[417 / 449] SwiftCompilerPlugin
[417 / 449] SwiftCompilerPluginMessageHandling
[419 / 450] SwiftSyntaxMacroExpansion
[421 / 451] SwiftCompilerPluginMessageHandling
[423 / 452] SwiftSyntax
[426 / 453] SwiftSyntax
[433 / 453] SwiftIfConfig
[442 / 454] SwiftNRCMacrosPlugin
/host/spi-builder-workspace/Sources/SwiftNRCMacrosPlugin/SwiftNRCMacrosPlugin.swift:86:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 84 | }
 85 |
 86 | public struct NRC: MemberMacro {
    |               `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 87 |     public static func expansion(of node: AttributeSyntax, providingMembersOf declaration: some DeclGroupSyntax, in context: some MacroExpansionContext) throws -> [DeclSyntax] {
 88 |
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 |   /// - Returns: the set of member declarations introduced by this macro, which
54 |   /// are nested inside the `attachedTo` declaration.
55 |   static func expansion(
   |               `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 |     of node: AttributeSyntax,
57 |     providingMembersOf declaration: some DeclGroupSyntax,
   :
87 |     message: "`MemberMacro` conformance should implement the `expansion`[444 / 456] SwiftNRCMacrosPlugin
 function that takes a `conformingTo` parameter"
88 |   )
89 |   public static func expansion(
   |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 |     of node: AttributeSyntax,
91 |     providingMembersOf declaration: some DeclGroupSyntax,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[445 / 456] SwiftNRCMacrosPlugin
/host/spi-builder-workspace/Sources/SwiftNRCMacrosPlugin/SwiftNRCMacrosPlugin.swift:86:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 84 | }
 85 |
 86 | public struct NRC: MemberMacro {
    |               `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 87 |     public static func expansion(of node: AttributeSyntax, providingMembersOf declaration: some DeclGroupSyntax, in context: some MacroExpansionContext) throws -> [DeclSyntax] {
 88 |
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 |   /// - Returns: the set of member declarations introduced by this macro, which
54 |   /// are nested inside the `attachedTo` declaration.
55 |   static func expansion(
   |               `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 |     of node: AttributeSyntax,
57 |     providingMembersOf declaration: some DeclGroupSyntax,
   :
87 |     message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
88 |   )
89 |   public static func expansion(
   |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 |     of node: AttributeSyntax,
91 |     providingMembersOf declaration: some DeclGroupSyntax,
/host/spi-builder-workspace/Sources/SwiftNRCMacrosPlugin/SwiftNRCMacrosPlugin.swift:123:21: warning: variable 'commentText' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
121 |             for element in membersArgument.expression.cast(DictionaryExprSyntax.self).content.cast(DictionaryElementListSyntax.self) {
122 |                 // todo: add comment text
123 |                 var commentText = ""
    |                     `- warning: variable 'commentText' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
124 |                 guard let key = element.key.as(StringLiteralExprSyntax.self)?.segments.trimmedDescription else {
125 |                     context.diagnose(NRCErrorMessage(id: "fatal", message: "You must defined members keys with string literals").diagnose(at: element.key))
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
[449 / 457] SwiftNRCMacrosPlugin
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift:249:54: error: no type named 'os_unfair_lock' in module 'Foundation'
247 | /// Set this to false to improve performance in debug builds
248 | public var __debug_enableSwiftNRCZombies = true
249 | public typealias __debug_os_unfair_lock = Foundation.os_unfair_lock
    |                                                      `- error: no type named 'os_unfair_lock' in module 'Foundation'
250 | public let __debug_os_unfair_lock_lock = Foundation.os_unfair_lock_lock
251 | public let __debug_os_unfair_lock_unlock = Foundation.os_unfair_lock_unlock
/host/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift:250:42: error: module 'Foundation' has no member named 'os_unfair_lock_lock'
248 | public var __debug_enableSwiftNRCZombies = true
249 | public typealias __debug_os_unfair_lock = Foundation.os_unfair_lock
250 | public let __debug_os_unfair_lock_lock = Foundation.os_unfair_lock_lock
    |                                          `- error: module 'Foundation' has no member named 'os_unfair_lock_lock'
251 | public let __debug_os_unfair_lock_unlock = Foundation.os_unfair_lock_unlock
252 | #endif
/host/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift:251:44: error: module 'Foundation' has no member named 'os_unfair_lock_unlock'
249 | public typealias __debug_os_unfair_lock = Foundation.os_unfair_lock
250 | public let __debug_os_unfair_lock_lock = Foundation.os_unfair_lock_lock
251 | public let __debug_os_unfair_lock_unlock = Foundation.os_unfair_lock_unlock
    |                                            `- error: module 'Foundation' has no member named 'os_unfair_lock_unlock'
252 | #endif
253 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift -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 5 -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/SwiftNRCMacrosPlugin\#SwiftNRCMacrosPlugin -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/SwiftNRC.build/Debug-linux-x86_64/SwiftNRC-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-linux-x86_64/SwiftNRC-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-linux-x86_64/SwiftNRC-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftNRC -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-linux-x86_64/SwiftNRC-t.build/Objects-normal/x86_64/SwiftNRC_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/SwiftNRC.build/Debug-linux-x86_64/SwiftNRC-t.build/Objects-normal/x86_64/Modules/SwiftNRC.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-linux-x86_64/SwiftNRC-t.build/Objects-normal/x86_64/Modules/SwiftNRC.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-linux-x86_64/SwiftNRC-t.build/Objects-normal/x86_64/SwiftNRC-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-linux-x86_64/SwiftNRC-t.build/Objects-normal/x86_64/SwiftNRC-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-linux-x86_64/SwiftNRC-t.build/Objects-normal/x86_64/SwiftNRC-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-linux-x86_64/SwiftNRC-t.build/Objects-normal/x86_64/Modules/SwiftNRC.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux