Build Information
Failed to build swift-textfile, reference 0.5.2 (c9ffbb), with Swift 6.2 for Wasm on 6 Apr 2026 18:55:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orchetect/swift-textfile.git
Reference: 0.5.2
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/orchetect/swift-textfile
* tag 0.5.2 -> FETCH_HEAD
HEAD is now at c9ffbb2 Updated GitHub CI
Cloned https://github.com/orchetect/swift-textfile.git
Revision (git rev-parse @):
c9ffbb259f58c8ef4004a7d77f1a3b2c7ccf8638
SUCCESS checkout https://github.com/orchetect/swift-textfile.git at 0.5.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/orchetect/swift-textfile.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:de1420b02d93a9deec3e168cca69275e06e27da7632503e71651af6daad007b1
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/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/orchetect/swift-testing-extensions
[1/919] Fetching swift-testing-extensions
Fetched https://github.com/orchetect/swift-testing-extensions from cache (0.20s)
Computing version for https://github.com/orchetect/swift-testing-extensions
Computed https://github.com/orchetect/swift-testing-extensions at 0.3.0 (0.58s)
Fetching https://github.com/tsolomko/SWCompression
Fetching https://github.com/swiftlang/swift-syntax.git
[1/17717] Fetching swcompression
[11340/92649] Fetching swcompression, swift-syntax
Fetched https://github.com/tsolomko/SWCompression from cache (1.62s)
[30723/74932] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.60s)
Computing version for https://github.com/tsolomko/SWCompression
Computed https://github.com/tsolomko/SWCompression at 4.8.6 (9.99s)
Fetching https://github.com/tsolomko/BitByteData
[1/3229] Fetching bitbytedata
Fetched https://github.com/tsolomko/BitByteData from cache (0.33s)
Computing version for https://github.com/tsolomko/BitByteData
Computed https://github.com/tsolomko/BitByteData at 2.0.4 (0.74s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.0 (0.63s)
Creating working copy for https://github.com/tsolomko/SWCompression
Working copy of https://github.com/tsolomko/SWCompression resolved at 4.8.6
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.0
Creating working copy for https://github.com/tsolomko/BitByteData
Working copy of https://github.com/tsolomko/BitByteData resolved at 2.0.4
Creating working copy for https://github.com/orchetect/swift-testing-extensions
Working copy of https://github.com/orchetect/swift-testing-extensions resolved at 0.3.0
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module TextFile
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift/embedded/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
[4/4] Compiling TextFile API-0.2.0.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift/embedded/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
BUILD FAILURE 6.2 wasm