Build Information
Failed to build swift-macro-state-struct, reference main (f19ad3), with Swift 6.4 for Android on 23 Sep 2026 02:13:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/VergeGroup/swift-macro-state-struct.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/VergeGroup/swift-macro-state-struct
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-53886769-1":/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
[1003/81012] Fetching swift-macro-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing.git (3.31s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.34s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (4.54s)
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.17s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16477] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (2.23s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.6 (2.41s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5666] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (0.63s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.83s)
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.86s)
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-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
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
Building for debugging...
[Computing dependencies]
[Provisioning 1 / 23]
[Pre-planning 1 / 591]
[Planning deferred tasks]
[131 / 263] SwiftSyntax509
[151 / 264] SwiftSyntax601
[162 / 265] SwiftSyntax
[166 / 274] SwiftSyntax
[171 / 277] SwiftSyntax600
[178 / 277] SwiftSyntax
[181 / 279] SwiftSyntax601
[186 / 279] SwiftSyntax
[186 / 279]
[186 / 279] SwiftSyntax
[197 / 290] SwiftDiagnostics
[199 / 307] SwiftParser
[200 / 307] SwiftBasicFormat
[203 / 307] SwiftDiagnostics
[208 / 307] SwiftParser
[218 / 307] SwiftParser
[220 / 307] SwiftParser
[222 / 307] SwiftParser
[224 / 307] SwiftDiagnostics
[225 / 307] SwiftDiagnostics
[227 / 307] SwiftOperators
[230 / 307] SwiftDiagnostics
[230 / 307] SwiftBasicFormat
[231 / 307] SwiftParserDiagnostics
[232 / 307] SwiftParserDiagnostics
[234 / 308] SwiftDiagnostics
[238 / 310]
[244 / 329] SwiftParserDiagnostics
[246 / 329] SwiftParserDiagnostics
[247 / 330] SwiftParserDiagnostics
[258 / 330] SwiftSyntaxBuilder
[259 / 330] SwiftSyntaxBuilder
[261 / 330] SwiftParserDiagnostics
[263 / 330] SwiftOperators
[264 / 330] SwiftOperators
[266 / 330] SwiftOperators
[267 / 330] SwiftOperators
[268 / 330] SwiftOperators
[271 / 331] SwiftSyntaxBuilder
[272 / 340] SwiftOperators
[275 / 340] SwiftSyntaxBuilder
[277 / 342] SwiftSyntaxBuilder
[280 / 342] SwiftSyntaxBuilder
[285 / 342] SwiftSyntaxMacros
[288 / 342] SwiftParserDiagnostics
[292 / 352] SwiftSyntaxMacros
[293 / 352] SwiftSyntaxBuilder
[297 / 352] SwiftSyntaxMacros
[302 / 352] SwiftSyntaxMacros
[303 / 352] SwiftSyntaxMacros
[304 / 352] SwiftSyntaxBuilder
[310 / 362] SwiftSyntaxMacroExpansion
[311 / 363] SwiftSyntaxMacros
[313 / 364] SwiftSyntaxMacros
[314 / 364] SwiftSyntaxMacros
[316 / 364] SwiftSyntaxMacroExpansion
[318 / 364] SwiftSyntaxBuilder
[323 / 364] SwiftSyntaxMacroExpansion
[327 / 374] SwiftCompilerPluginMessageHandling
[329 / 374] SwiftCompilerPluginMessageHandling
[330 / 374] SwiftCompilerPluginMessageHandling
[331 / 374] SwiftCompilerPluginMessageHandling
[333 / 374] SwiftCompilerPluginMessageHandling
[341 / 377] SwiftCompilerPlugin
[344 / 377] SwiftCompilerPlugin
[346 / 377] SwiftCompilerPlugin
[347 / 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: [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m17 |[0;0m }
[0;36m18 |[0;0m
[0;36m19 |[0;0m extension TrackingMacro: MemberMacro {
[0;36m|[0;0m `- [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m20 |[0;0m public static func expansion(
[0;36m21 |[0;0m of node: AttributeSyntax,
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m53 |[0;0m /// - Returns: the set of member declarations introduced by this macro, which
[0;36m54 |[0;0m /// are nested inside the `attachedTo` declaration.
[0;36m55 |[0;0m static func expansion(
[0;36m|[0;0m `- [1;39mnote: [1;39mrequirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m56 |[0;0m of node: AttributeSyntax,
[0;36m57 |[0;0m providingMembersOf declaration: some DeclGroupSyntax,
[0;36m:[0;0m
[0;36m87 |[0;0m message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
[0;36m88 |[0;0m )
[0;36m89 |[0;0m public static func expansion(
[0;36m|[0;0m `- [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m90 |[0;0m of node: AttributeSyntax,
[0;36m91 |[0;0m 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: [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m17 |[0;0m }
[0;36m18 |[0;0m
[0;36m19 |[0;0m extension TrackingMacro: MemberMacro {
[0;36m|[0;0m `- [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m20 |[0;0m public static func expansion(
[0;36m21 |[0;0m of node: AttributeSyntax,
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m53 |[0;0m /// - Returns: the set of member declarations introduced by this macro, which
[0;36m54 |[0;0m /// are nested inside the `attachedTo` declaration.
[0;36m55 |[0;0m static func expansion(
[0;36m|[0;0m `- [1;39mnote: [1;39mrequirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m56 |[0;0m of node: AttributeSyntax,
[0;36m57 |[0;0m providingMembersOf declaration: some DeclGroupSyntax,
[0;36m:[0;0m
[0;36m87 |[0;0m message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
[0;36m88 |[0;0m )
[0;36m89 |[0;0m public static func expansion(
[0;36m|[0;0m `- [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m90 |[0;0m of node: AttributeSyntax,
[0;36m91 |[0;0m providingMembersOf declaration: some DeclGroupSyntax,
/host/spi-builder-workspace/Sources/StateStructMacros/TrackingMacro.swift:45:15: [1;33mwarning: [1;39mvalue 'structDecl' was defined but never used; consider replacing with boolean test[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m43 |[0;0m ) throws -> [ExtensionDeclSyntax] {
[0;36m44 |[0;0m
[0;36m45 |[0;0m guard let structDecl = declaration.as(StructDeclSyntax.self) else {
[0;36m|[0;0m `- [1;33mwarning: [1;39mvalue 'structDecl' was defined but never used; consider replacing with boolean test[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m46 |[0;0m fatalError()
[0;36m47 |[0;0m }
[#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: [1;31merror: [1;39mno such module 'os.lock'[0;0m
[0;36m1 |[0;0m
[0;36m2 |[0;0m import os.lock
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'os.lock'[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m @dynamicMemberLookup
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
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