The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftNRC, reference main (52a60d), with Swift 6.4 for Android on 20 Sep 2026 06:51:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/joehinkle11/SwiftNRC.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/joehinkle11/SwiftNRC
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         android
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-54344847-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-syntax
[1/79985] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax (2.94s)
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]
[162 / 325] SwiftSyntax509
[205 / 325] SwiftSyntax509
[216 / 337] SwiftSyntax601
[230 / 340] SwiftSyntax600
[235 / 342] SwiftSyntax604
[239 / 343] SwiftSyntax
[241 / 343] SwiftSyntax
[243 / 343] SwiftSyntax
[256 / 371] SwiftParser
[257 / 371] SwiftDiagnostics
[263 / 371] SwiftBasicFormat
[269 / 371] SwiftBasicFormat
[270 / 371] SwiftParser
[271 / 371] SwiftParser
[272 / 371] SwiftParser
[274 / 371] SwiftParser
[280 / 371] SwiftParser
[282 / 371] SwiftParser-product
[283 / 371] SwiftParser-product
[286 / 371] SwiftDiagnostics
[287 / 371] SwiftBasicFormat
[289 / 372] SwiftParserDiagnostics
[291 / 372] SwiftBasicFormat
[293 / 372]
[296 / 382] SwiftParserDiagnostics
[297 / 383] SwiftParserDiagnostics
[298 / 383] SwiftParserDiagnostics
[300 / 383] SwiftParserDiagnostics
[302 / 383] SwiftParserDiagnostics
[306 / 384] SwiftParserDiagnostics
[307 / 384] SwiftSyntaxBuilder
[312 / 384]
[316 / 394] SwiftOperators
[317 / 394] SwiftOperators
[320 / 394] SwiftOperators
[326 / 394] SwiftParserDiagnostics
[333 / 405] SwiftSyntaxBuilder
[334 / 405] SwiftSyntaxBuilder
[336 / 406] SwiftSyntaxBuilder
[338 / 406] SwiftSyntaxBuilder
[339 / 406] SwiftSyntaxBuilder
[347 / 407]
[350 / 416] SwiftIfConfig
[352 / 416] SwiftIfConfig
[355 / 416] SwiftIfConfig
[364 / 426] SwiftSyntaxMacros
[365 / 426] SwiftSyntaxMacros
[371 / 427] SwiftSyntaxMacros
[376 / 427] SwiftSyntaxMacroExpansion
[385 / 438] SwiftSyntaxMacroExpansion
[386 / 439] SwiftSyntaxMacros
[390 / 439] SwiftSyntaxMacros
[391 / 439] SwiftSyntaxMacroExpansion
[400 / 449] SwiftCompilerPluginMessageHandling
[402 / 449] SwiftCompilerPluginMessageHandling
[404 / 449] SwiftCompilerPluginMessageHandling
[405 / 449] SwiftCompilerPluginMessageHandling
[412 / 449] SwiftCompilerPlugin
[420 / 452] SwiftCompilerPlugin
[422 / 453] SwiftSyntaxMacroExpansion
[424 / 454] SwiftCompilerPluginMessageHandling
[426 / 455] SwiftSyntax
[429 / 456] SwiftSyntax
[436 / 456] SwiftIfConfig
[445 / 457] 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`[447 / 459] 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>
[448 / 459] 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>
[452 / 460] SwiftNRCMacrosPlugin
error: SwiftCompile normal aarch64 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:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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 -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -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-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-android-aarch64/SwiftNRC-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-android-aarch64/SwiftNRC-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-android-aarch64/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-android-aarch64/SwiftNRC-t.build/Objects-normal/aarch64/SwiftNRC_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-android-aarch64/SwiftNRC-t.build/Objects-normal/aarch64/Modules/SwiftNRC.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-android-aarch64/SwiftNRC-t.build/Objects-normal/aarch64/Modules/SwiftNRC.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-android-aarch64/SwiftNRC-t.build/Objects-normal/aarch64/SwiftNRC-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-android-aarch64/SwiftNRC-t.build/Objects-normal/aarch64/SwiftNRC-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-android-aarch64/SwiftNRC-t.build/Objects-normal/aarch64/SwiftNRC-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-android-aarch64/SwiftNRC-t.build/Objects-normal/aarch64/Modules/SwiftNRC.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android