The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-macro-state-struct, reference 3.0.1 (f19ad3), with Swift 6.4 for Android on 23 Sep 2026 02:13:52 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: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/VergeGroup/swift-macro-state-struct.git
Reference: 3.0.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/VergeGroup/swift-macro-state-struct
 * tag               3.0.1      -> FETCH_HEAD
HEAD is now at f19ad30 Update swift-syntax version constraint to range 600.0.0..<603.0.0 (#43)
Cloned https://github.com/VergeGroup/swift-macro-state-struct.git
Revision (git rev-parse @):
f19ad3018ad718f9af725cbbc66a9d87f78d4780
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/VergeGroup/swift-macro-state-struct.git at 3.0.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/VergeGroup/swift-macro-state-struct.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: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/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-macro-testing.git
[1/1002] Fetching swift-macro-testing
Fetched https://github.com/pointfreeco/swift-macro-testing.git (0.51s)
[1/80010] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.19s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (4.38s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.7.0 (0.16s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16477] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (2.18s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.6 (2.35s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5666] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (0.55s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.73s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6161] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.74s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (1.85s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.1
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.7.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.6
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
Building for debugging...
[Computing dependencies]
[Provisioning 20 / 23]
[Pre-planning 1 / 591]
[Planning deferred tasks]
[14 / 249]
[134 / 264] SwiftSyntax509
[166 / 274] SwiftSyntax
[172 / 276] SwiftSyntax510
[177 / 277] SwiftSyntax509
[178 / 278] SwiftSyntax600
[182 / 279] SwiftSyntax602
[184 / 279] SwiftSyntax
[186 / 279] SwiftSyntax
[194 / 282] SwiftBasicFormat
[199 / 307] SwiftParser
[202 / 307] SwiftDiagnostics
[207 / 307] SwiftDiagnostics
[213 / 307] SwiftParser
[214 / 307] SwiftParser
[215 / 307] SwiftParser
[217 / 307] SwiftParser
[221 / 307] SwiftParser
[224 / 307] SwiftDiagnostics
[225 / 307] SwiftDiagnostics
[226 / 307] SwiftOperators
[228 / 307] SwiftDiagnostics
[229 / 307] SwiftBasicFormat
[230 / 307] SwiftBasicFormat
[231 / 308] SwiftParserDiagnostics
[236 / 309] SwiftBasicFormat
[238 / 309] SwiftBasicFormat
[241 / 319] SwiftParserDiagnostics
[242 / 319] SwiftParserDiagnostics
[245 / 320] SwiftParserDiagnostics
[246 / 320] SwiftParserDiagnostics
[247 / 320] SwiftParserDiagnostics
[248 / 320] SwiftParserDiagnostics
[250 / 320] SwiftParserDiagnostics
[256 / 321] SwiftSyntaxBuilder
[258 / 330] SwiftOperators
[260 / 330] SwiftParserDiagnostics
[260 / 330] SwiftOperators
[262 / 330] SwiftOperators
[265 / 330] SwiftOperators
[269 / 330] SwiftOperators
[270 / 330]
[274 / 340] SwiftSyntaxBuilder
[275 / 340] SwiftSyntaxBuilder
[276 / 341] SwiftSyntaxBuilder
[277 / 341] SwiftSyntaxBuilder
[278 / 342] SwiftSyntaxBuilder
[282 / 342] SwiftSyntaxBuilder
[290 / 343] SwiftSyntaxMacros
[294 / 352] SwiftSyntaxMacros
[297 / 352] SwiftSyntaxMacros
[303 / 352] SwiftSyntaxMacros
[305 / 354] SwiftSyntaxMacroExpansion
[309 / 362] SwiftSyntaxMacroExpansion
[311 / 362] SwiftSyntaxMacroExpansion
[313 / 363] SwiftSyntaxMacroExpansion
[314 / 363] SwiftSyntaxMacros
[317 / 363] SwiftSyntaxMacroExpansion
[325 / 373] SwiftCompilerPluginMessageHandling
[326 / 374] SwiftSyntaxBuilder
[327 / 374] SwiftCompilerPluginMessageHandling
[328 / 374] SwiftSyntaxBuilder
[329 / 374] SwiftSyntaxBuilder
[330 / 374] SwiftCompilerPluginMessageHandling
[332 / 374] SwiftCompilerPluginMessageHandling
[333 / 374] SwiftCompilerPluginMessageHandling
[341 / 377] SwiftCompilerPlugin
[342 / 377] SwiftCompilerPlugin
[348 / 378] SwiftCompilerPluginMessageHandling
[348 / 378] SwiftSyntaxMacroExpansion
[350 / 379] SwiftCompilerPluginMessageHandling
[352 / 380] SwiftSyntax
[355 / 381] SwiftSyntax
[361 / 381] SwiftSyntaxBuilder
[370 / 382] StateStructMacros
[377 / 389] StateStructMacros
/host/spi-builder-workspace/Sources/StateStructMacros/TrackingMacro.swift:19:1: 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;;\]
 17 | }
 18 |
 19 | extension TrackingMacro: 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;;\]
 20 |   public static func expansion(
 21 |     of node: AttributeSyntax,
/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>
[378 / 389] StateStructMacros
/host/spi-builder-workspace/Sources/StateStructMacros/TrackingMacro.swift:19:1: 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;;\]
 17 | }
 18 |
 19 | extension TrackingMacro: 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;;\]
 20 |   public static func expansion(
 21 |     of node: AttributeSyntax,
/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/StateStructMacros/TrackingMacro.swift:45:15: warning: value 'structDecl' was defined but never used; consider replacing with boolean test [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 43 |   ) throws -> [ExtensionDeclSyntax] {
 44 |
 45 |     guard let structDecl = declaration.as(StructDeclSyntax.self) else {
    |               `- warning: value 'structDecl' was defined but never used; consider replacing with boolean test [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 46 |       fatalError()
 47 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[382 / 390] StateStructMacros
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/StateStruct/CopyOnWrite.swift:2:8: error: no such module 'os.lock'
 1 |
 2 | import os.lock
   |        `- error: no such module 'os.lock'
 3 |
 4 | @dynamicMemberLookup
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/StateStruct/Array+modify.swift /host/spi-builder-workspace/Sources/StateStruct/CopyOnWrite.swift /host/spi-builder-workspace/Sources/StateStruct/PropertyNode.swift /host/spi-builder-workspace/Sources/StateStruct/PropertyPath.swift /host/spi-builder-workspace/Sources/StateStruct/Referencing.swift /host/spi-builder-workspace/Sources/StateStruct/Source.swift /host/spi-builder-workspace/Sources/StateStruct/TrackingObject.swift /host/spi-builder-workspace/Sources/StateStruct/TrackingResult.swift /host/spi-builder-workspace/Sources/StateStruct/TrackingRuntime.swift /host/spi-builder-workspace/Sources/StateStruct/_TrackingContext.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 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/StateStructMacros\#StateStructMacros -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/swift-macro-state-struct.build/Debug-android-aarch64/StateStruct-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-macro-state-struct.build/Debug-android-aarch64/StateStruct-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-macro-state-struct.build/Debug-android-aarch64/StateStruct-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name StateStruct -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-macro-state-struct.build/Debug-android-aarch64/StateStruct-t.build/Objects-normal/aarch64/StateStruct_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/swift-macro-state-struct.build/Debug-android-aarch64/StateStruct-t.build/Objects-normal/aarch64/Modules/StateStruct.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-macro-state-struct.build/Debug-android-aarch64/StateStruct-t.build/Objects-normal/aarch64/Modules/StateStruct.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-macro-state-struct.build/Debug-android-aarch64/StateStruct-t.build/Objects-normal/aarch64/StateStruct-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-macro-state-struct.build/Debug-android-aarch64/StateStruct-t.build/Objects-normal/aarch64/StateStruct-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-macro-state-struct.build/Debug-android-aarch64/StateStruct-t.build/Objects-normal/aarch64/StateStruct-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-macro-state-struct.build/Debug-android-aarch64/StateStruct-t.build/Objects-normal/aarch64/Modules/StateStruct.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android