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 Linux on 16 Nov 2025 16:37:17 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/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 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:         linux
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-4606859-2":/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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b3eaa5734a03a9b8084848018342ef6c4e4ec1a618756d8de460b693a5f488ea
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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 (7.61s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (10.06s)
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.56s)
Building for debugging...
[0/11] Write sources
[3/11] Write swift-version-24593BA9C3E375BF.txt
[5/14] Emitting module KTViewModelBuilderMacros
[6/14] Compiling KTViewModelBuilderMacros KTViewModelBuilderMacro.swift
[7/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
BUILD FAILURE 6.2 linux