Build Information
Failed to build FlutterSwift, reference main (a68c69), with Swift 6.3 for Wasm on 22 Apr 2026 11:01:14 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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build 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.3
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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/xtremekforever/swift-systemd
[1/427] Fetching swift-systemd
Fetched https://github.com/xtremekforever/swift-systemd from cache (0.42s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/lhoward/AsyncExtensions
[1/1820] Fetching swift-atomics
[147/4565] Fetching swift-atomics, swift-service-lifecycle
[713/10166] Fetching swift-atomics, swift-service-lifecycle, swift-system
[2605/16413] Fetching swift-atomics, swift-service-lifecycle, swift-system, swift-async-algorithms
[3543/23049] Fetching swift-atomics, swift-service-lifecycle, swift-system, swift-async-algorithms, swift-log
[3544/23939] Fetching swift-atomics, swift-service-lifecycle, swift-system, swift-async-algorithms, swift-log, asyncextensions
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.82s)
[18306/23049] Fetching swift-atomics, swift-service-lifecycle, swift-system, swift-async-algorithms, swift-log
Fetched https://github.com/apple/swift-atomics from cache (2.57s)
Fetched https://github.com/apple/swift-system from cache (2.58s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (2.58s)
Fetched https://github.com/apple/swift-async-algorithms from cache (2.58s)
Fetched https://github.com/apple/swift-log from cache (2.59s)
Computing version for https://github.com/lhoward/AsyncExtensions
Computed https://github.com/lhoward/AsyncExtensions at 0.9.5 (3.65s)
Fetching https://github.com/apple/swift-collections.git
[1/23620] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.12s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (2.89s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.80s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.3 (0.92s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (0.81s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.01s)
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.73s)
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-log
Working copy of https://github.com/apple/swift-log resolved at 1.12.0
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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
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-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 _AtomicsShims.c
[18/39] Compiling CSystem shims.c
[19/39] Write swift-version-24593BA9C3E375BF.txt
[21/112] Emitting module Logging
[22/112] Emitting module SystemPackage
[23/116] Emitting module InternalCollectionsUtilities
[24/118] Emitting module Atomics
[25/120] Compiling Atomics IntegerOperations.swift
[26/120] Compiling Atomics Unmanaged extensions.swift
[28/120] Compiling SystemPackage FilePermissions.swift
[29/120] Compiling SystemPackage IOCompletion.swift
[30/120] Compiling SystemPackage IORequest.swift
[31/120] Compiling InternalCollectionsUtilities String+Padding.swift
[32/120] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[33/120] Compiling InternalCollectionsUtilities Span+Extras.swift
[34/120] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[35/120] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[36/120] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[37/120] Compiling InternalCollectionsUtilities Integer rank.swift
[38/120] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[39/120] Compiling InternalCollectionsUtilities UInt+reversed.swift
[43/120] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[44/120] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[45/120] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[46/120] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[48/120] Compiling InternalCollectionsUtilities Debugging.swift
[49/120] Compiling InternalCollectionsUtilities Descriptions.swift
[50/120] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[52/120] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[68/121] Compiling SystemPackage SystemString.swift
[69/121] Compiling SystemPackage Util+StringArray.swift
[70/121] Compiling SystemPackage Util.swift
[71/121] Compiling SystemPackage UtilConsumers.swift
[77/121] Compiling Logging LogEvent.swift
[78/121] Compiling Logging LogHandler.swift
[89/122] Compiling Logging MetadataProvider.swift
[90/129] Compiling Logging Locks.swift
[91/401] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[92/401] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[93/401] Compiling ContainersPreview BorrowingSequence.swift
[94/401] Compiling ContainersPreview BidirectionalContainer.swift
[95/401] Compiling ContainersPreview RangeReplaceableContainer.swift
[96/401] Compiling ContainersPreview Drain+Map.swift
[97/401] Compiling ContainersPreview Drain+Reduce.swift
[98/401] Compiling ContainersPreview Drain.swift
[99/401] Compiling ContainersPreview Producer+Collect.swift
[100/401] Compiling ContainersPreview Producer+Filter.swift
[101/401] Compiling ContainersPreview Producer+Map.swift
[102/401] Compiling ContainersPreview Producer+Reduce.swift
[103/418] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[109/422] Compiling ContainersPreview RandomAccessContainer.swift
[110/422] Compiling ContainersPreview RangeExpression2.swift
[115/422] Compiling ContainersPreview Producer.swift
[116/422] Compiling ContainersPreview Borrow.swift
[120/424] Compiling ContainersPreview Container+Filter.swift
[121/424] Compiling ContainersPreview Container+SpanwiseZip.swift
[122/424] Compiling HeapModule Heap+Descriptions.swift
[123/424] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[124/424] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[125/424] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[126/424] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[128/424] Compiling ContainersPreview Container.swift
[129/424] Compiling ContainersPreview ContainerIterator.swift
[130/424] Compiling ContainersPreview DynamicContainer.swift
[131/424] Compiling ContainersPreview MutableContainer.swift
[132/424] Compiling ContainersPreview PermutableContainer.swift
[133/424] Compiling ContainersPreview Box.swift
[134/424] Compiling ContainersPreview Inout.swift
[135/424] Compiling ContainersPreview InputSpan.swift
[136/424] Compiling ContainersPreview Shared.swift
[137/424] Compiling HeapModule _HeapNode.swift
[138/424] Emitting module ContainersPreview
[139/424] Compiling HeapModule Heap.swift
[140/424] Compiling ContainersPreview OutputSpan+Extras.swift
[141/424] Compiling ContainersPreview TemporaryAllocation.swift
[142/424] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[143/424] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[144/424] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[146/425] Compiling HeapModule Heap+Invariants.swift
[147/425] Compiling HeapModule Heap+UnsafeHandle.swift
[148/425] Emitting module HeapModule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[149/426] 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
[150/427] Wrapping AST for InternalCollectionsUtilities for debugging
[151/466] Wrapping AST for HeapModule for debugging
[153/466] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[154/466] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[155/466] Compiling HashTreeCollections TreeDictionary+Values.swift
[156/466] Compiling HashTreeCollections TreeDictionary.swift
[157/466] Compiling _RopeModule BigSubstring+UTF8View.swift
[158/466] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[159/466] Compiling _RopeModule BigSubstring.swift
[159/466] Wrapping AST for ContainersPreview for debugging
[161/473] Compiling _RopeModule Rope+Builder.swift
[162/473] Compiling _RopeModule Rope+Debugging.swift
[163/473] Compiling _RopeModule Rope+Invariants.swift
[164/473] Compiling _RopeModule _RopeVersion.swift
[165/473] Compiling _RopeModule Rope+Collection.swift
[166/473] Compiling HashTreeCollections TreeSet+Filter.swift
[167/473] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[168/473] Compiling Logging Logging.swift
[168/474] Wrapping AST for Atomics for debugging
[171/474] Emitting module BitCollections
[171/481] Wrapping AST for Logging for debugging
[173/481] Compiling DequeModule RigidDeque+Append.swift
[174/481] Compiling DequeModule RigidDeque+Consumption.swift
[175/481] Compiling DequeModule RigidDeque+Container.swift
[176/481] Compiling DequeModule RigidDeque+Descriptions.swift
[177/481] Compiling DequeModule RigidDeque+Equatable.swift
[178/481] Compiling DequeModule RigidDeque+Experimental.swift
[179/481] Compiling DequeModule RigidDeque+Hashable.swift
[180/481] Compiling DequeModule RigidDeque+Initializers.swift
[181/481] Compiling DequeModule Deque._UnsafeHandle.swift
[182/481] Compiling DequeModule Deque.swift
[183/481] Compiling DequeModule RigidDeque+Removals.swift
[184/481] Compiling DequeModule RigidDeque+Replacements.swift
[185/481] Compiling DequeModule RigidDeque+Testing.swift
[186/481] Compiling DequeModule RigidDeque.swift
[187/481] Compiling DequeModule UniqueDeque+Append.swift
[195/481] Compiling HashTreeCollections TreeDictionary+Merge.swift
[206/491] Compiling DequeModule UniqueDeque+Removals.swift
[207/491] Compiling DequeModule UniqueDeque+Consumption.swift
[208/491] Compiling DequeModule UniqueDeque+Container.swift
[209/491] Compiling DequeModule UniqueDeque+Descriptions.swift
[210/491] Compiling DequeModule UniqueDeque+Equatable.swift
[211/491] Compiling DequeModule UniqueDeque+Experimental.swift
[212/491] Compiling DequeModule Deque+Extras.swift
[213/491] Compiling DequeModule Deque+Hashable.swift
[214/491] Compiling DequeModule Deque+Testing.swift
[215/491] Compiling DequeModule Deque._Storage.swift
[216/491] Compiling DequeModule RigidDeque+Insertions.swift
[217/491] Compiling DequeModule RigidDeque+Prepend.swift
[218/491] Compiling DequeModule UniqueDeque+Hashable.swift
[219/491] Compiling DequeModule UniqueDeque+Initializers.swift
[220/491] Compiling DequeModule UniqueDeque+Insertions.swift
[221/491] Compiling DequeModule UniqueDeque+Prepend.swift
[240/491] Compiling DequeModule _DequeBuffer.swift
[241/491] Compiling DequeModule _DequeBufferHeader.swift
[252/496] Compiling DequeModule UniqueDeque+Replacements.swift
[253/496] Compiling DequeModule UniqueDeque.swift
[254/496] Compiling DequeModule _DequeSlot.swift
[255/496] Compiling DequeModule _UnsafeDequeHandle.swift
[256/496] Compiling DequeModule _UnsafeDequeSegments.swift
[281/496] 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.3 wasm