Build Information
Failed to build swift-ntp, reference 0.4.0 (418c59), with Swift 6.2 for Android on 12 Jan 2026 17:56:16 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/apple/swift-ntp.git
Reference: 0.4.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-ntp
* tag 0.4.0 -> FETCH_HEAD
HEAD is now at 418c594 Fixed: potential arithmetic overflow in NTPPacket.getOffset() (#11)
Cloned https://github.com/apple/swift-ntp.git
Revision (git rev-parse @):
418c5943019f8132740df05ae5b4acc9c23e1cb7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-ntp.git at 0.4.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/apple/swift-ntp.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:8a4b1a21be66190a249873405d75b6572f433dd9078c4755af4bedee2c8584a9
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swiftlang/swift-docc-plugin.git
[1/2158] Fetching swift-docc-plugin
[2159/83418] Fetching swift-docc-plugin, swift-nio
Fetched https://github.com/swiftlang/swift-docc-plugin.git from cache (7.05s)
Fetched https://github.com/apple/swift-nio.git from cache (7.19s)
Computing version for https://github.com/swiftlang/swift-docc-plugin.git
Computed https://github.com/swiftlang/swift-docc-plugin.git at 1.4.5 (10.67s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3639] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.02s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.92.2 (1.14s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[1530/7181] Fetching swift-atomics, swift-system
[2090/25797] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.84s)
[7782/23977] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.05s)
[6330/18616] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.52s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (4.63s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (4.28s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.24s)
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.92.2
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin.git
Working copy of https://github.com/swiftlang/swift-docc-plugin.git resolved at 1.4.5
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/38] Write sources
[12/38] Compiling CNIOWindows WSAStartup.c
[13/38] Compiling CNIOLinux liburing_shims.c
[13/38] Compiling CNIOOpenBSD shim.c
[15/38] Compiling CNIOWindows shim.c
[15/38] Compiling CNIOWASI CNIOWASI.c
[17/38] Write sources
[18/38] Compiling CNIOPosix event_loop_id.c
[19/38] Compiling _AtomicsShims.c
[20/38] Compiling CNIODarwin shim.c
[21/38] Write swift-version--3EE9C60077A20DAF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/56] Emitting module _NIOBase64
<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/56] Compiling _NIOBase64 Base64.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/66] Compiling c-atomics.c
[24/66] Compiling CNIOLinux shim.c
[24/68] Compiling c-nioatomics.c
[25/69] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/70] 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
BUILD FAILURE 6.2 android