The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Buildable, reference 2.0.0 (84bbfa), with Swift 6.3 for Linux on 17 Apr 2026 07:26:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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:         linux
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-2":/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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-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 (16.01s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (21.57s)
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-24593BA9C3E375BF.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 MakeVariableDeclWithValue.swift
[11/42] Compiling BuildableMacro EnumMember.swift
[12/42] Compiling BuildableMacro GenerateBuilderFromClass.swift
[13/42] Compiling BuildableMacro GenerateBuilderFromStruct.swift
[14/42] Compiling BuildableMacro BuildableMacro.swift
[15/42] Compiling BuildableMacro GenerateBuilderFromEnum.swift
[16/42] Compiling BuildableMacro GetFirstEnumCaseName.swift
[17/42] Compiling BuildableMacro MakeFunctionDeclWithValue.swift
[18/42] Compiling BuildableMacro MakeFunctionDecl.swift
[19/42] Compiling BuildableMacro MakeStructBuilder.swift
[20/42] Compiling BuildableMacro MakeVariableDecl.swift
[21/42] Compiling BuildableMacro StructMember.swift
[22/42] Compiling BuildableMacro MakeInnerDeclModifierList.swift
[23/42] Compiling BuildableMacro MakeOuterDeclModifierList.swift
[24/42] Compiling BuildableMacro GetSendableInheritanceClause.swift
[25/42] Compiling BuildableMacro AccessLevel.swift
[26/42] Compiling BuildableMacro ExtractAccessLevelMacroParameter.swift
[27/42] Compiling BuildableMacro GetAccessLevel.swift
[28/42] Compiling BuildableMacro ExtractInitializerMembers.swift
[29/42] Compiling BuildableMacro ExtractMembers.swift
[30/42] Compiling BuildableMacro GetDefaultValueForType.swift
[31/42] Compiling BuildableMacro GetFirstInitialiser.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] Compiling Buildable Buildable.swift
[40/46] Compiling Buildable AccessLevel.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:24:32: error: cannot find '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 '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!
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[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:24:32: error: cannot find '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 '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!
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
BUILD FAILURE 6.3 linux