The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Buildable, reference main (da64be), with Swift 6.3 for Android on 17 Apr 2026 07:26:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alschmut/SwiftBuildableMacro.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/alschmut/SwiftBuildableMacro
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at da64be9 Do not compile missing type CGVector on Android
Cloned https://github.com/alschmut/SwiftBuildableMacro.git
Revision (git rev-parse @):
da64be9b1cbbe8f4cbed6273704d58407044faa6
SUCCESS checkout https://github.com/alschmut/SwiftBuildableMacro.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/alschmut/SwiftBuildableMacro.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
[1/74983] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (14.18s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (19.22s)
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.82s)
Building for debugging...
[0/13] Write sources
[4/13] Write swift-version--4F562202D5529B1.txt
[6/39] Emitting module BuildableMacro
[7/42] Compiling BuildableMacro MakeVariableDeclWithValue.swift
[8/42] Compiling BuildableMacro EnumMember.swift
[9/42] Compiling BuildableMacro GenerateBuilderFromClass.swift
[10/42] Compiling BuildableMacro GenerateBuilderFromStruct.swift
[11/42] Compiling BuildableMacro MakeInnerDeclModifierList.swift
[12/42] Compiling BuildableMacro MakeOuterDeclModifierList.swift
[13/42] Compiling BuildableMacro GetSendableInheritanceClause.swift
[14/42] Compiling BuildableMacro GetStructBuilderName.swift
[15/42] Compiling BuildableMacro MakeBuildFunctionDecl.swift
[16/42] Compiling BuildableMacro String+Error.swift
[17/42] Compiling BuildableMacro BuildableMacro.swift
[18/42] Compiling BuildableMacro GenerateBuilderFromEnum.swift
[19/42] Compiling BuildableMacro GetFirstEnumCaseName.swift
[20/42] Compiling BuildableMacro MakeFunctionDeclWithValue.swift
[21/42] Compiling BuildableMacro MakeFunctionDecl.swift
[22/42] Compiling BuildableMacro MakeStructBuilder.swift
[23/42] Compiling BuildableMacro MakeVariableDecl.swift
[24/42] Compiling BuildableMacro StructMember.swift
[25/42] Compiling BuildableMacro ExtractInitializerMembers.swift
[26/42] Compiling BuildableMacro ExtractMembers.swift
[27/42] Compiling BuildableMacro GetDefaultValueForType.swift
[28/42] Compiling BuildableMacro GetFirstInitialiser.swift
[29/42] Compiling BuildableMacro AccessLevel.swift
[30/42] Compiling BuildableMacro ExtractAccessLevelMacroParameter.swift
[31/42] Compiling BuildableMacro GetAccessLevel.swift
[32/42] Compiling BuildableMacro GetValidAccessLevels.swift
[33/42] Compiling BuildableMacro InitParameter.swift
[34/42] Compiling BuildableMacro MakeExplicitInit.swift
[35/43] Wrapping AST for BuildableMacro for debugging
[36/43] Write Objects.LinkFileList
[37/43] Linking BuildableMacro-tool
[39/46] Emitting module Buildable
[40/46] Compiling Buildable AccessLevel.swift
[41/46] Compiling Buildable Buildable.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[42/49] Wrapping AST for Buildable for debugging
[44/49] Emitting module BuildableClientTestData
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[45/49] Compiling BuildableClientTestData TestData.swift
[46/50] Wrapping AST for BuildableClientTestData for debugging
[48/52] Compiling BuildableClient main.swift
macro expansion @Buildable:24:21: error: cannot find type 'CGVector' in scope
`- /host/spi-builder-workspace/Sources/BuildableClient/main.swift:43:2: note: expanded code originates here
  3 | import BuildableClientTestData
  4 |
  5 | @Buildable
    | `- note: in expansion of macro 'Buildable' on struct 'MyObject' here
  6 | public struct MyObject {
  7 |     let m01: String
    :
 41 |     let m35: (String, Int) -> String
 42 |     var myEnum: MyEnum
 43 | }
    +--- macro expansion @Buildable ------------------------------------
    | 22 |     public var m21: CGRect = CGRect()
    | 23 |     public var m22: CGSize = CGSize()
    | 24 |     public var m23: CGVector = CGVector()
    |    |                     `- error: cannot find type 'CGVector' in scope
    | 25 |     public var m24: String?
    | 26 |     public var m25: String!
    +-------------------------------------------------------------------
 44 |
 45 | @Buildable
macro expansion @Buildable:24:32: error: cannot find 'CGVector' in scope
`- /host/spi-builder-workspace/Sources/BuildableClient/main.swift:43:2: note: expanded code originates here
  3 | import BuildableClientTestData
  4 |
  5 | @Buildable
    | `- note: in expansion of macro 'Buildable' on struct 'MyObject' here
  6 | public struct MyObject {
  7 |     let m01: String
    :
 41 |     let m35: (String, Int) -> String
 42 |     var myEnum: MyEnum
 43 | }
    +--- macro expansion @Buildable ------------------------------------
    | 22 |     public var m21: CGRect = CGRect()
    | 23 |     public var m22: CGSize = CGSize()
    | 24 |     public var m23: CGVector = CGVector()
    |    |                                `- error: cannot find 'CGVector' in scope
    | 25 |     public var m24: String?
    | 26 |     public var m25: String!
    +-------------------------------------------------------------------
 44 |
 45 | @Buildable
macro expansion @Buildable:67:14: error: cannot find type 'CGVector' in scope
`- /host/spi-builder-workspace/Sources/BuildableClient/main.swift:43:2: note: expanded code originates here
  3 | import BuildableClientTestData
  4 |
  5 | @Buildable
    | `- note: in expansion of macro 'Buildable' on struct 'MyObject' here
  6 | public struct MyObject {
  7 |     let m01: String
    :
 41 |     let m35: (String, Int) -> String
 42 |     var myEnum: MyEnum
 43 | }
    +--- macro expansion @Buildable ------------------------------------
    | 65 |         m21: CGRect = CGRect(),
    | 66 |         m22: CGSize = CGSize(),
    | 67 |         m23: CGVector = CGVector(),
    |    |              `- error: cannot find type 'CGVector' in scope
    | 68 |         m24: String? = nil,
    | 69 |         m25: String! = nil,
    +-------------------------------------------------------------------
 44 |
 45 | @Buildable
/host/spi-builder-workspace/Sources/BuildableClient/main.swift:29:14: error: cannot find type 'CGVector' in scope
 27 |     let m21: CGRect
 28 |     let m22: CGSize
 29 |     let m23: CGVector
    |              `- error: cannot find type 'CGVector' in scope
 30 |     let m24: String?
 31 |     let m25: String!
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/52] Emitting module BuildableClient
macro expansion @Buildable:24:21: error: cannot find type 'CGVector' in scope
`- /host/spi-builder-workspace/Sources/BuildableClient/main.swift:43:2: note: expanded code originates here
  3 | import BuildableClientTestData
  4 |
  5 | @Buildable
    | `- note: in expansion of macro 'Buildable' on struct 'MyObject' here
  6 | public struct MyObject {
  7 |     let m01: String
    :
 41 |     let m35: (String, Int) -> String
 42 |     var myEnum: MyEnum
 43 | }
    +--- macro expansion @Buildable ------------------------------------
    | 22 |     public var m21: CGRect = CGRect()
    | 23 |     public var m22: CGSize = CGSize()
    | 24 |     public var m23: CGVector = CGVector()
    |    |                     `- error: cannot find type 'CGVector' in scope
    | 25 |     public var m24: String?
    | 26 |     public var m25: String!
    +-------------------------------------------------------------------
 44 |
 45 | @Buildable
macro expansion @Buildable:24:32: error: cannot find 'CGVector' in scope
`- /host/spi-builder-workspace/Sources/BuildableClient/main.swift:43:2: note: expanded code originates here
  3 | import BuildableClientTestData
  4 |
  5 | @Buildable
    | `- note: in expansion of macro 'Buildable' on struct 'MyObject' here
  6 | public struct MyObject {
  7 |     let m01: String
    :
 41 |     let m35: (String, Int) -> String
 42 |     var myEnum: MyEnum
 43 | }
    +--- macro expansion @Buildable ------------------------------------
    | 22 |     public var m21: CGRect = CGRect()
    | 23 |     public var m22: CGSize = CGSize()
    | 24 |     public var m23: CGVector = CGVector()
    |    |                                `- error: cannot find 'CGVector' in scope
    | 25 |     public var m24: String?
    | 26 |     public var m25: String!
    +-------------------------------------------------------------------
 44 |
 45 | @Buildable
macro expansion @Buildable:67:14: error: cannot find type 'CGVector' in scope
`- /host/spi-builder-workspace/Sources/BuildableClient/main.swift:43:2: note: expanded code originates here
  3 | import BuildableClientTestData
  4 |
  5 | @Buildable
    | `- note: in expansion of macro 'Buildable' on struct 'MyObject' here
  6 | public struct MyObject {
  7 |     let m01: String
    :
 41 |     let m35: (String, Int) -> String
 42 |     var myEnum: MyEnum
 43 | }
    +--- macro expansion @Buildable ------------------------------------
    | 65 |         m21: CGRect = CGRect(),
    | 66 |         m22: CGSize = CGSize(),
    | 67 |         m23: CGVector = CGVector(),
    |    |              `- error: cannot find type 'CGVector' in scope
    | 68 |         m24: String? = nil,
    | 69 |         m25: String! = nil,
    +-------------------------------------------------------------------
 44 |
 45 | @Buildable
/host/spi-builder-workspace/Sources/BuildableClient/main.swift:29:14: error: cannot find type 'CGVector' in scope
 27 |     let m21: CGRect
 28 |     let m22: CGSize
 29 |     let m23: CGVector
    |              `- error: cannot find type 'CGVector' in scope
 30 |     let m24: String?
 31 |     let m25: String!
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
BUILD FAILURE 6.3 android