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 KTViewModelBuilder, reference main (221b79), with Swift 6.2 for Android on 16 Nov 2025 16:37:23 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/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/frankois944/KTViewModelBuilder.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/frankois944/KTViewModelBuilder
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 221b79a update deps
Cloned https://github.com/frankois944/KTViewModelBuilder.git
Revision (git rev-parse @):
221b79a30a51d29586d77727800255d7ac723d1b
SUCCESS checkout https://github.com/frankois944/KTViewModelBuilder.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/frankois944/KTViewModelBuilder.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/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/72764] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.63s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (9.61s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.44s)
Building for debugging...
[0/11] Write sources
[3/11] Write swift-version--11D90AFD9DD3AB2.txt
[5/14] Emitting module KTViewModelBuilderMacros
[6/14] Compiling KTViewModelBuilderMacros KTViewModelBindingBuilderMacro.swift
/host/spi-builder-workspace/Sources/KTViewModelBuilderMacros/KTViewModelBindingBuilderMacro.swift:68:57: error: value of type 'String' has no member 'replacingOccurrences'
 66 |                         .as(KeyPathPropertyComponentSyntax.self)?.declName.baseName.text
 67 |                 case 1: // type
 68 |                     type = value.expression.description.replacingOccurrences(of: ".self", with: "")
    |                                                         `- error: value of type 'String' has no member 'replacingOccurrences'
 69 |                     if type?.hasSuffix("?") == true {
 70 |                         isOptional = true
/host/spi-builder-workspace/Sources/KTViewModelBuilderMacros/KTViewModelBindingBuilderMacro.swift:71:38: error: value of type 'String' has no member 'replacingOccurrences'
 69 |                     if type?.hasSuffix("?") == true {
 70 |                         isOptional = true
 71 |                         type = type?.replacingOccurrences(of: "?", with: "")
    |                                      `- error: value of type 'String' has no member 'replacingOccurrences'
 72 |                     }
 73 |                 case 2: // bidirectional
[7/14] Compiling KTViewModelBuilderMacros KTViewModelBuilderMacro.swift
BUILD FAILURE 6.2 android