Build Information
Failed to build SwiftPackageGenerator, reference main (d5102f), with Swift 6.2 for Android on 22 Jan 2026 10:27:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/dfed/swift-package-generator.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/dfed/swift-package-generator
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d5102f4 Bump actions/checkout to v6 (#5)
Cloned https://github.com/dfed/swift-package-generator.git
Revision (git rev-parse @):
d5102f420beaab97c65b296ae35e408b02499378
SUCCESS checkout https://github.com/dfed/swift-package-generator.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/dfed/swift-package-generator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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-argument-parser.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/swiftlang/swift-format.git
[1/17113] Fetching swift-argument-parser
[2/30522] Fetching swift-argument-parser, swift-format
[28983/104400] Fetching swift-argument-parser, swift-format, swift-syntax
Fetched https://github.com/swiftlang/swift-format.git from cache (2.14s)
[31150/90991] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (11.06s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (11.15s)
Computing version for https://github.com/swiftlang/swift-format.git
Computed https://github.com/swiftlang/swift-format.git at 601.0.0 (13.64s)
Fetching https://github.com/apple/swift-markdown.git
[1/7066] Fetching swift-markdown
Fetched https://github.com/apple/swift-markdown.git from cache (0.55s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (1.36s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.7.3 (2.54s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18283] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (2.55s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.7.1 (4.69s)
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.45s)
Creating working copy for https://github.com/swiftlang/swift-format.git
Working copy of https://github.com/swiftlang/swift-format.git resolved at 601.0.0
Creating working copy for https://github.com/apple/swift-markdown.git
Working copy of https://github.com/apple/swift-markdown.git resolved at 0.7.3
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
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-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.7.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2.3-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2.3-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.82s)
[1/1] Compiling plugin Lint Source Code
[2/2] Compiling plugin Format Source Code
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/77] Write sources
[13/77] Compiling cmark-gfm-extensions core-extensions.c
[14/77] Compiling cmark-gfm-extensions tasklist.c
[15/77] Compiling cmark-gfm-extensions tagfilter.c
[16/77] Write swift-version--3EE9C60077A20DAF.txt
[17/77] Compiling CAtomic CAtomic.c
[18/77] Compiling cmark-gfm-extensions autolink.c
[19/77] Compiling cmark-gfm-extensions strikethrough.c
[20/77] Compiling cmark-gfm-extensions ext_scanners.c
[21/77] Compiling cmark-gfm xml.c
[22/77] Compiling cmark-gfm-extensions table.c
[23/77] Compiling cmark-gfm syntax_extension.c
[24/79] Compiling cmark-gfm plugin.c
[25/79] Compiling cmark-gfm render.c
[26/79] Compiling cmark-gfm plaintext.c
[27/79] Compiling cmark-gfm registry.c
[28/79] Compiling cmark-gfm references.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/79] Emitting module ArgumentParserToolInfo
<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/79] Compiling ArgumentParserToolInfo ToolInfo.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/79] Compiling cmark-gfm man.c
[31/79] Compiling cmark-gfm latex.c
[31/79] Compiling cmark-gfm node.c
[31/79] Compiling cmark-gfm scanners.c
[31/79] Compiling cmark-gfm linked_list.c
[31/79] Compiling cmark-gfm map.c
[31/79] Compiling cmark-gfm utf8.c
BUILD FAILURE 6.2 android