The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build FlutterSwift, reference main (78c934), with Swift 6.1 for Linux on 16 Jun 2025 04:29:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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 78c934d use unsafe continuations
Submodule path 'Sources/CxxFlutterSwift/flutter-embedded-linux': checked out '1653fa656bf9fe9fa5f84789a59b0c07671a8fc8'
Submodule 'Sources/CxxFlutterSwift/flutter-embedded-linux' (https://github.com/sony/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 @):
78c934d8742b98fc81bfcb67ccd13862f2d4abd0
SUCCESS checkout https://github.com/PADL/FlutterSwift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/PADL/FlutterSwift.git
https://github.com/PADL/FlutterSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: The operation could not be completed. (NSCocoaErrorDomain error 256.)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:930f780586bc21db1787241f3d35e477ed11b1101cff6fb987f4f674f121f048
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/xtremekforever/swift-systemd
[1/377] Fetching swift-systemd
Fetched https://github.com/xtremekforever/swift-systemd from cache (0.44s)
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-log
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/lhoward/AsyncExtensions
Fetching https://github.com/apple/swift-async-algorithms
[1/2426] Fetching swift-service-lifecycle
[2355/6262] Fetching swift-service-lifecycle, swift-log
[2658/8059] Fetching swift-service-lifecycle, swift-log, swift-atomics
[2676/8741] Fetching swift-service-lifecycle, swift-log, swift-atomics, asyncextensions
[5161/13726] Fetching swift-service-lifecycle, swift-log, swift-atomics, asyncextensions, swift-async-algorithms
Fetched https://github.com/apple/swift-log from cache (0.81s)
Fetched https://github.com/apple/swift-async-algorithms from cache (0.78s)
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.86s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.87s)
Fetched https://github.com/apple/swift-atomics from cache (0.88s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (1.74s)
Computing version for https://github.com/lhoward/AsyncExtensions
Computed https://github.com/lhoward/AsyncExtensions at 0.9.2 (0.84s)
Fetching https://github.com/apple/swift-collections.git
[1/16606] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.70s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (2.62s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.4 (1.06s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.20s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (0.83s)
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.8.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-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/xtremekforever/swift-systemd
Working copy of https://github.com/xtremekforever/swift-systemd resolved at main (49ef3d0)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
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-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.0.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/75] Write sources
[15/75] Compiling _AtomicsShims.c
[16/75] Write swift-version-24593BA9C3E375BF.txt
[18/112] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[19/113] Emitting module InternalCollectionsUtilities
[20/113] Emitting module Atomics
[21/115] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[22/115] Compiling InternalCollectionsUtilities Debugging.swift
[23/115] Compiling InternalCollectionsUtilities Descriptions.swift
[24/115] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[25/115] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[26/115] Compiling InternalCollectionsUtilities UInt+reversed.swift
[27/115] Compiling Atomics AtomicInteger.swift
[28/115] Compiling Atomics AtomicOptionalWrappable.swift
[29/115] Compiling Atomics UnsafeAtomic.swift
[30/115] Compiling Atomics UnsafeAtomicLazyReference.swift
[33/115] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[34/115] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[35/115] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[36/115] Compiling InternalCollectionsUtilities _SortedCollection.swift
[44/115] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[45/116] Compiling Atomics OptionalRawRepresentable.swift
[46/116] Compiling Atomics RawRepresentable.swift
[47/116] Compiling Atomics AtomicBool.swift
[52/116] Compiling Atomics IntegerOperations.swift
[53/116] Compiling Atomics Unmanaged extensions.swift
[54/198] Wrapping AST for InternalCollectionsUtilities for debugging
[55/391] Wrapping AST for Atomics for debugging
[57/391] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[58/391] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[59/393] Compiling HeapModule Heap.swift
[60/393] Compiling HashTreeCollections _Bitmap.swift
[61/393] Compiling HashTreeCollections _Bucket.swift
[62/393] Compiling HeapModule _HeapNode.swift
[63/393] Compiling HashTreeCollections _HashNode+Structural filter.swift
[64/393] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[65/393] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[66/393] Compiling HeapModule Heap+Invariants.swift
[67/393] Compiling HeapModule Heap+Descriptions.swift
[68/393] Compiling HeapModule Heap+UnsafeHandle.swift
[69/393] Compiling Logging MetadataProvider.swift
[70/393] Emitting module Logging
[71/393] Compiling Logging Logging.swift
[72/393] Compiling Logging LogHandler.swift
[73/393] Compiling Logging Locks.swift
[74/393] Emitting module HeapModule
[75/395] Compiling HashTreeCollections _HashNode+Structural union.swift
[76/395] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[77/395] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[78/395] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[79/395] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[80/395] Compiling HashTreeCollections _HashNode.swift
[81/395] Compiling HashTreeCollections _HashNodeHeader.swift
[84/402] Compiling DequeModule _DequeSlot.swift
[85/402] Compiling DequeModule _UnsafeWrappedBuffer.swift
[85/402] Wrapping AST for Logging for debugging
[86/402] Wrapping AST for HeapModule for debugging
[88/402] Compiling HashTreeCollections TreeSet+Hashable.swift
[89/402] Compiling HashTreeCollections TreeSet+Sendable.swift
[90/402] Compiling HashTreeCollections TreeSet+Sequence.swift
[91/402] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[92/402] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[93/402] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[94/402] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[95/402] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[96/402] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[97/402] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[98/402] Compiling HashTreeCollections TreeDictionary+Collection.swift
[99/402] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[100/402] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[101/402] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[102/402] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[103/402] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[104/402] Compiling HashTreeCollections TreeDictionary+Filter.swift
[105/402] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[106/402] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[107/402] Compiling HashTreeCollections TreeDictionary+Keys.swift
[108/402] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[109/402] Compiling HashTreeCollections TreeDictionary+Merge.swift
[110/402] Compiling BitCollections BitSet.Index.swift
[111/402] Compiling BitCollections BitSet._UnsafeHandle.swift
[112/426] Emitting module BitCollections
[113/426] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[114/426] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[115/426] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[116/426] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[117/426] Compiling HashTreeCollections _HashNode+Structural merge.swift
[118/426] Compiling HashTreeCollections _AncestorHashSlots.swift
[119/426] Compiling HashTreeCollections _HashSlot.swift
[120/426] Compiling HashTreeCollections _HashStack.swift
[121/426] Compiling HashTreeCollections _HashTreeIterator.swift
[122/426] Compiling HashTreeCollections _HashTreeStatistics.swift
[123/426] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[124/426] Compiling HashTreeCollections _RawHashNode.swift
[125/426] Compiling HashTreeCollections _UnmanagedHashNode.swift
[126/426] Compiling OrderedCollections OrderedSet+SubSequence.swift
[127/426] Compiling OrderedCollections OrderedSet+Testing.swift
[128/426] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[129/426] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[130/426] Compiling OrderedCollections OrderedSet.swift
[131/426] Compiling OrderedCollections _UnsafeBitset.swift
[132/426] Compiling HashTreeCollections TreeSet+Equatable.swift
[133/426] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[134/426] Compiling HashTreeCollections TreeSet+Extras.swift
[135/426] Compiling HashTreeCollections TreeSet+Filter.swift
[142/426] Compiling HashTreeCollections _UnsafePath.swift
[143/426] Compiling HashTreeCollections TreeDictionary+Codable.swift
[152/426] Compiling HashTreeCollections _HashNode+Builder.swift
[153/426] Compiling HashTreeCollections _HashNode+Debugging.swift
[154/426] Compiling HashTreeCollections _HashNode+Initializers.swift
[155/426] Compiling HashTreeCollections _HashNode+Invariants.swift
[156/426] Compiling HashTreeCollections _HashNode+Lookups.swift
[157/426] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[158/426] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[159/426] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[168/426] Compiling HashTreeCollections _HashNode+Storage.swift
[169/426] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[180/426] Compiling OrderedCollections OrderedSet+Sendable.swift
[195/426] Emitting module DequeModule
[206/436] Compiling _RopeModule _CharacterRecognizer.swift
[207/436] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[208/436] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[209/436] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[210/436] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[211/436] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[212/436] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[213/436] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[214/436] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[215/436] Compiling HashTreeCollections TreeSet.swift
[222/436] Wrapping AST for DequeModule for debugging
[286/437] Wrapping AST for BitCollections for debugging
[295/437] Emitting module OrderedCollections
[297/438] Compiling Systemd String+trimmingCharacters.swift
[298/438] Emitting module Systemd
[299/438] Compiling Systemd LoggerLevel+syslogPriority.swift
[299/438] Wrapping AST for OrderedCollections for debugging
[301/438] Compiling Systemd Utility.swift
[302/438] Compiling Systemd SystemdNotifier.swift
[303/446] Compiling Systemd SystemdJournal.swift
[304/483] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[305/483] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[306/483] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[307/483] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[308/483] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[309/483] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[310/483] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[311/483] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[312/483] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[313/483] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[314/483] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[315/483] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[316/483] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[317/483] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[318/483] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[319/483] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[320/483] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[321/483] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[322/483] Compiling AsyncAlgorithms AsyncChannel.swift
[323/483] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[324/483] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[325/483] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[326/483] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[327/483] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[328/483] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[329/483] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[330/483] Compiling AsyncAlgorithms ChannelStateMachine.swift
[331/483] Compiling AsyncAlgorithms ChannelStorage.swift
[332/483] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[333/483] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[334/483] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[335/483] Compiling AsyncAlgorithms CombineLatestStorage.swift
[336/483] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[337/483] Compiling Systemd SystemdHelpers.swift
[338/484] Wrapping AST for Systemd for debugging
[340/484] Compiling _RopeModule Rope+Join.swift
[341/484] Compiling _RopeModule Rope+MutatingForEach.swift
[342/484] Compiling _RopeModule Rope+Remove.swift
[343/484] Compiling _RopeModule Rope+RemoveSubrange.swift
[344/484] Compiling _RopeModule Rope+Split.swift
[345/484] Compiling _RopeModule Optional Utilities.swift
[346/484] Compiling _RopeModule String Utilities.swift
[347/484] Compiling _RopeModule String.Index+ABI.swift
[349/484] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[350/484] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[351/484] Compiling AsyncAlgorithms MergeStateMachine.swift
[352/484] Compiling AsyncAlgorithms MergeStorage.swift
[353/484] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[354/484] Compiling AsyncAlgorithms Rethrow.swift
[379/484] Emitting module _RopeModule
[389/484] Emitting module AsyncAlgorithms
[390/491] Emitting module HashTreeCollections
In file included from /host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/window/native_window_drm.cc:5:
/host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/window/native_window_drm.h:8:10: fatal error: 'xf86drmMode.h' file not found
    8 | #include <xf86drmMode.h>
      |          ^~~~~~~~~~~~~~~
1 error generated.
[398/492] Compiling native_window_drm.cc
[398/492] Compiling vsync_waiter.cc
[398/492] Wrapping AST for HashTreeCollections for debugging
[398/492] Compiling task_runner.cc
[398/492] Compiling surface_gl.cc
In file included from /host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/window/native_window_drm_gbm.cc:5:
/host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/window/native_window_drm_gbm.h:8:10: fatal error: 'gbm.h' file not found
    8 | #include <gbm.h>
      |          ^~~~~~~
[398/492] Compiling native_window_drm_gbm.cc
[398/492] Compiling system_utils.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:930f780586bc21db1787241f3d35e477ed11b1101cff6fb987f4f674f121f048
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
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
[0/1] Planning build
Building for debugging...
[0/59] Write swift-version-24593BA9C3E375BF.txt
[2/89] Compiling Atomics AtomicStorage.swift
[3/89] Compiling Atomics AtomicValue.swift
[4/98] Compiling Atomics ManagedAtomic.swift
[5/98] Compiling Atomics ManagedAtomicLazyReference.swift
[6/98] Compiling Logging MetadataProvider.swift
[7/98] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[8/99] Compiling InternalCollectionsUtilities Descriptions.swift
[9/99] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[10/99] Compiling Atomics UnsafeAtomic.swift
[11/99] Compiling Atomics UnsafeAtomicLazyReference.swift
[12/99] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[13/99] Compiling InternalCollectionsUtilities Debugging.swift
[14/99] Compiling InternalCollectionsUtilities _SortedCollection.swift
[15/99] Compiling Atomics DoubleWord.swift
[16/99] Emitting module Logging
[17/99] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[18/99] Compiling Atomics IntegerOperations.swift
[19/99] Compiling Atomics Unmanaged extensions.swift
[20/99] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[21/99] Compiling InternalCollectionsUtilities Integer rank.swift
[22/99] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[29/99] Compiling InternalCollectionsUtilities UInt+reversed.swift
[30/99] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[31/99] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[32/99] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[34/99] Emitting module InternalCollectionsUtilities
[36/100] Compiling Logging LogHandler.swift
[37/100] Compiling Logging Locks.swift
[38/100] Compiling Logging Logging.swift
[40/277] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[41/307] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[42/307] Compiling HashTreeCollections TreeDictionary+Keys.swift
[43/307] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[44/307] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[44/331] Wrapping AST for InternalCollectionsUtilities for debugging
[46/361] Compiling HeapModule Heap+Descriptions.swift
[47/376] Compiling _RopeModule BigString+Iterators.swift
[48/376] Compiling _RopeModule BigString+Metrics.swift
[49/377] Compiling _RopeModule BigString+Chunk+Counts.swift
[50/377] Compiling _RopeModule BigString+Chunk+Description.swift
[51/377] Compiling HeapModule _HeapNode.swift
[52/377] Compiling HeapModule Heap.swift
[53/384] Compiling HeapModule Heap+UnsafeHandle.swift
[54/384] Compiling HeapModule Heap+Invariants.swift
[55/384] Compiling _RopeModule BigString+UTF16View.swift
[56/384] Compiling _RopeModule BigString+UTF8View.swift
[57/384] Compiling _RopeModule _RopeVersion.swift
[58/384] Compiling _RopeModule Rope+Collection.swift
[59/384] Compiling _RopeModule Rope+Index.swift
[60/384] Compiling _RopeModule Rope+Sequence.swift
[61/384] Compiling _RopeModule Rope+Append.swift
[62/391] Compiling _RopeModule _RopeItem.swift
[63/391] Compiling _RopeModule _RopePath.swift
[64/391] Compiling HashTreeCollections TreeSet+Sequence.swift
[65/391] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[66/391] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[67/391] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[68/391] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[69/391] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[70/391] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[71/391] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[72/401] Emitting module HeapModule
[73/402] Compiling _RopeModule BigSubstring+UTF8View.swift
[74/402] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[75/402] Compiling _RopeModule BigSubstring.swift
[76/402] Compiling _RopeModule Rope+Builder.swift
[77/402] Compiling _RopeModule Rope+Debugging.swift
[78/402] Compiling _RopeModule Rope+Invariants.swift
[79/402] Compiling _RopeModule Rope+_Node.swift
[80/402] Compiling _RopeModule BigString+Summary.swift
[81/402] Compiling _RopeModule BigString.swift
[82/402] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[83/402] Compiling _RopeModule BigString+Chunk+Breaks.swift
[86/402] Compiling _RopeModule BigString+Chunk+Indexing by Characters.swift
[87/402] Compiling _RopeModule BigString+Chunk+Indexing by UTF16.swift
[90/402] Emitting module Systemd
[91/402] Compiling Systemd LoggerLevel+syslogPriority.swift
[93/402] Compiling _RopeModule BigString+Builder.swift
[94/402] Compiling _RopeModule BigString+Contents.swift
[95/402] Compiling _RopeModule BigString+Debugging.swift
[96/402] Compiling _RopeModule BigString+Index.swift
[97/402] Compiling _RopeModule BigString+Ingester.swift
[98/402] Compiling _RopeModule BigString+Invariants.swift
[101/402] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[102/402] Compiling _RopeModule BigString+Chunk+Splitting.swift
[103/402] Compiling _RopeModule BigString+Chunk.swift
[104/402] Compiling _RopeModule BigString+BidirectionalCollection.swift
[105/402] Compiling _RopeModule BigString+Comparable.swift
[106/402] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[107/402] Compiling _RopeModule BigString+CustomStringConvertible.swift
[108/402] Compiling _RopeModule BigString+Equatable.swift
[109/402] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[110/402] Compiling _RopeModule BigString+Hashing.swift
[111/402] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[112/402] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[113/402] Compiling _RopeModule BigString+Sequence.swift
[114/402] Compiling _RopeModule BigString+TextOutputStream.swift
[115/402] Compiling _RopeModule BigString+UnicodeScalarView.swift
[116/402] Compiling _RopeModule BigString+Append.swift
[117/402] Compiling _RopeModule BigString+Initializers.swift
[118/402] Compiling _RopeModule BigString+Insert.swift
[119/402] Compiling _RopeModule BigString+Managing Breaks.swift
[120/402] Compiling _RopeModule BigString+RemoveSubrange.swift
[121/402] Compiling _RopeModule BigString+ReplaceSubrange.swift
[122/402] Compiling _RopeModule BigString+Split.swift
[123/402] Compiling _RopeModule Range+BigString.swift
[124/409] Compiling Systemd SystemdNotifier.swift
[125/409] Compiling Systemd Utility.swift
[126/409] Emitting module Atomics
[130/409] Compiling Systemd String+trimmingCharacters.swift
[131/409] Compiling BitCollections Range+Utilities.swift
[132/409] Compiling BitCollections Slice+Utilities.swift
[133/409] Compiling BitCollections UInt+Tricks.swift
[134/409] Compiling BitCollections _Word.swift
[135/409] Compiling OrderedCollections OrderedSet.swift
[136/409] Compiling OrderedCollections _UnsafeBitset.swift
[137/409] Compiling _RopeModule Rope.swift
[138/409] Compiling _RopeModule RopeElement.swift
[139/409] Compiling _RopeModule RopeMetric.swift
[140/409] Compiling _RopeModule RopeSummary.swift
[141/410] Compiling Systemd SystemdJournal.swift
[142/410] Compiling Systemd SystemdHelpers.swift
[157/411] Wrapping AST for Logging for debugging
[159/411] Emitting module BitCollections
[160/411] Compiling _RopeModule BigSubstring+UTF16View.swift
[182/411] Wrapping AST for HeapModule for debugging
[184/410] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[185/410] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[186/410] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[187/410] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[188/410] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[189/410] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[190/410] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[191/410] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[192/410] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[193/410] Compiling HashTreeCollections TreeSet.swift
[196/410] Emitting module DequeModule
[197/411] Wrapping AST for Atomics for debugging
[217/420] Compiling BitCollections BitSet.swift
[224/420] Compiling BitCollections BitSet.Index.swift
[225/420] Compiling BitCollections BitSet._UnsafeHandle.swift
In file included from /host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/window/native_window_drm.cc:5:
/host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/window/native_window_drm.h:8:10: fatal error: 'xf86drmMode.h' file not found
    8 | #include <xf86drmMode.h>
      |          ^~~~~~~~~~~~~~~
1 error generated.
[230/420] Compiling native_window_drm.cc
[230/420] Compiling vsync_waiter.cc
[230/420] Compiling task_runner.cc
In file included from /host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/window/native_window_drm_gbm.cc:5:
/host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux/src/flutter/shell/platform/linux_embedded/window/native_window_drm_gbm.h:8:10: fatal error: 'gbm.h' file not found
    8 | #include <gbm.h>
      |          ^~~~~~~
[246/420] Compiling native_window_drm_gbm.cc
BUILD FAILURE 6.1 linux