Build Information
Failed to build CodableKit, reference 2.0.0-alpha.1 (4b16ee), with Swift 6.2 for Wasm on 5 Oct 2025 12:43:39 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:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/WendellXY/CodableKit.git
Reference: 2.0.0-alpha.1
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/WendellXY/CodableKit
* tag 2.0.0-alpha.1 -> FETCH_HEAD
HEAD is now at 4b16eed Simplify README header by removing subtitle
Cloned https://github.com/WendellXY/CodableKit.git
Revision (git rev-parse @):
4b16eed2004763d16dbe5496d9e8ae0dc0139127
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/WendellXY/CodableKit.git at 2.0.0-alpha.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/WendellXY/CodableKit.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:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/swiftlang/swift-syntax.git
[1/72412] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.43s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (7.64s)
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.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.44s)
Building for debugging...
[0/7] Write sources
[3/7] Write swift-version-24593BA9C3E375BF.txt
[5/24] Emitting module CodableKitMacros
[6/26] Compiling CodableKitMacros NamespaceNode+Encode.swift
[7/26] Compiling CodableKitMacros NamespaceNode.swift
[8/26] Compiling CodableKitMacros Plugin.swift
[9/26] Compiling CodableKitMacros SwiftSyntaxHelper.swift
[10/26] Compiling CodableKitMacros NamespaceNode+CodingKeys.swift
[11/26] Compiling CodableKitMacros NamespaceNode+Decode.swift
[12/26] Compiling CodableKitMacros CodableOptions.swift
[13/26] Compiling CodableKitMacros CodableProperty.swift
[14/26] Compiling CodableKitMacros CodableType.swift
[15/26] Compiling CodableKitMacros Diagnostic.swift
[16/26] Compiling CodableKitMacros Helpers.swift
[17/26] Compiling CodableKitMacros CodeGenCore+GenDecode.swift
[18/26] Compiling CodableKitMacros CodeGenCore+GenEncode.swift
[19/26] Compiling CodableKitMacros CodeGenCore.swift
[20/26] Compiling CodableKitMacros CodingHookMacro.swift
[21/26] Compiling CodableKitMacros CodableKeyMacro.swift
[22/26] Compiling CodableKitMacros CodableKeyOptions.swift
[23/26] Compiling CodableKitMacros CodableMacro.swift
[24/27] Wrapping AST for CodableKitMacros for debugging
[25/27] Write Objects.LinkFileList
[26/27] Linking CodableKitMacros-tool
[28/40] Compiling CodableKit CodingTransformer.swift
[29/41] Compiling CodableKit LossyArray.swift
[30/41] Compiling CodableKit CodingHooks.swift
[31/41] Compiling CodableKit CodingTransformerRuntime.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/41] Emitting module CodableKit
/host/spi-builder-workspace/Sources/CodableKit/CodingTransformerRuntime.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | @inline(__always)
[33/41] Compiling CodableKit CodableKit.swift
[34/41] Compiling CodableKit CodableOptions.swift
[35/41] Compiling CodableKit LossyDictionary.swift
[36/41] Compiling CodableKit BuiltInTransformers.swift
[37/41] Compiling CodableKit CodableHook.swift
[38/41] Compiling CodableKit CodableKeyOptions.swift
[39/41] Emitting module CodableKit
[40/41] Compiling CodableKit CodingTransformerComposition.swift
[42/42] Compiling CodableKit CodableHook.swift
/host/spi-builder-workspace/Sources/CodableKit/CodingTransformerRuntime.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | @inline(__always)
BUILD FAILURE 6.2 wasm