The Swift Package Index logo.Swift Package Index

Build Information

Failed to build gir2swift, reference 18.0.0 (fc0802), with Swift 6.2 for Android on 11 Mar 2026 22:31:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/rhx/gir2swift.git
Reference: 18.0.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/rhx/gir2swift
 * tag               18.0.0     -> FETCH_HEAD
HEAD is now at fc08021 Pin SwiftLibXML to 3.0.1 for release
Cloned https://github.com/rhx/gir2swift.git
Revision (git rev-parse @):
fc080218679acca3be073f77485d6ac29ea11733
SUCCESS checkout https://github.com/rhx/gir2swift.git at 18.0.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/rhx/gir2swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/mipalgu/swift-docc-static
[1/577] Fetching swift-docc-static
Fetched https://github.com/mipalgu/swift-docc-static from cache (0.39s)
Fetching https://github.com/swiftlang/swift-docc.git
[1/97710] Fetching swift-docc
Fetched https://github.com/swiftlang/swift-docc.git from cache (5.07s)
Fetching https://github.com/swiftlang/swift-markdown.git
[1/7132] Fetching swift-markdown
Fetched https://github.com/swiftlang/swift-markdown.git from cache (0.56s)
Fetching https://github.com/swiftlang/swift-lmdb.git
[1/10372] Fetching swift-lmdb
Fetched https://github.com/swiftlang/swift-lmdb.git from cache (1.18s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit.git
[1/3669] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit.git from cache (0.40s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18322] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.04s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/rhx/SwiftLibXML.git
[1/381] Fetching swiftlibxml
[382/17583] Fetching swiftlibxml, swift-argument-parser
[1071/20134] Fetching swiftlibxml, swift-argument-parser, swift-subprocess
[4685/31639] Fetching swiftlibxml, swift-argument-parser, swift-subprocess, yams
[11136/48885] Fetching swiftlibxml, swift-argument-parser, swift-subprocess, yams, swift-crypto
[26751/131672] Fetching swiftlibxml, swift-argument-parser, swift-subprocess, yams, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.17s)
[24900/114470] Fetching swiftlibxml, swift-subprocess, yams, swift-crypto, swift-nio
Fetching https://github.com/apple/swift-system.git
[51347/120071] Fetching swiftlibxml, swift-subprocess, yams, swift-crypto, swift-nio, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.83s)
[61558/114470] Fetching swiftlibxml, swift-subprocess, yams, swift-crypto, swift-nio
Fetched https://github.com/rhx/SwiftLibXML.git from cache (2.22s)
[64282/114089] Fetching swift-subprocess, yams, swift-crypto, swift-nio
Fetched https://github.com/jpsim/Yams.git from cache (2.30s)
[54674/102584] Fetching swift-subprocess, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (3.33s)
[55535/85338] Fetching swift-subprocess, swift-nio
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (8.15s)
Fetched https://github.com/apple/swift-nio.git from cache (8.26s)
Computing version for https://github.com/rhx/SwiftLibXML.git
Computed https://github.com/rhx/SwiftLibXML.git at 3.0.1 (8.74s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.42s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.3.0 (0.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.95.0 (0.80s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[602/24113] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.43s)
[2007/22293] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.46s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.88s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (0.40s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.43s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.0 (0.60s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.15s)
Fetching https://github.com/apple/swift-asn1.git
[1/1769] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (1.58s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (3.37s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.3.0
Creating working copy for https://github.com/rhx/SwiftLibXML.git
Working copy of https://github.com/rhx/SwiftLibXML.git resolved at 3.0.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/swiftlang/swift-lmdb.git
Working copy of https://github.com/swiftlang/swift-lmdb.git resolved at main (a4bc878)
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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.0
Creating working copy for https://github.com/swiftlang/swift-markdown.git
Working copy of https://github.com/swiftlang/swift-markdown.git resolved at main (55d66d9)
Creating working copy for https://github.com/mipalgu/swift-docc-static
Working copy of https://github.com/mipalgu/swift-docc-static resolved at main (cf48b91)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.95.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit.git
Working copy of https://github.com/swiftlang/swift-docc-symbolkit.git resolved at main (4c4ff01)
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/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at gfm (924936d)
Creating working copy for https://github.com/swiftlang/swift-docc.git
Working copy of https://github.com/swiftlang/swift-docc.git resolved at main (1047d41)
[1/1] Compiling plugin gir2swift-plugin
[2/2] Compiling plugin GenerateStaticDocumentation
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/45] Write sources
[8/45] Compiling writer.c
[9/45] Write sources
[15/45] Write swift-version--3EE9C60077A20DAF.txt
[16/45] Compiling api.c
[17/45] Compiling parser.c
[18/45] Compiling reader.c
[19/45] Compiling writer.c
[20/45] Compiling emitter.c
[22/60] Compiling reader.c
[23/60] Write sources
[25/61] Compiling parser.c
[26/61] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/61] Emitting module SwiftLibXML
<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
[28/61] Compiling scanner.c
[30/61] Compiling SwiftLibXML XMLPath.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
[31/64] Compiling SwiftLibXML XMLElement.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
[32/64] Compiling SwiftLibXML XMLNameSpace.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
[33/66] Compiling SwiftLibXML XMLAttribute.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
[34/68] Compiling SwiftLibXML XMLDocument.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
[35/68] Compiling SwiftLibXML EmptySequence.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
[35/74] Compiling api.c
BUILD FAILURE 6.2 android