The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FlutterSwift, reference 3.47.1 (7c35d3), with Swift 6.4 for Wasm on 16 Sep 2026 16:29:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/FlutterSwift.git
Reference: 3.47.1
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.1     -> FETCH_HEAD
HEAD is now at 7c35d38 update counter example dependencies
Submodule path 'Sources/CxxFlutterSwift/flutter-embedded-linux': checked out 'ee831b1510e16911ca81200a3f066daaf2a087af'
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 @):
7c35d38cf708769039b0ac9bc2143115c443bf28
SUCCESS checkout https://github.com/PADL/FlutterSwift.git at 3.47.1
========================================
Build
========================================
Selected platform:         wasm
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-53886770-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/xtremekforever/swift-systemd
[1/446] Fetching swift-systemd
Fetched https://github.com/xtremekforever/swift-systemd (0.44s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/lhoward/AsyncExtensions
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-binary-parsing
[1/1875] Fetching swift-atomics
[20/3259] Fetching swift-atomics, swift-binary-parsing
[48/4178] Fetching swift-atomics, swift-binary-parsing, asyncextensions
[183/7021] Fetching swift-atomics, swift-binary-parsing, asyncextensions, swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.50s)
Fetched https://github.com/apple/swift-atomics (0.50s)
Fetching https://github.com/apple/swift-log
[1265/2303] Fetching swift-binary-parsing, asyncextensions
[1280/9201] Fetching swift-binary-parsing, asyncextensions, swift-system
Fetched https://github.com/lhoward/AsyncExtensions (0.67s)
[8282/8282] Fetching swift-binary-parsing, swift-system
Fetched https://github.com/apple/swift-binary-parsing (0.68s)
Fetching https://github.com/apple/swift-async-algorithms
Fetched https://github.com/apple/swift-system (0.71s)
[1/8086] Fetching swift-log
Fetched https://github.com/apple/swift-log (0.50s)
[1/6723] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms (0.71s)
Computing version for https://github.com/apple/swift-binary-parsing
Computed https://github.com/apple/swift-binary-parsing at 0.0.2 (1.66s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/79917] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.06s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (3.37s)
Computing version for https://github.com/lhoward/AsyncExtensions
Computed https://github.com/lhoward/AsyncExtensions at 0.9.6 (0.15s)
Fetching https://github.com/apple/swift-collections.git
[1/27245] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.43s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.1 (1.59s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.5 (0.21s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.28s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.0 (0.17s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (0.18s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.21s)
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.2
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.1
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.5
Creating working copy for https://github.com/xtremekforever/swift-systemd
Working copy of https://github.com/xtremekforever/swift-systemd resolved at main (17a40ac)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
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/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at 0.9.6
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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
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.12.0
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]
[Provisioning 1 / 60]
[Pre-planning 1 / 1190]
[Planning deferred tasks]
[Starting]
[87 / 455] SwiftSyntax
[227 / 491] SwiftSyntax509
[243 / 500] SwiftSyntax601
[262 / 500] SystemPackage
[262 / 500] InternalCollectionsUtilities
[273 / 500] SystemPackage-product
[274 / 501] SystemPackage-product
[280 / 503] SwiftSyntax600
[291 / 505] Logging
[295 / 505] Logging-product
[298 / 505] InternalCollectionsUtilities
[304 / 505] InternalCollectionsUtilities
[304 / 505] HeapModule
[314 / 508] SwiftSyntax600
[320 / 523] InternalCollectionsUtilities
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

<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"
/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"
/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"
/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"
/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"
/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:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/LibDRM/LibDRM.swift -target wasm32-unknown-wasip1 -disable-objc-interop -cxx-interoperability-mode\=default -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /usr/include -I /usr/lib/swift -I /usr/include/drm -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -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 /usr/lib/swift/host/plugins/testing\#/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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -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 -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-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-webassembly-wasm32/LibDRM-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-webassembly-wasm32/LibDRM-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-webassembly-wasm32/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-webassembly-wasm32/LibDRM-t.build/Objects-normal/wasm32/LibDRM_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-webassembly-wasm32/LibDRM-t.build/Objects-normal/wasm32/Modules/LibDRM.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-webassembly-wasm32/LibDRM-t.build/Objects-normal/wasm32/Modules/LibDRM.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-webassembly-wasm32/LibDRM-t.build/Objects-normal/wasm32/LibDRM-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-webassembly-wasm32/LibDRM-t.build/Objects-normal/wasm32/LibDRM-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-webassembly-wasm32/LibDRM-t.build/Objects-normal/wasm32/LibDRM-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-webassembly-wasm32/LibDRM-t.build/Objects-normal/wasm32/Modules/LibDRM.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm