The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FlutterSwift, reference main (a68c69), with Swift 6.2 for Wasm on 22 Apr 2026 11:03:46 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/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/FlutterSwift.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/PADL/FlutterSwift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a68c696 CxxFlutterSwift: explicitly linkedLibrary backend C libs
Submodule path 'Sources/CxxFlutterSwift/flutter-embedded-linux': checked out '6d123979d1f99b7d6d35cd33cd1efb9b3ecf651c'
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 @):
a68c6967df245d363bf190611585ceed566287a0
SUCCESS checkout https://github.com/PADL/FlutterSwift.git at main
========================================
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-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/xtremekforever/swift-systemd
[1/427] Fetching swift-systemd
Fetched https://github.com/xtremekforever/swift-systemd from cache (0.38s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/lhoward/AsyncExtensions
Fetching https://github.com/apple/swift-log
[1/2745] Fetching swift-service-lifecycle
[2746/4565] Fetching swift-service-lifecycle, swift-atomics
[2765/10812] Fetching swift-service-lifecycle, swift-atomics, swift-async-algorithms
[2991/16413] Fetching swift-service-lifecycle, swift-atomics, swift-async-algorithms, swift-system
[5143/23049] Fetching swift-service-lifecycle, swift-atomics, swift-async-algorithms, swift-system, swift-log
[7903/23939] Fetching swift-service-lifecycle, swift-atomics, swift-async-algorithms, swift-system, swift-log, asyncextensions
Fetched https://github.com/lhoward/AsyncExtensions from cache (1.43s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.45s)
Fetched https://github.com/apple/swift-system from cache (1.45s)
Fetched https://github.com/apple/swift-async-algorithms from cache (1.44s)
Fetched https://github.com/apple/swift-atomics from cache (1.49s)
Fetched https://github.com/apple/swift-log from cache (1.61s)
Computing version for https://github.com/lhoward/AsyncExtensions
Computed https://github.com/lhoward/AsyncExtensions at 0.9.5 (2.47s)
Fetching https://github.com/apple/swift-collections.git
[1/23620] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.28s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (2.98s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.76s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.3 (0.98s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (0.78s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.16s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.78s)
Creating working copy for https://github.com/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at 0.9.5
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.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.3
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.12.0
Creating working copy for https://github.com/xtremekforever/swift-systemd
Working copy of https://github.com/xtremekforever/swift-systemd resolved at main (62b3067)
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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
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/39] Write sources
[17/39] Compiling CSystem shims.c
[18/39] Compiling _AtomicsShims.c
[19/39] Write swift-version-24593BA9C3E375BF.txt
[21/112] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[22/112] Compiling SystemPackage IORing.swift
[23/114] Compiling SystemPackage RawIORequest.swift
[24/114] Compiling SystemPackage Backcompat.swift
[25/114] Compiling InternalCollectionsUtilities _SortedCollection.swift
[26/114] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[27/114] Compiling SystemPackage Errno.swift
[28/114] Compiling SystemPackage ErrnoWindows.swift
[29/114] Compiling SystemPackage FileDescriptor.swift
[30/114] Emitting module InternalCollectionsUtilities
[31/114] Compiling SystemPackage FilePathString.swift
[32/114] Compiling SystemPackage FilePathSyntax.swift
[33/116] Compiling SystemPackage FilePathComponentView.swift
[34/116] Compiling SystemPackage FilePathComponents.swift
[37/116] Compiling SystemPackage FilePathParsing.swift
[38/116] Compiling SystemPackage FileHelpers.swift
[39/116] Compiling SystemPackage FileOperations.swift
[40/116] Compiling SystemPackage FilePath.swift
[46/116] Compiling SystemPackage FilePathTemp.swift
[47/116] Compiling InternalCollectionsUtilities Span+Extras.swift
[52/116] Compiling Logging LogEvent.swift
[60/121] Emitting module Atomics
[69/121] Emitting module SystemPackage
[76/356] Compiling HashTreeCollections _AncestorHashSlots.swift
[77/356] Compiling HashTreeCollections _Bitmap.swift
[78/356] Compiling HashTreeCollections _Bucket.swift
[79/356] Compiling HashTreeCollections _Hash.swift
[80/356] Compiling HashTreeCollections _HashLevel.swift
[81/356] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[82/356] Compiling HashTreeCollections _HashNode+Structural merge.swift
[83/356] Compiling HashTreeCollections _HashTreeIterator.swift
[84/356] Compiling HashTreeCollections _HashTreeStatistics.swift
[85/365] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[86/365] Compiling HashTreeCollections _RawHashNode.swift
[87/365] Compiling HashTreeCollections _UnmanagedHashNode.swift
[88/365] Compiling HashTreeCollections _UnsafePath.swift
[89/366] Compiling HashTreeCollections TreeDictionary+Codable.swift
[90/366] Compiling HashTreeCollections TreeDictionary+Collection.swift
[91/366] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[92/366] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[93/366] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[94/366] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[95/367] Compiling HashTreeCollections _HashNode+Builder.swift
[96/367] Compiling HashTreeCollections _HashNode+Debugging.swift
[97/367] Compiling HashTreeCollections _HashNode+Initializers.swift
[98/367] Compiling HashTreeCollections _HashNode+Invariants.swift
[99/367] Compiling HashTreeCollections _HashNode+Lookups.swift
[101/367] Compiling HashTreeCollections _HashNode+Structural filter.swift
[102/367] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[105/367] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[106/367] Compiling ContainersPreview Box.swift
[107/367] Compiling ContainersPreview Inout.swift
[108/367] Compiling ContainersPreview InputSpan.swift
[109/367] Compiling ContainersPreview Shared.swift
[110/367] Emitting module ContainersPreview
[111/367] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[112/367] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[113/367] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[114/367] Compiling HashTreeCollections _HashNode+Storage.swift
[115/367] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[116/367] Compiling HeapModule Heap.swift
[117/367] Compiling HeapModule _HeapNode.swift
[119/422] Compiling BitCollections BitArray+CustomReflectable.swift
[120/422] Compiling BitCollections BitArray+Descriptions.swift
[121/422] Compiling BitCollections BitArray+LosslessStringConvertible.swift
[122/422] Compiling BitCollections BitArray+RandomBits.swift
[123/422] Compiling BitCollections BitSet+CustomReflectable.swift
[124/422] Compiling BitCollections BitSet+CustomStringConvertible.swift
[125/422] Compiling BitCollections BitSet+Equatable.swift
[126/422] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[127/422] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[128/422] Compiling BitCollections BitArray+Shifts.swift
[129/422] Compiling BitCollections BitArray+Testing.swift
[130/422] Compiling BitCollections BitArray._UnsafeHandle.swift
[131/422] Compiling BitCollections BitArray.swift
[132/422] Compiling BitCollections BitSet+BidirectionalCollection.swift
[133/422] Compiling BitCollections BitSet+Codable.swift
[134/422] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[135/422] Compiling Logging MetadataProvider.swift
[136/422] Compiling Logging Locks.swift
[137/422] Emitting module Logging
[138/422] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[139/422] Compiling HeapModule Heap+Descriptions.swift
[140/422] Compiling HeapModule Heap+Invariants.swift
[141/422] Compiling HeapModule Heap+UnsafeHandle.swift
[142/422] Emitting module HeapModule
[143/423] Compiling HashTreeCollections TreeSet+Hashable.swift
[144/423] Compiling HashTreeCollections TreeSet+Sendable.swift
[145/423] Compiling HashTreeCollections TreeSet+Sequence.swift
[146/423] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[147/423] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[148/423] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[149/423] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[150/423] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[151/423] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[152/423] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[153/473] Wrapping AST for InternalCollectionsUtilities for debugging
[154/473] Wrapping AST for HeapModule for debugging
[155/473] Wrapping AST for ContainersPreview for debugging
[157/473] Compiling DequeModule UniqueDeque+Equatable.swift
[158/473] Compiling DequeModule UniqueDeque+Experimental.swift
[159/473] Compiling DequeModule UniqueDeque+Hashable.swift
[160/473] Compiling DequeModule UniqueDeque+Initializers.swift
[161/473] Compiling DequeModule UniqueDeque+Insertions.swift
[162/473] Compiling DequeModule UniqueDeque+Prepend.swift
[163/473] Compiling DequeModule UniqueDeque+Removals.swift
[164/473] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[165/473] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[166/473] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[167/473] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[168/473] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[169/473] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[170/473] Compiling HashTreeCollections TreeSet+Filter.swift
[170/480] Wrapping AST for Atomics for debugging
[172/480] Compiling DequeModule RigidDeque+Removals.swift
[173/480] Compiling DequeModule RigidDeque+Replacements.swift
[174/480] Compiling DequeModule RigidDeque+Testing.swift
[175/480] Compiling DequeModule RigidDeque.swift
[176/480] Compiling DequeModule UniqueDeque+Append.swift
[177/480] Compiling DequeModule UniqueDeque+Consumption.swift
[178/480] Compiling DequeModule UniqueDeque+Container.swift
[179/480] Compiling DequeModule UniqueDeque+Descriptions.swift
[190/492] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[191/492] Compiling BitCollections BitSet.Counted.swift
[192/492] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[199/492] Compiling BitCollections BitSet.Index.swift
[208/492] Compiling DequeModule UniqueDeque+Replacements.swift
[209/492] Compiling DequeModule UniqueDeque.swift
[210/492] Compiling DequeModule _DequeSlot.swift
[211/492] Compiling DequeModule _UnsafeDequeHandle.swift
[212/492] Compiling DequeModule _UnsafeDequeSegments.swift
[227/492] Compiling DequeModule RigidDeque+Container.swift
[228/492] Compiling DequeModule RigidDeque+Descriptions.swift
[229/492] Compiling DequeModule RigidDeque+Equatable.swift
[230/492] Compiling DequeModule RigidDeque+Experimental.swift
[231/492] Compiling DequeModule RigidDeque+Hashable.swift
[232/492] Compiling DequeModule RigidDeque+Initializers.swift
[233/492] Compiling DequeModule RigidDeque+Insertions.swift
[234/492] Compiling DequeModule RigidDeque+Prepend.swift
[235/492] Compiling DequeModule Deque+Testing.swift
[236/492] Compiling DequeModule Deque._Storage.swift
[237/492] Compiling DequeModule Deque._UnsafeHandle.swift
[238/492] Compiling DequeModule Deque.swift
[239/492] Compiling DequeModule _DequeBuffer.swift
[240/492] Compiling DequeModule _DequeBufferHeader.swift
[241/492] Compiling DequeModule RigidDeque+Append.swift
[242/492] Compiling DequeModule RigidDeque+Consumption.swift
[260/492] Compiling Logging Logging.swift
[261/492] Compiling Logging LogHandler.swift
[262/493] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[263/493] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[264/493] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[265/493] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[266/493] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[267/493] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[268/493] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[269/493] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[270/493] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[271/493] Compiling HashTreeCollections TreeSet.swift
[284/494] Wrapping AST for Logging for debugging
[310/505] Compiling DequeModule Deque+Codable.swift
[311/505] Compiling DequeModule Deque+Collection.swift
[312/505] Compiling DequeModule Deque+CustomReflectable.swift
[313/505] Compiling DequeModule Deque+Descriptions.swift
[314/505] Compiling DequeModule Deque+Equatable.swift
[315/505] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[316/505] Emitting module BitCollections
[331/505] Compiling DequeModule Deque+Extras.swift
[332/505] Compiling DequeModule Deque+Hashable.swift
[359/505] Compiling BitCollections BitSet._UnsafeHandle.swift
[360/505] Compiling BitCollections BitSet.swift
[361/505] Compiling BitCollections Range+Utilities.swift
[362/505] Compiling BitCollections Slice+Utilities.swift
[363/505] Compiling BitCollections UInt+Tricks.swift
[364/505] Compiling BitCollections _Word.swift
[365/505] Compiling OrderedCollections _UnsafeBitset.swift
[366/505] Compiling HashTreeCollections _HashNode.swift
[367/505] Compiling HashTreeCollections _HashNodeHeader.swift
[368/505] Compiling HashTreeCollections _HashSlot.swift
[369/505] Compiling HashTreeCollections _HashStack.swift
[399/506] Wrapping AST for BitCollections for debugging
[421/506] Emitting module OrderedCollections
[422/507] Wrapping AST for OrderedCollections for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[424/507] 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
[425/507] 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