Build Information
Failed to build Buildable, reference main (da64be), with Swift 6.3 for Wasm on 17 Apr 2026 07:26:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build 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: wasm
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-4606859-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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-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 (12.93s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (18.47s)
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.75s)
Building for debugging...
[0/13] Write sources
[4/13] Write swift-version-24593BA9C3E375BF.txt
[6/39] Emitting module BuildableMacro
[7/42] Compiling BuildableMacro AccessLevel.swift
[8/42] Compiling BuildableMacro ExtractAccessLevelMacroParameter.swift
[9/42] Compiling BuildableMacro GetAccessLevel.swift
[10/42] Compiling BuildableMacro GetStructBuilderName.swift
[11/42] Compiling BuildableMacro MakeBuildFunctionDecl.swift
[12/42] Compiling BuildableMacro String+Error.swift
[13/42] Compiling BuildableMacro MakeInnerDeclModifierList.swift
[14/42] Compiling BuildableMacro MakeOuterDeclModifierList.swift
[15/42] Compiling BuildableMacro GetSendableInheritanceClause.swift
[16/42] Compiling BuildableMacro BuildableMacro.swift
[17/42] Compiling BuildableMacro GenerateBuilderFromEnum.swift
[18/42] Compiling BuildableMacro GetFirstEnumCaseName.swift
[19/42] Compiling BuildableMacro MakeFunctionDeclWithValue.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 ExtractInitializerMembers.swift
[25/42] Compiling BuildableMacro ExtractMembers.swift
[26/42] Compiling BuildableMacro GetDefaultValueForType.swift
[27/42] Compiling BuildableMacro GetFirstInitialiser.swift
[28/42] Compiling BuildableMacro MakeFunctionDecl.swift
[29/42] Compiling BuildableMacro MakeStructBuilder.swift
[30/42] Compiling BuildableMacro MakeVariableDecl.swift
[31/42] Compiling BuildableMacro StructMember.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] Emitting module Buildable
[41/46] Compiling Buildable AccessLevel.swift
[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:2:21: error: cannot find type 'CGVector' in scope
`- /host/spi-builder-workspace/Sources/BuildableClientTestData/TestData.swift:47:2: note: expanded code originates here
42 |
43 | #if !os(Android)
44 | @Buildable
| `- note: in expansion of macro 'Buildable' on struct 'NonAndroidObject' here
45 | public struct NonAndroidObject {
46 | let m23: CGVector
47 | }
+--- macro expansion @Buildable -------------------------------------
| 1 | public struct NonAndroidObjectBuilder {
| 2 | public var m23: CGVector = CGVector()
| | `- error: cannot find type 'CGVector' in scope
| 3 |
| 4 | public init(
+--------------------------------------------------------------------
48 | #endif
49 |
macro expansion @Buildable:2:32: error: cannot find 'CGVector' in scope
`- /host/spi-builder-workspace/Sources/BuildableClientTestData/TestData.swift:47:2: note: expanded code originates here
42 |
43 | #if !os(Android)
44 | @Buildable
| `- note: in expansion of macro 'Buildable' on struct 'NonAndroidObject' here
45 | public struct NonAndroidObject {
46 | let m23: CGVector
47 | }
+--- macro expansion @Buildable -------------------------------------
| 1 | public struct NonAndroidObjectBuilder {
| 2 | public var m23: CGVector = CGVector()
| | `- error: cannot find 'CGVector' in scope
| 3 |
| 4 | public init(
+--------------------------------------------------------------------
48 | #endif
49 |
macro expansion @Buildable:5:14: error: cannot find type 'CGVector' in scope
`- /host/spi-builder-workspace/Sources/BuildableClientTestData/TestData.swift:47:2: note: expanded code originates here
42 |
43 | #if !os(Android)
44 | @Buildable
| `- note: in expansion of macro 'Buildable' on struct 'NonAndroidObject' here
45 | public struct NonAndroidObject {
46 | let m23: CGVector
47 | }
+--- macro expansion @Buildable -------------------------------------
| 3 |
| 4 | public init(
| 5 | m23: CGVector = CGVector()
| | `- error: cannot find type 'CGVector' in scope
| 6 | ) {
| 7 | self.m23 = m23
+--------------------------------------------------------------------
48 | #endif
49 |
/host/spi-builder-workspace/Sources/BuildableClientTestData/TestData.swift:46:14: error: cannot find type 'CGVector' in scope
44 | @Buildable
45 | public struct NonAndroidObject {
46 | let m23: CGVector
| `- error: cannot find type 'CGVector' in scope
47 | }
48 | #endif
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:2:21: error: cannot find type 'CGVector' in scope
`- /host/spi-builder-workspace/Sources/BuildableClientTestData/TestData.swift:47:2: note: expanded code originates here
42 |
43 | #if !os(Android)
44 | @Buildable
| `- note: in expansion of macro 'Buildable' on struct 'NonAndroidObject' here
45 | public struct NonAndroidObject {
46 | let m23: CGVector
47 | }
+--- macro expansion @Buildable -------------------------------------
| 1 | public struct NonAndroidObjectBuilder {
| 2 | public var m23: CGVector = CGVector()
| | `- error: cannot find type 'CGVector' in scope
| 3 |
| 4 | public init(
+--------------------------------------------------------------------
48 | #endif
49 |
macro expansion @Buildable:2:32: error: cannot find 'CGVector' in scope
`- /host/spi-builder-workspace/Sources/BuildableClientTestData/TestData.swift:47:2: note: expanded code originates here
42 |
43 | #if !os(Android)
44 | @Buildable
| `- note: in expansion of macro 'Buildable' on struct 'NonAndroidObject' here
45 | public struct NonAndroidObject {
46 | let m23: CGVector
47 | }
+--- macro expansion @Buildable -------------------------------------
| 1 | public struct NonAndroidObjectBuilder {
| 2 | public var m23: CGVector = CGVector()
| | `- error: cannot find 'CGVector' in scope
| 3 |
| 4 | public init(
+--------------------------------------------------------------------
48 | #endif
49 |
macro expansion @Buildable:5:14: error: cannot find type 'CGVector' in scope
`- /host/spi-builder-workspace/Sources/BuildableClientTestData/TestData.swift:47:2: note: expanded code originates here
42 |
43 | #if !os(Android)
44 | @Buildable
| `- note: in expansion of macro 'Buildable' on struct 'NonAndroidObject' here
45 | public struct NonAndroidObject {
46 | let m23: CGVector
47 | }
+--- macro expansion @Buildable -------------------------------------
| 3 |
| 4 | public init(
| 5 | m23: CGVector = CGVector()
| | `- error: cannot find type 'CGVector' in scope
| 6 | ) {
| 7 | self.m23 = m23
+--------------------------------------------------------------------
48 | #endif
49 |
/host/spi-builder-workspace/Sources/BuildableClientTestData/TestData.swift:46:14: error: cannot find type 'CGVector' in scope
44 | @Buildable
45 | public struct NonAndroidObject {
46 | let m23: CGVector
| `- error: cannot find type 'CGVector' in scope
47 | }
48 | #endif
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
BUILD FAILURE 6.3 wasm