Build Information
Failed to build swift-macro-state-struct, reference main (f19ad3), with Swift 6.3 for Android on 17 Apr 2026 01:59:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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.3
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-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-macro-testing.git
[1/961] Fetching swift-macro-testing
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (0.32s)
[1/74985] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.65s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (12.74s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.6.5 (0.38s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16053] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (5.88s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.2 (6.33s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5464] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (1.54s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.5.0 (2.00s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5723] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.77s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (1.90s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.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.2
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.6.5
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.5.0
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
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.42s)
Building for debugging...
[0/7] Write sources
[3/7] Write swift-version--4F562202D5529B1.txt
[5/14] Compiling StateStructMacros TrackingIgnoredMacro.swift
[6/14] Compiling StateStructMacros Plugin.swift
[7/14] Compiling StateStructMacros PrimitiveTrackingPropertyMacro.swift
[8/14] Compiling StateStructMacros TrackingMacro.swift
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
20 | public static func expansion(
21 | of node: AttributeSyntax,
SwiftSyntaxMacros.MemberMacro.expansion:3:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | @available(*, deprecated, message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter")
3 | public static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
| `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
4 |
SwiftSyntaxMacros.MemberMacro.expansion:2:13: note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
| `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
3 |
/host/spi-builder-workspace/Sources/StateStructMacros/TrackingMacro.swift:45:15: warning: value 'structDecl' was defined but never used; consider replacing with boolean test [#no-usage]
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 [#no-usage]
46 | fatalError()
47 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[9/14] Compiling StateStructMacros COWTrackingPropertyMacro.swift
[10/14] Emitting module 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
20 | public static func expansion(
21 | of node: AttributeSyntax,
SwiftSyntaxMacros.MemberMacro.expansion:3:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | @available(*, deprecated, message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter")
3 | public static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
| `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
4 |
SwiftSyntaxMacros.MemberMacro.expansion:2:13: note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
| `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[11/14] Compiling StateStructMacros KnownTypes.swift
[12/15] Wrapping AST for StateStructMacros for debugging
[13/15] Write Objects.LinkFileList
[14/15] Linking StateStructMacros-tool
[16/35] Compiling StateStruct Referencing.swift
/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
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[17/36] Compiling StateStruct TrackingRuntime.swift
/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
[18/36] Compiling StateStruct TrackingObject.swift
/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
[19/36] Compiling StateStruct TrackingResult.swift
/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
[20/36] Compiling StateStruct _TrackingContext.swift
/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
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[21/36] Compiling StateStruct Array+modify.swift
/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
[22/36] Compiling StateStruct CopyOnWrite.swift
/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/36] Compiling StateStruct PropertyNode.swift
/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
[24/36] Compiling StateStruct PropertyPath.swift
/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
[25/36] Emitting module StateStruct
/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
[26/36] Compiling StateStruct Source.swift
/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
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
BUILD FAILURE 6.3 android