The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-nio-imap, reference 0.2.0 (0a471f), with Swift 6.2 for Android on 20 Jan 2026 07:44:04 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-nio-imap.git
Reference: 0.2.0
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/apple/swift-nio-imap
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 0a471f5 Add support for RFC9698 JMAPACCESS (#807)
Cloned https://github.com/apple/swift-nio-imap.git
Revision (git rev-parse @):
0a471f59b2632d04a5f4274e3b94db0d2fc7c839
SUCCESS checkout https://github.com/apple/swift-nio-imap.git at 0.2.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apple/swift-nio-imap.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
Digest: sha256:8a4b1a21be66190a249873405d75b6572f433dd9078c4755af4bedee2c8584a9
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-se0270-range-set.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio-ssl
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-nio
[1/76] Fetching swift-se0270-range-set
[77/5887] Fetching swift-se0270-range-set, swift-log
[5888/24558] Fetching swift-se0270-range-set, swift-log, swift-collections
[6262/39854] Fetching swift-se0270-range-set, swift-log, swift-collections, swift-nio-ssl
[11153/121234] Fetching swift-se0270-range-set, swift-log, swift-collections, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-log from cache (0.72s)
[7734/115423] Fetching swift-se0270-range-set, swift-collections, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl from cache (3.85s)
[55368/100127] Fetching swift-se0270-range-set, swift-collections, swift-nio
Fetched https://github.com/apple/swift-se0270-range-set.git from cache (11.28s)
Fetched https://github.com/apple/swift-collections.git from cache (11.30s)
Fetched https://github.com/apple/swift-nio from cache (11.41s)
Computing version for https://github.com/apple/swift-se0270-range-set.git
Computed https://github.com/apple/swift-se0270-range-set.git at 1.0.1 (11.87s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (4.48s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.9.1 (0.41s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.36.0 (1.15s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.92.2 (0.93s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[1821/7238] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.51s)
Fetched https://github.com/apple/swift-system.git from cache (0.51s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.90s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.47s)
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.92.2
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-nio-ssl
Working copy of https://github.com/apple/swift-nio-ssl resolved at 2.36.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-se0270-range-set.git
Working copy of https://github.com/apple/swift-se0270-range-set.git resolved at 1.0.1
Building for debugging...
[0/464] Compiling a_dup.cc
[1/464] Write swift-version--3EE9C60077A20DAF.txt
[1/464] Write sources
[4/464] Compiling _AtomicsShims.c
[5/464] Compiling a_bitstr.cc
[6/467] Compiling a_i2d_fp.cc
[7/467] Write sources
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/468] Emitting module _NIODataStructures
<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
[10/468] Compiling _NIODataStructures Heap.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
[11/470] Compiling _NIODataStructures _TinyArray.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
[12/470] Compiling _NIODataStructures PriorityQueue.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
[12/470] Compiling a_gentm.cc
[12/470] Compiling a_bool.cc
[12/470] Compiling a_int.cc
[12/470] Compiling c-nioatomics.c
[12/470] Compiling c-atomics.c
BUILD FAILURE 6.2 android