Build Information
Failed to build swift-fileio, reference main (d589ff), with Swift 6.2 for Android on 7 Jan 2026 15:36:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/swift-fileio.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/p-x9/swift-fileio
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d589ff3 Merge pull request #21 from p-x9/feature/test
Cloned https://github.com/p-x9/swift-fileio.git
Revision (git rev-parse @):
d589ff3966f9f064574780f527449a946736b989
SUCCESS checkout https://github.com/p-x9/swift-fileio.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/p-x9/swift-fileio.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
63e5bc7682b8: Already exists
0b97ca855ec7: Pulling fs layer
303ed80b528c: Pulling fs layer
41ffaea0ac5e: Pulling fs layer
a3277d432861: Pulling fs layer
cae88b8590bb: Pulling fs layer
aef605e90b68: Pulling fs layer
4f4fb700ef54: Pulling fs layer
fbeaaac40274: Pulling fs layer
360ba71de997: Pulling fs layer
a3277d432861: Waiting
cae88b8590bb: Waiting
aef605e90b68: Waiting
ff7c5a2d5c2b: Pulling fs layer
4f4fb700ef54: Waiting
fbeaaac40274: Waiting
360ba71de997: Waiting
ff7c5a2d5c2b: Waiting
41ffaea0ac5e: Verifying Checksum
41ffaea0ac5e: Download complete
303ed80b528c: Verifying Checksum
303ed80b528c: Download complete
0b97ca855ec7: Verifying Checksum
0b97ca855ec7: Download complete
aef605e90b68: Verifying Checksum
aef605e90b68: Download complete
4f4fb700ef54: Download complete
cae88b8590bb: Verifying Checksum
cae88b8590bb: Download complete
0b97ca855ec7: Pull complete
fbeaaac40274: Verifying Checksum
fbeaaac40274: Download complete
ff7c5a2d5c2b: Verifying Checksum
ff7c5a2d5c2b: Download complete
360ba71de997: Verifying Checksum
360ba71de997: Download complete
a3277d432861: Verifying Checksum
a3277d432861: Download complete
303ed80b528c: Pull complete
41ffaea0ac5e: Pull complete
a3277d432861: Pull complete
cae88b8590bb: Pull complete
aef605e90b68: Pull complete
4f4fb700ef54: Pull complete
fbeaaac40274: Pull complete
360ba71de997: Pull complete
ff7c5a2d5c2b: Pull complete
Digest: sha256:8a4b1a21be66190a249873405d75b6572f433dd9078c4755af4bedee2c8584a9
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3EE9C60077A20DAF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/9] Emitting module FileIO
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
[4/9] Compiling FileIO MemoryMappedFile.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
[5/9] Compiling FileIO FileIO.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
[6/9] Compiling FileIO ConcatenatedMemoryMappedFile.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
[7/9] Compiling FileIO ConcatenatedStreamedFile.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
[8/9] Compiling FileIO system.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
[9/9] Compiling FileIO StreamedFile.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
BUILD FAILURE 6.2 android