The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FlutterSwift, reference 3.38.3 (1359f3), with Swift 6.2 for Wasm on 4 Feb 2026 01:22:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/FlutterSwift.git
Reference: 3.38.3
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.38.3     -> FETCH_HEAD
HEAD is now at 1359f3a update flutter-embedded-linux commit (2)
Submodule path 'Sources/CxxFlutterSwift/flutter-embedded-linux': checked out '7668680782f2981a89464546163cbb267d0a572a'
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 @):
1359f3a1f75963fd0b4d0ee9c572904439fc8923
SUCCESS checkout https://github.com/PADL/FlutterSwift.git at 3.38.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/PADL/FlutterSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/xtremekforever/swift-systemd
[1/415] Fetching swift-systemd
Fetched https://github.com/xtremekforever/swift-systemd from cache (0.26s)
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-log
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/lhoward/AsyncExtensions
[1/682] Fetching asyncextensions
[199/3250] Fetching asyncextensions, swift-service-lifecycle
[3251/9335] Fetching asyncextensions, swift-service-lifecycle, swift-async-algorithms
[3252/15223] Fetching asyncextensions, swift-service-lifecycle, swift-async-algorithms, swift-log
[4275/17043] Fetching asyncextensions, swift-service-lifecycle, swift-async-algorithms, swift-log, swift-atomics
[4837/22595] Fetching asyncextensions, swift-service-lifecycle, swift-async-algorithms, swift-log, swift-atomics, swift-system
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.39s)
[12805/21913] Fetching swift-service-lifecycle, swift-async-algorithms, swift-log, swift-atomics, swift-system
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.64s)
Fetched https://github.com/apple/swift-async-algorithms from cache (0.65s)
Fetched https://github.com/apple/swift-atomics from cache (0.68s)
Fetched https://github.com/apple/swift-log from cache (0.68s)
Fetched https://github.com/apple/swift-system from cache (0.68s)
Computing version for https://github.com/lhoward/AsyncExtensions
Computed https://github.com/lhoward/AsyncExtensions at 0.9.2 (1.04s)
Fetching https://github.com/apple/swift-collections.git
[1/19151] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.98s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (2.41s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.1 (0.70s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.9.1 (1.69s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.62s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (0.39s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
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.9.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.9.1
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
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/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at 0.9.2
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.1
Creating working copy for https://github.com/xtremekforever/swift-systemd
Working copy of https://github.com/xtremekforever/swift-systemd resolved at main (62b3067)
warning: you may be able to install egl using your system-packager:
    apt-get install libegl1-mesa-dev libgles2-mesa-dev
warning: you may be able to install xkbcommon using your system-packager:
    apt-get install libxkbcommon-dev
warning: you may be able to install libinput using your system-packager:
    apt-get install libinput-dev
warning: you may be able to install libdrm using your system-packager:
    apt-get install libdrm-dev
warning: you may be able to install libudev using your system-packager:
    apt-get install libudev-dev
warning: you may be able to install gbm using your system-packager:
    apt-get install libgbm-dev
warning: you may be able to install egl using your system-packager:
    apt-get install libegl1-mesa-dev libgles2-mesa-dev
warning: you may be able to install xkbcommon using your system-packager:
    apt-get install libxkbcommon-dev
warning: you may be able to install libinput using your system-packager:
    apt-get install libinput-dev
warning: you may be able to install libdrm using your system-packager:
    apt-get install libdrm-dev
warning: you may be able to install libudev using your system-packager:
    apt-get install libudev-dev
warning: you may be able to install gbm using your system-packager:
    apt-get install libgbm-dev
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
Building for debugging...
[0/37] Write sources
[16/37] Compiling CSystem shims.c
[17/37] Compiling _AtomicsShims.c
[18/37] Write swift-version-24593BA9C3E375BF.txt
[20/107] Emitting module Atomics
[21/109] Compiling SystemPackage FilePathTempWindows.swift
[22/109] Compiling SystemPackage FilePathWindows.swift
[23/111] Compiling SystemPackage FilePathTemp.swift
[24/111] Compiling SystemPackage FilePathTempPosix.swift
[25/111] Compiling SystemPackage FileHelpers.swift
[26/111] Compiling SystemPackage FileOperations.swift
[29/111] Compiling SystemPackage FilePathString.swift
[30/111] Compiling SystemPackage FilePathSyntax.swift
[31/111] Compiling SystemPackage FilePathComponentView.swift
[32/111] Compiling SystemPackage FilePathComponents.swift
[33/111] Compiling SystemPackage FilePathParsing.swift
[34/111] Compiling Atomics IntegerOperations.swift
[35/111] Compiling Atomics Unmanaged extensions.swift
[36/111] Compiling SystemPackage Errno.swift
[37/111] Compiling SystemPackage ErrnoWindows.swift
[38/111] Compiling SystemPackage FileDescriptor.swift
[39/111] Emitting module InternalCollectionsUtilities
[40/111] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[41/111] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[46/111] Compiling SystemPackage FilePath.swift
[54/115] Emitting module SystemPackage
[75/199] Compiling HeapModule Heap+Invariants.swift
[76/283] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[77/338] Compiling HeapModule Heap+Descriptions.swift
[78/391] Compiling BitCollections BitArray._UnsafeHandle.swift
[79/391] Compiling BitCollections BitArray.swift
[80/393] Compiling HeapModule _HeapNode.swift
[81/393] Compiling BitCollections BitArray+Fill.swift
[82/393] Compiling BitCollections BitArray+Hashable.swift
[83/393] Compiling BitCollections BitArray+Initializers.swift
[84/393] Compiling BitCollections BitArray+Invariants.swift
[85/393] Compiling BitCollections BitSet+Hashable.swift
[86/393] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[87/393] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[88/393] Compiling BitCollections BitArray+Extras.swift
[89/393] Compiling BitCollections BitSet+CustomStringConvertible.swift
[90/393] Compiling BitCollections BitSet+Equatable.swift
[91/393] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[92/393] Compiling BitCollections BitSet+Extras.swift
[93/393] Compiling DequeModule _DequeSlot.swift
[94/393] Compiling DequeModule _UnsafeWrappedBuffer.swift
[95/393] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[96/393] Compiling BitCollections BitSet+CustomReflectable.swift
[97/393] Compiling HeapModule Heap.swift
[98/393] Compiling Logging MetadataProvider.swift
[99/393] Compiling BitCollections BitArray+Codable.swift
[100/393] Compiling BitCollections BitArray+Collection.swift
[101/393] Emitting module HeapModule
[102/393] Compiling HeapModule Heap+UnsafeHandle.swift
[103/394] Compiling BitCollections BitArray+RandomBits.swift
[104/394] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[105/394] Compiling BitCollections BitArray+Copy.swift
[106/394] Compiling BitCollections BitArray+CustomReflectable.swift
[107/394] Compiling BitCollections BitArray+Descriptions.swift
[108/394] Compiling BitCollections BitArray+Equatable.swift
[111/394] Wrapping AST for InternalCollectionsUtilities for debugging
[112/394] Wrapping AST for HeapModule for debugging
[114/394] Compiling HashTreeCollections TreeSet+Hashable.swift
[115/394] Compiling HashTreeCollections TreeSet+Sendable.swift
[116/394] Compiling HashTreeCollections TreeSet+Sequence.swift
[117/394] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[118/394] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[119/394] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[120/394] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[121/394] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[122/394] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[123/394] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[123/404] Wrapping AST for Atomics for debugging
[125/404] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[126/404] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[127/404] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[128/404] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[129/404] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[130/404] Compiling HashTreeCollections TreeSet+Extras.swift
[131/404] Compiling HashTreeCollections TreeSet+Filter.swift
[132/411] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[133/411] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[134/411] Compiling BitCollections BitSet+SetAlgebra union.swift
[135/411] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[136/411] Compiling BitCollections BitSet.Counted.swift
[137/411] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[138/411] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[146/411] Compiling BitCollections BitSet+Initializers.swift
[147/411] Compiling BitCollections BitSet+Invariants.swift
[148/411] Compiling BitCollections BitSet+Random.swift
[149/411] Compiling BitCollections BitSet+SetAlgebra basics.swift
[150/411] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[151/411] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[152/411] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[161/418] Compiling BitCollections BitSet.Index.swift
[162/418] Compiling BitCollections BitSet._UnsafeHandle.swift
[163/418] Compiling BitCollections BitArray+Shifts.swift
[164/418] Compiling BitCollections BitArray+Testing.swift
[165/418] Compiling BitCollections BitArray+LosslessStringConvertible.swift
[184/419] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[185/419] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[202/419] Compiling Logging Locks.swift
[203/419] Compiling Logging LogHandler.swift
[204/419] Emitting module Logging
[205/419] Compiling Logging Logging.swift
[207/420] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[208/420] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[209/420] Compiling HashTreeCollections TreeDictionary+Filter.swift
[210/420] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[211/420] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[212/420] Compiling HashTreeCollections TreeDictionary+Keys.swift
[213/420] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[214/420] Compiling HashTreeCollections TreeDictionary+Merge.swift
[215/420] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[216/420] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[217/420] Compiling HashTreeCollections TreeDictionary+Values.swift
[231/420] Wrapping AST for Logging for debugging
[233/422] Compiling BitCollections BitArray+BitwiseOperations.swift
[234/422] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[235/422] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[236/422] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[237/422] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[238/422] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[239/422] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[240/422] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[241/422] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[242/422] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[243/422] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[244/422] Compiling HashTreeCollections TreeSet.swift
[245/422] Emitting module DequeModule
[246/423] Wrapping AST for DequeModule for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[248/423] Emitting module LibDRM
<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
[257/423] Emitting module BitCollections
[263/423] Compiling BitCollections BitSet.swift
[264/423] Compiling BitCollections Range+Utilities.swift
[265/423] Compiling BitCollections Slice+Utilities.swift
[266/423] Compiling BitCollections UInt+Tricks.swift
[297/432] Compiling BitCollections _Word.swift
[298/432] Compiling OrderedCollections OrderedSet.swift
[299/432] Compiling OrderedCollections _UnsafeBitset.swift
[335/433] Wrapping AST for BitCollections for debugging
[358/433] Compiling LibDRM LibDRM.swift
<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
BUILD FAILURE 6.2 wasm