The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftNRC, reference main (52a60d), with Swift 6.4 for Wasm on 20 Sep 2026 06:52:01 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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 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:         wasm
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-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-syntax
[1/79985] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax (2.88s)
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]
[158 / 322] SwiftSyntax603
[203 / 324] SwiftSyntax603
[219 / 337] SwiftSyntax600
[230 / 340] SwiftSyntax601
[236 / 342] SwiftSyntax602
[241 / 342] SwiftSyntax509
[242 / 342]
[242 / 342] SwiftSyntax
[255 / 370] SwiftParser
[261 / 370] SwiftDiagnostics
[267 / 370] SwiftParser
[268 / 370] SwiftParser
[269 / 370] SwiftParser
[270 / 370] SwiftParser
[277 / 370] SwiftParser
[278 / 370] SwiftParser
[279 / 370] SwiftParser-product
[280 / 370] SwiftDiagnostics
[281 / 370] SwiftOperators
[282 / 370] SwiftOperators
[286 / 370] SwiftDiagnostics
[287 / 370] SwiftBasicFormat
[291 / 371] SwiftDiagnostics
[293 / 372]
[295 / 382] SwiftOperators
[297 / 392] SwiftOperators
[299 / 392] SwiftParserDiagnostics
[299 / 392] SwiftOperators
[311 / 392] SwiftParserDiagnostics
[313 / 392] SwiftParserDiagnostics
[314 / 393] SwiftParserDiagnostics
[315 / 393] SwiftParser
[319 / 393] SwiftOperators-product
[321 / 393] SwiftOperators
[323 / 393] SwiftOperators
[325 / 393] SwiftBasicFormat
[329 / 403] SwiftOperators
[332 / 404] SwiftSyntaxBuilder
[333 / 404] SwiftSyntaxBuilder
[335 / 405] SwiftSyntaxBuilder
[337 / 405] SwiftSyntaxBuilder
[346 / 407] SwiftIfConfig
[351 / 415] SwiftIfConfig
[352 / 415] SwiftIfConfig
[354 / 415] SwiftIfConfig
[356 / 415] SwiftIfConfig
[363 / 425] SwiftSyntaxMacros
[366 / 426] SwiftSyntaxMacros
[375 / 426] SwiftSyntaxMacros-product
[383 / 436] SwiftSyntaxMacroExpansion
[384 / 437] SwiftSyntaxMacros
[389 / 438] SwiftSyntaxMacroExpansion
[400 / 448] SwiftCompilerPluginMessageHandling
[403 / 448] SwiftCompilerPluginMessageHandling
[405 / 448] SwiftCompilerPluginMessageHandling
[407 / 448] SwiftCompilerPluginMessageHandling
[414 / 451] SwiftCompilerPlugin
[419 / 451] SwiftSyntaxMacroExpansion
[422 / 453] SwiftCompilerPlugin
[423 / 453] SwiftCompilerPluginMessageHandling
[425 / 454] SwiftSyntax
[428 / 455] SwiftSyntax
[435 / 455] SwiftIfConfig
[444 / 456] SwiftNRCMacrosPlugin
[446 / 458] 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,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/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>
[447 / 458] SwiftNRCMacrosPlugin
[451 / 459] SwiftNRCMacrosPlugin
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

[454 / 462] SwiftNRC
/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 wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -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 -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -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-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-webassembly-wasm32/SwiftNRC-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-webassembly-wasm32/SwiftNRC-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-webassembly-wasm32/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-webassembly-wasm32/SwiftNRC-t.build/Objects-normal/wasm32/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-webassembly-wasm32/SwiftNRC-t.build/Objects-normal/wasm32/Modules/SwiftNRC.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-webassembly-wasm32/SwiftNRC-t.build/Objects-normal/wasm32/Modules/SwiftNRC.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-webassembly-wasm32/SwiftNRC-t.build/Objects-normal/wasm32/SwiftNRC-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-webassembly-wasm32/SwiftNRC-t.build/Objects-normal/wasm32/SwiftNRC-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-webassembly-wasm32/SwiftNRC-t.build/Objects-normal/wasm32/SwiftNRC-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNRC.build/Debug-webassembly-wasm32/SwiftNRC-t.build/Objects-normal/wasm32/Modules/SwiftNRC.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm