The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FlutterSwift, reference 3.47.7 (ed6883), with Swift 6.4 for Android on 17 Oct 2026 01:37:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/FlutterSwift.git
Reference: 3.47.7
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.47.7     -> FETCH_HEAD
HEAD is now at ed6883c update flutter-embedded-linux to 3.47.7
Submodule path 'Sources/CxxFlutterSwift/flutter-embedded-linux': checked out '5e69da258c418e2d51e0b5574836691cfb2af9d1'
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 @):
ed6883c547861101d79c1cdb1e32d0a2b3949536
SUCCESS checkout https://github.com/PADL/FlutterSwift.git at 3.47.7
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/PADL/FlutterSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:d9a84d7647394b4473e054b8d8a8f0e0b43300080afc6972ec459a3a608366e4
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/xtremekforever/swift-systemd
[1/497] Fetching swift-systemd
Fetched https://github.com/xtremekforever/swift-systemd (0.60s)
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-binary-parsing
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-async-algorithms
[1/1889] Fetching swift-atomics
[360/4763] Fetching swift-atomics, swift-service-lifecycle
[361/6214] Fetching swift-atomics, swift-service-lifecycle, swift-binary-parsing
[963/14519] Fetching swift-atomics, swift-service-lifecycle, swift-binary-parsing, swift-log
[2972/21340] Fetching swift-atomics, swift-service-lifecycle, swift-binary-parsing, swift-log, swift-async-algorithms
[6280/28636] Fetching swift-atomics, swift-service-lifecycle, swift-binary-parsing, swift-log, swift-async-algorithms, swift-system
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.64s)
Fetched https://github.com/apple/swift-async-algorithms (0.64s)
Fetching https://github.com/sideeffect-io/AsyncExtensions
[17839/18941] Fetching swift-atomics, swift-binary-parsing, swift-log, swift-system
Fetched https://github.com/apple/swift-system (0.71s)
[10557/11645] Fetching swift-atomics, swift-binary-parsing, swift-log
Fetched https://github.com/apple/swift-atomics (0.79s)
Fetched https://github.com/apple/swift-log (0.79s)
Fetched https://github.com/apple/swift-binary-parsing (0.79s)
[1/1213] Fetching asyncextensions
Fetched https://github.com/sideeffect-io/AsyncExtensions (0.55s)
Computing version for https://github.com/sideeffect-io/AsyncExtensions
Computed https://github.com/sideeffect-io/AsyncExtensions at 0.7.0 (1.33s)
Fetching https://github.com/apple/swift-collections.git
[1/28864] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.24s)
Computing version for https://github.com/apple/swift-binary-parsing
Computed https://github.com/apple/swift-binary-parsing at 0.0.4 (1.44s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80793] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.76s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (4.03s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.1 (0.15s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.7 (0.18s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.3 (0.23s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.14s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.16.1 (0.15s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.18s)
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.7
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.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 603.0.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.13.0
Creating working copy for https://github.com/apple/swift-binary-parsing
Working copy of https://github.com/apple/swift-binary-parsing resolved at 0.0.4
Creating working copy for https://github.com/sideeffect-io/AsyncExtensions
Working copy of https://github.com/sideeffect-io/AsyncExtensions resolved at 0.7.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.1
Creating working copy for https://github.com/xtremekforever/swift-systemd
Working copy of https://github.com/xtremekforever/swift-systemd resolved at main (16b9527)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.16.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.18s)
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
warning: 'spi-builder-workspace': you may be able to install xkbcommon using your system-packager:
    apt-get install libxkbcommon-dev
warning: 'spi-builder-workspace': you may be able to install libudev using your system-packager:
    apt-get install libudev-dev
warning: 'spi-builder-workspace': you may be able to install libinput using your system-packager:
    apt-get install libinput-dev
warning: 'spi-builder-workspace': you may be able to install libdrm using your system-packager:
    apt-get install libdrm-dev
warning: 'spi-builder-workspace': you may be able to install gbm using your system-packager:
    apt-get install libgbm-dev
warning: 'spi-builder-workspace': you may be able to install egl using your system-packager:
    apt-get install libegl1-mesa-dev libgles2-mesa-dev
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 692]
[Planning deferred tasks]
[139 / 268] CSystem
[148 / 313] SystemPackage
[149 / 313] InternalCollectionsUtilities
[149 / 313] Atomics
[157 / 313] SystemPackage
[167 / 313] SystemPackage
[168 / 313] BinaryParsingMacros
[175 / 313] SystemPackage-product
[177 / 313] SystemPackage
[179 / 313] Logging
[180 / 313] Logging
[181 / 313] Logging
[183 / 313] Logging-product
[185 / 313] Logging
[192 / 314] InternalCollectionsUtilities
[198 / 314] BinaryParsingMacros
[200 / 314] BinaryParsingMacros
[204 / 314] Atomics
[210 / 316]
[218 / 330] SpanPreview
[223 / 340] OrderedCollections
[224 / 341] SystemPackage
[226 / 342] _RopeModule
[227 / 342] _RopeModule
[228 / 342] Atomics
[234 / 343] OrderedCollections
[244 / 344] OrderedCollections
[244 / 344] _RopeModule
[247 / 344] OrderedCollections
[251 / 344] OrderedCollections
[253 / 344] OrderedCollections-product
[263 / 344] Atomics
[270 / 351] HeapModule
[274 / 368] BitCollections
[277 / 378] OrderedCollections
[290 / 378] HashTreeCollections
[292 / 378] HashTreeCollections
[296 / 379] BitCollections
[302 / 379] HashTreeCollections
[303 / 379] HashTreeCollections
[304 / 379] BitCollections
[305 / 379] BitCollections
[307 / 379] BitCollections
[308 / 379] BitCollections
[309 / 379] BitCollections
[311 / 379] HashTreeCollections
[319 / 381]
[327 / 390] HashTreeCollections
[329 / 390] DequeModule
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/LibDRM/LibDRM.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile LibDRM.swift
<module-includes>:4:10: note: in file included from <module-includes>:4:
 2 | #include "CoreFoundationShims.h"
 3 | #include "ObjCShims.h"
 4 | #include "EmbeddedShims.h"
   |          `- note: in file included from <module-includes>:4:
 5 | #include "FoundationShims.h"
 6 | #include "GlobalObjects.h"
/root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/shims/EmbeddedShims.h:96:7: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
 94 |   void* (* __ptrauth(0, 1, 0xe3ba) initializeWithCopyFn)(void*, const void*, const void*);
 95 | #else
 96 |   void* (*initializeWithCopyFn)(void*, void*, const void*);
    |       |- warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
    |       |- note: insert '_Nullable' if the pointer may be null
    |       `- note: insert '_Nonnull' if the pointer should never be null
 97 | #endif
 98 |   void  *assignWithCopyFn;
<module-includes>:4:10: note: in file included from <module-includes>:4:
 2 | #include "CoreFoundationShims.h"
 3 | #include "ObjCShims.h"
 4 | #include "EmbeddedShims.h"
   |          `- note: in file included from <module-includes>:4:
 5 | #include "FoundationShims.h"
 6 | #include "GlobalObjects.h"
/root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/shims/EmbeddedShims.h:96:10: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
 94 |   void* (* __ptrauth(0, 1, 0xe3ba) initializeWithCopyFn)(void*, const void*, const void*);
 95 | #else
 96 |   void* (*initializeWithCopyFn)(void*, void*, const void*);
    |          |- warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
    |          |- note: insert '_Nullable' if the pointer may be null
    |          `- note: insert '_Nonnull' if the pointer should never be null
 97 | #endif
 98 |   void  *assignWithCopyFn;
<module-includes>:4:10: note: in file included from <module-includes>:4:
 2 | #include "CoreFoundationShims.h"
 3 | #include "ObjCShims.h"
 4 | #include "EmbeddedShims.h"
   |          `- note: in file included from <module-includes>:4:
 5 | #include "FoundationShims.h"
 6 | #include "GlobalObjects.h"
/root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/shims/EmbeddedShims.h:102:7: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
100 |   void* (* __ptrauth(0, 1, 0x48d8) initializeWithTakeFn)(void*, void*, const void*);
101 | #else
102 |   void* (*initializeWithTakeFn)(void *, void*, const void*);
    |       |- warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
    |       |- note: insert '_Nullable' if the pointer may be null
    |       `- note: insert '_Nonnull' if the pointer should never be null
103 | #endif
104 |   void  *assignWithTakeFn;
<module-includes>:4:10: note: in file included from <module-includes>:4:
 2 | #include "CoreFoundationShims.h"
 3 | #include "ObjCShims.h"
 4 | #include "EmbeddedShims.h"
   |          `- note: in file included from <module-includes>:4:
 5 | #include "FoundationShims.h"
 6 | #include "GlobalObjects.h"
/root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/shims/EmbeddedShims.h:102:10: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
100 |   void* (* __ptrauth(0, 1, 0x48d8) initializeWithTakeFn)(void*, void*, const void*);
101 | #else
102 |   void* (*initializeWithTakeFn)(void *, void*, const void*);
    |          |- warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
    |          |- note: insert '_Nullable' if the pointer may be null
    |          `- note: insert '_Nonnull' if the pointer should never be null
103 | #endif
104 |   void  *assignWithTakeFn;
<module-includes>:4:10: note: in file included from <module-includes>:4:
 2 | #include "CoreFoundationShims.h"
 3 | #include "ObjCShims.h"
 4 | #include "EmbeddedShims.h"
   |          `- note: in file included from <module-includes>:4:
 5 | #include "FoundationShims.h"
 6 | #include "GlobalObjects.h"
/root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/shims/EmbeddedShims.h:179:8: warning: inferring '_Nonnull' for pointer type within array is deprecated
177 |
178 | typedef struct {
179 |   void *inlineBuffer[3];
    |        `- warning: inferring '_Nonnull' for pointer type within array is deprecated
180 |   const void *metadata;
181 | } ExistentialValue;
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CLibDRM.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CLibDRM/CLibDRM.h:4:10: error: 'xf86drm.h' file not found
2 |
3 | #ifndef __APPLE__
4 | #include <xf86drm.h>
  |          `- error: 'xf86drm.h' file not found
5 | #include <xf86drmMode.h>
6 | #endif
/host/spi-builder-workspace/Sources/LibDRM/LibDRM.swift:10:8: error: could not build C module 'CLibDRM'
  8 |  */
  9 |
 10 | import CLibDRM
    |        `- error: could not build C module 'CLibDRM'
 11 | import Glibc
 12 | import SystemPackage
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/LibDRM/LibDRM.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-android-aarch64/LibDRM-t.build/Objects-normal/aarch64/LibDRM.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-android-aarch64/LibDRM-t.build/Objects-normal/aarch64/LibDRM.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-android-aarch64/LibDRM-t.build/Objects-normal/aarch64/LibDRM.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-android-aarch64/LibDRM-t.build/Objects-normal/aarch64/LibDRM.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -cxx-interoperability-mode\=default -sdk /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /root/.local/share/swiftly/toolchains/6.4.0/usr/include -I /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift -I /usr/include/drm -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D DISPLAY_BACKEND_TYPE_DRM_GBM -D FLUTTER_TARGET_BACKEND_GBM -D Xcode -serialize-debugging-options -enable-experimental-feature Lifetimes -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21 -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/Sources/CLibDRM/module.modulemap -Xcc -std\=c++17 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-android-aarch64/LibDRM-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-android-aarch64/LibDRM-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-android-aarch64/LibDRM-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name LibDRM -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-android-aarch64/LibDRM-t.build/Objects-normal/aarch64/LibDRM_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-android-aarch64/LibDRM-t.build/Objects-normal/aarch64/LibDRM.o -index-unit-output-path /FlutterSwift.build/Debug-android-aarch64/LibDRM-t.build/Objects-normal/aarch64/LibDRM.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android