The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Buildable, reference 2.0.0 (84bbfa), with Swift 6.2 for Android on 19 Oct 2025 14:47:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alschmut/SwiftBuildableMacro.git
Reference: 2.0.0
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
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at 84bbfaa Update gitignore
Cloned https://github.com/alschmut/SwiftBuildableMacro.git
Revision (git rev-parse @):
84bbfaacaaade4fca1beabaecab063bd684f04ff
SUCCESS checkout https://github.com/alschmut/SwiftBuildableMacro.git at 2.0.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/alschmut/SwiftBuildableMacro.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:d70d83f328e9f1ae04a4e17e63e2d335ae10639f90ee796a5fe3bfb139eab948
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/72597] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.65s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (7.14s)
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.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.52s)
Building for debugging...
[0/13] Write sources
[4/13] Write swift-version--11D90AFD9DD3AB2.txt
[6/39] Emitting module BuildableMacro
[7/42] Compiling BuildableMacro GetStructBuilderName.swift
[8/42] Compiling BuildableMacro MakeBuildFunctionDecl.swift
[9/42] Compiling BuildableMacro String+Error.swift
[10/42] Compiling BuildableMacro MakeInnerDeclModifierList.swift
[11/42] Compiling BuildableMacro MakeOuterDeclModifierList.swift
[12/42] Compiling BuildableMacro GetSendableInheritanceClause.swift
[13/42] Compiling BuildableMacro AccessLevel.swift
[14/42] Compiling BuildableMacro ExtractAccessLevelMacroParameter.swift
[15/42] Compiling BuildableMacro GetAccessLevel.swift
[16/42] Compiling BuildableMacro MakeFunctionDecl.swift
[17/42] Compiling BuildableMacro MakeStructBuilder.swift
[18/42] Compiling BuildableMacro MakeVariableDecl.swift
[19/42] Compiling BuildableMacro StructMember.swift
[20/42] Compiling BuildableMacro MakeVariableDeclWithValue.swift
[21/42] Compiling BuildableMacro EnumMember.swift
[22/42] Compiling BuildableMacro GenerateBuilderFromClass.swift
[23/42] Compiling BuildableMacro GenerateBuilderFromStruct.swift
[24/42] Compiling BuildableMacro GetValidAccessLevels.swift
[25/42] Compiling BuildableMacro InitParameter.swift
[26/42] Compiling BuildableMacro MakeExplicitInit.swift
[27/42] Compiling BuildableMacro BuildableMacro.swift
[28/42] Compiling BuildableMacro GenerateBuilderFromEnum.swift
[29/42] Compiling BuildableMacro GetFirstEnumCaseName.swift
[30/42] Compiling BuildableMacro MakeFunctionDeclWithValue.swift
[31/42] Compiling BuildableMacro ExtractInitializerMembers.swift
[32/42] Compiling BuildableMacro ExtractMembers.swift
[33/42] Compiling BuildableMacro GetDefaultValueForType.swift
[34/42] Compiling BuildableMacro GetFirstInitialiser.swift
[35/43] Wrapping AST for BuildableMacro for debugging
[36/43] Write Objects.LinkFileList
[37/43] Linking BuildableMacro-tool
[39/46] Compiling Buildable AccessLevel.swift
[40/46] Compiling Buildable Buildable.swift
[41/46] Emitting module Buildable
[42/47] Wrapping AST for Buildable for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/49] Emitting module BuildableClientTestData
macro expansion @Buildable:24:21: error: cannot find type 'CGVector' in scope
`- /host/spi-builder-workspace/Sources/BuildableClientTestData/TestData.swift:42:2: note: expanded code originates here
 2 | import Foundation
 3 |
 4 | @Buildable
   | `- note: in expansion of macro 'Buildable' on struct 'MyObject' here
 5 | public struct MyObject {
 6 |     let m01: String
   :
40 |     let m35: (String, Int) -> String
41 |     var myEnum: MyEnum
42 | }
   +--- 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!
   +--------------------------------------------------------------------
43 |
44 | @MainActor
macro expansion @Buildable:67:14: error: cannot find type 'CGVector' in scope
`- /host/spi-builder-workspace/Sources/BuildableClientTestData/TestData.swift:42:2: note: expanded code originates here
 2 | import Foundation
 3 |
 4 | @Buildable
   | `- note: in expansion of macro 'Buildable' on struct 'MyObject' here
 5 | public struct MyObject {
 6 |     let m01: String
   :
40 |     let m35: (String, Int) -> String
41 |     var myEnum: MyEnum
42 | }
   +--- 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,
   +--------------------------------------------------------------------
43 |
44 | @MainActor
/host/spi-builder-workspace/Sources/BuildableClientTestData/TestData.swift:28:14: error: cannot find type 'CGVector' in scope
26 |     let m21: CGRect
27 |     let m22: CGSize
28 |     let m23: CGVector
   |              `- error: cannot find type 'CGVector' in scope
29 |     let m24: String?
30 |     let m25: String!
[45/49] Compiling BuildableClientTestData TestData.swift
macro expansion @Buildable:24:21: error: cannot find type 'CGVector' in scope
`- /host/spi-builder-workspace/Sources/BuildableClientTestData/TestData.swift:42:2: note: expanded code originates here
 2 | import Foundation
 3 |
 4 | @Buildable
   | `- note: in expansion of macro 'Buildable' on struct 'MyObject' here
 5 | public struct MyObject {
 6 |     let m01: String
   :
40 |     let m35: (String, Int) -> String
41 |     var myEnum: MyEnum
42 | }
   +--- 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!
   +--------------------------------------------------------------------
43 |
44 | @MainActor
macro expansion @Buildable:67:14: error: cannot find type 'CGVector' in scope
`- /host/spi-builder-workspace/Sources/BuildableClientTestData/TestData.swift:42:2: note: expanded code originates here
 2 | import Foundation
 3 |
 4 | @Buildable
   | `- note: in expansion of macro 'Buildable' on struct 'MyObject' here
 5 | public struct MyObject {
 6 |     let m01: String
   :
40 |     let m35: (String, Int) -> String
41 |     var myEnum: MyEnum
42 | }
   +--- 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,
   +--------------------------------------------------------------------
43 |
44 | @MainActor
/host/spi-builder-workspace/Sources/BuildableClientTestData/TestData.swift:28:14: error: cannot find type 'CGVector' in scope
26 |     let m21: CGRect
27 |     let m22: CGSize
28 |     let m23: CGVector
   |              `- error: cannot find type 'CGVector' in scope
29 |     let m24: String?
30 |     let m25: String!
BUILD FAILURE 6.2 android