Build Information
Failed to build Kotlin, reference master (88a9bb), with Swift 6.1 for Wasm on 23 Mar 2026 01:17:38 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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PureSwift/Kotlin.git
Reference: master
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/PureSwift/Kotlin
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 88a9bb9 Update dependencies
Cloned https://github.com/PureSwift/Kotlin.git
Revision (git rev-parse @):
88a9bb94d156ef95d177bc6a65580dfacdda4b13
SUCCESS checkout https://github.com/PureSwift/Kotlin.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/PureSwift/Kotlin.git
https://github.com/PureSwift/Kotlin.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-java",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-java.git"
},
{
"identity" : "javalang",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/PureSwift/JavaLang.git"
}
],
"manifest_display_name" : "Kotlin",
"name" : "Kotlin",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "Kotlin",
"targets" : [
"Kotlin"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "KotlinJVM",
"targets" : [
"KotlinJVM"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "KotlinTests",
"module_type" : "SwiftTarget",
"name" : "KotlinTests",
"path" : "Tests/KotlinTests",
"sources" : [
"KotlinTests.swift"
],
"target_dependencies" : [
"Kotlin"
],
"type" : "test"
},
{
"c99name" : "KotlinJVM",
"module_type" : "SwiftTarget",
"name" : "KotlinJVM",
"path" : "Sources/KotlinJVM",
"product_dependencies" : [
"SwiftJava",
"JavaIO",
"JavaNet",
"JavaUtilFunction",
"JavaLangReflect",
"JavaLang",
"JavaLangUtil"
],
"product_memberships" : [
"KotlinJVM"
],
"sources" : [
"AbstractCollection.swift",
"DefaultConstructorMarker.swift",
"EnumEntries.swift",
"Function.swift",
"Function0.swift",
"Function1.swift",
"Function10.swift",
"Function11.swift",
"Function12.swift",
"Function13.swift",
"Function14.swift",
"Function15.swift",
"Function16.swift",
"Function17.swift",
"Function18.swift",
"Function19.swift",
"Function2.swift",
"Function20.swift",
"Function21.swift",
"Function22.swift",
"Function3.swift",
"Function4.swift",
"Function5.swift",
"Function6.swift",
"Function7.swift",
"Function8.swift",
"Function9.swift",
"FunctionBase.swift",
"FunctionN.swift",
"KAnnotatedElement.swift",
"KCallable.swift",
"KClass.swift",
"KClassifier.swift",
"KDeclarationContainer.swift",
"KFunction.swift",
"KMappedMarker.swift",
"KMutableIterator.swift",
"KMutableList.swift",
"KParameter+Kind.swift",
"KParameter.swift",
"KProperty+Accessor.swift",
"KProperty+Getter.swift",
"KProperty.swift",
"KProperty0+Getter.swift",
"KProperty0.swift",
"KProperty1+DefaultImpls.swift",
"KProperty1+Getter.swift",
"KProperty1.swift",
"KProperty2+Getter.swift",
"KProperty2.swift",
"KType.swift",
"KTypeParameter.swift",
"KTypeProjection+Companion.swift",
"KTypeProjection.swift",
"KVariance.swift",
"KVisibility.swift",
"LateinitKt.swift",
"Lazy.swift",
"Uuid+Companion.swift",
"Uuid.swift",
"UuidKt.swift",
"UuidKt__UuidJVMKt.swift",
"UuidKt__UuidKt.swift"
],
"target_dependencies" : [
"Kotlin"
],
"type" : "library"
},
{
"c99name" : "Kotlin",
"module_type" : "SwiftTarget",
"name" : "Kotlin",
"path" : "Sources/Kotlin",
"product_memberships" : [
"Kotlin",
"KotlinJVM"
],
"sources" : [
"Kotlin.swift"
],
"type" : "library"
}
],
"tools_version" : "6.2"
}
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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
BUILD FAILURE 6.1 wasm