Build Information
Failed to build FlutterSwift, reference 3.38.3 (1359f3), with Swift 6.2 for Android on 4 Feb 2026 01:16:09 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/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/PADL/FlutterSwift.git
Reference: 3.38.3
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/PADL/FlutterSwift
* tag 3.38.3 -> FETCH_HEAD
HEAD is now at 1359f3a update flutter-embedded-linux commit (2)
Submodule path 'Sources/CxxFlutterSwift/flutter-embedded-linux': checked out '7668680782f2981a89464546163cbb267d0a572a'
Submodule 'Sources/CxxFlutterSwift/flutter-embedded-linux' (https://github.com/flutter-elinux/flutter-embedded-linux) registered for path 'Sources/CxxFlutterSwift/flutter-embedded-linux'
Cloning into '/host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux'...
Cloned https://github.com/PADL/FlutterSwift.git
Revision (git rev-parse @):
1359f3a1f75963fd0b4d0ee9c572904439fc8923
SUCCESS checkout https://github.com/PADL/FlutterSwift.git at 3.38.3
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/PADL/FlutterSwift.git
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/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
Digest: sha256:0e5e7915595da63d8208b049b9b111c031f8df8a6b9b79e3bba6f3737b8b2f25
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/xtremekforever/swift-systemd
[1/415] Fetching swift-systemd
Fetched https://github.com/xtremekforever/swift-systemd from cache (0.20s)
Fetching https://github.com/lhoward/AsyncExtensions
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/apple/swift-log
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-atomics
[1/2568] Fetching swift-service-lifecycle
[1131/4388] Fetching swift-service-lifecycle, swift-atomics
[2360/5070] Fetching swift-service-lifecycle, swift-atomics, asyncextensions
[3243/11155] Fetching swift-service-lifecycle, swift-atomics, asyncextensions, swift-async-algorithms
[3568/17043] Fetching swift-service-lifecycle, swift-atomics, asyncextensions, swift-async-algorithms, swift-log
[6705/22595] Fetching swift-service-lifecycle, swift-atomics, asyncextensions, swift-async-algorithms, swift-log, swift-system
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.39s)
[13859/20027] Fetching swift-atomics, asyncextensions, swift-async-algorithms, swift-log, swift-system
Fetched https://github.com/apple/swift-atomics from cache (0.62s)
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.68s)
Fetched https://github.com/apple/swift-async-algorithms from cache (0.68s)
Fetched https://github.com/apple/swift-system from cache (0.68s)
Fetched https://github.com/apple/swift-log from cache (0.68s)
Computing version for https://github.com/lhoward/AsyncExtensions
Computed https://github.com/lhoward/AsyncExtensions at 0.9.2 (1.09s)
Fetching https://github.com/apple/swift-collections.git
[1/19151] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.44s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (1.84s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.1 (0.56s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.9.1 (0.47s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.48s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.61s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (0.37s)
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.9.1
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.1.1
Creating working copy for https://github.com/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at 0.9.2
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.9.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Creating working copy for https://github.com/xtremekforever/swift-systemd
Working copy of https://github.com/xtremekforever/swift-systemd resolved at main (62b3067)
warning: you may be able to install egl using your system-packager:
apt-get install libegl1-mesa-dev libgles2-mesa-dev
warning: you may be able to install xkbcommon using your system-packager:
apt-get install libxkbcommon-dev
warning: you may be able to install libinput using your system-packager:
apt-get install libinput-dev
warning: you may be able to install libdrm using your system-packager:
apt-get install libdrm-dev
warning: you may be able to install libudev using your system-packager:
apt-get install libudev-dev
warning: you may be able to install gbm using your system-packager:
apt-get install libgbm-dev
warning: you may be able to install egl using your system-packager:
apt-get install libegl1-mesa-dev libgles2-mesa-dev
warning: you may be able to install xkbcommon using your system-packager:
apt-get install libxkbcommon-dev
warning: you may be able to install libinput using your system-packager:
apt-get install libinput-dev
warning: you may be able to install libdrm using your system-packager:
apt-get install libdrm-dev
warning: you may be able to install libudev using your system-packager:
apt-get install libudev-dev
warning: you may be able to install gbm using your system-packager:
apt-get install libgbm-dev
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Examples/counter/swift/swift-java.config
Building for debugging...
[0/37] Write sources
[16/37] Compiling _AtomicsShims.c
[16/37] Write swift-version--3EE9C60077A20DAF.txt
[18/37] Compiling CSystem shims.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/61] Emitting module InternalCollectionsUtilities
<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
[21/61] Compiling Logging MetadataProvider.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
[22/62] Compiling Logging Logging.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
[23/63] Compiling Logging LogHandler.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
[24/67] Compiling Logging Locks.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/74] Emitting module Logging
<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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/109] Emitting module Atomics
<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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/109] Emitting module SystemPackage
<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