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 LVGL, reference main (b2e174), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 13:13:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/LVGLSwift.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/LVGLSwift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b2e174a update language version to 5.9, indent to 2 spaces
Submodule path 'Sources/CLVGL/lv_drivers': checked out '1413f5ebb6d21bc8ebb45448826dd7b4bbd3b7a3'
Submodule path 'Sources/CLVGL/lvgl': checked out '3de61c76af0aed1665e9d61e47b4dd50b9e8bdf1'
Submodule 'Sources/LVGLSwift/lv_drivers' (https://github.com/lvgl/lv_drivers.git) registered for path 'Sources/CLVGL/lv_drivers'
Submodule 'Sources/LVGLSwift/lvgl' (https://github.com/lvgl/lvgl.git) registered for path 'Sources/CLVGL/lvgl'
Cloning into '/host/spi-builder-workspace/Sources/CLVGL/lv_drivers'...
Cloning into '/host/spi-builder-workspace/Sources/CLVGL/lvgl'...
Cloned https://github.com/PADL/LVGLSwift.git
Revision (git rev-parse @):
b2e174abb315a9da90a1cfadf6e4a3b0fc4863ac
SUCCESS checkout https://github.com/PADL/LVGLSwift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/PADL/LVGLSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:22:6: warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch') [#DeprecatedDeclaration]
20 |   ],
21 |   dependencies: [
22 |     .package(url: "https://github.com/lhoward/AsyncExtensions", .branch("linux")),
   |      `- warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch') [#DeprecatedDeclaration]
23 |   ],
24 |   targets: [
/host/spi-builder-workspace/Package.swift:22:66: warning: 'branch' is deprecated [#DeprecatedDeclaration]
20 |   ],
21 |   dependencies: [
22 |     .package(url: "https://github.com/lhoward/AsyncExtensions", .branch("linux")),
   |                                                                  `- warning: 'branch' is deprecated [#DeprecatedDeclaration]
23 |   ],
24 |   targets: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/lhoward/AsyncExtensions
[1/682] Fetching asyncextensions
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.24s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1797] Fetching swift-atomics
[1798/18437] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.40s)
[832/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.30s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.20s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.07s)
Creating working copy for https://github.com/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at linux (c1a1af1)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git 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.2.0
Building for debugging...
[0/506] Compiling R61581.c
[1/506] Compiling GC9A01.c
[1/506] Write sources
[3/506] Compiling SHARP_MIP.c
[4/506] Write sources
[12/506] Compiling lv_rt_thread_port.c
[12/506] Compiling ILI9341.c
[14/506] Compiling SSD1963.c
[15/506] Compiling unity_support.c
[16/506] Compiling unity.c
[17/506] Compiling font_3.c
[18/506] Compiling _AtomicsShims.c
[19/506] Compiling font_2.c
[20/506] Compiling font_1.c
[21/506] Compiling test_txt.c
[22/506] Compiling test_textarea.c
[23/506] Compiling test_table.c
[24/506] Write swift-version-24593BA9C3E375BF.txt
[25/506] Compiling test_obj_tree.c
[25/506] Compiling img_lv_demo_music_list_border_large.c
[27/506] Compiling test_style.c
[28/506] Compiling test_slider.c
[29/506] Compiling test_switch.c
[30/506] Compiling test_snapshot.c
[31/506] Compiling test_mem.c
[32/506] Compiling CLVGL LVGLSwift.c
[33/506] Compiling test_fs.c
[34/506] Compiling test_line.c
[35/506] Compiling test_dropdown.c
[35/506] Compiling test_demo_widgets.c
[37/506] Compiling test_demo_stress.c
[37/506] Compiling test_config.c
[39/506] Compiling test_font_loader.c
[39/506] Compiling test_event.c
[41/506] Compiling test_checkbox.c
[42/520] Compiling _test_template.c
[43/520] Compiling test_arc.c
[44/520] Compiling lv_test_init.c
[45/520] Compiling test_bar.c
[46/520] Compiling test.c
[47/520] Compiling lv_test_indev.c
[48/520] Compiling lv_textarea.c
[49/520] Compiling lv_objx_templ.c
[50/520] Compiling lv_line.c
[51/520] Compiling lv_switch.c
[52/520] Compiling lv_roller.c
[53/520] Compiling lv_slider.c
[54/520] Compiling lv_table.c
[55/520] Compiling lv_checkbox.c
[56/520] Compiling lv_img.c
[57/520] Compiling lv_label.c
[58/520] Compiling lv_btn.c
[59/520] Compiling lv_utils.c
[60/520] Compiling lv_arc.c
[61/520] Compiling lv_txt.c
[62/520] Compiling lv_txt_ap.c
[63/520] Compiling lv_bar.c
[64/520] Compiling lv_templ.c
[65/520] Compiling lv_timer.c
[66/520] Compiling lv_tlsf.c
[67/520] Compiling lv_canvas.c
[68/520] Compiling lv_math.c
[69/520] Compiling lv_printf.c
[70/520] Compiling lv_dropdown.c
[71/520] Compiling lv_btnmatrix.c
[72/520] Compiling lv_style.c
[73/520] Compiling lv_log.c
[74/520] Compiling lv_style_gen.c
[75/520] Compiling lv_color.c
[76/520] Compiling lv_mem.c
[77/520] Compiling lv_ll.c
[78/520] Compiling lv_gc.c
[79/520] Compiling lv_lru.c
[80/520] Compiling lv_bidi.c
[81/520] Compiling lv_fs.c
[82/520] Compiling lv_anim_timeline.c
[83/520] Compiling lv_async.c
[84/520] Compiling lv_anim.c
[85/520] Compiling lv_hal_tick.c
[86/520] Compiling lv_area.c
In file included from /host/spi-builder-workspace/Sources/CLVGL/lvgl/src/hal/lv_hal_disp.c:20:
/host/spi-builder-workspace/Sources/CLVGL/lvgl/src/hal/../draw/sdl/lv_draw_sdl.h:21:10: fatal error: 'SDL2/SDL.h' file not found
   21 | #include LV_GPU_SDL_INCLUDE_PATH
      |          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CLVGL/lv_conf.h:222:37: note: expanded from macro 'LV_GPU_SDL_INCLUDE_PATH'
  222 |     #define LV_GPU_SDL_INCLUDE_PATH <SDL2/SDL.h>
      |                                     ^~~~~~~~~~~~
<scratch space>:160:1: note: expanded from here
  160 | <SDL2/SDL.h>
      | ^~~~~~~~~~~~
1 error generated.
[87/520] Compiling lv_hal_disp.c
[87/520] Compiling lv_font_simsun_16_cjk.c
[87/520] Compiling lv_font_montserrat_8.c
[87/520] Compiling lv_hal_indev.c
[87/520] Compiling lv_font_unscii_16.c
[87/520] Compiling lv_font_unscii_8.c
[87/520] Compiling lv_font_montserrat_48.c
BUILD FAILURE 6.2 wasm