The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build LVGL with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.38.1
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:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/PADL/LVGLSwift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
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')
    .package(url: "https://github.com/lhoward/AsyncExtensions", .branch("linux")),
     ^
/host/spi-builder-workspace/Package.swift:22:66: warning: 'branch' is deprecated
    .package(url: "https://github.com/lhoward/AsyncExtensions", .branch("linux")),
                                                                 ^
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')
    .package(url: "https://github.com/lhoward/AsyncExtensions", .branch("linux")),
     ^
/host/spi-builder-workspace/Package.swift:22:66: warning: 'branch' is deprecated
    .package(url: "https://github.com/lhoward/AsyncExtensions", .branch("linux")),
                                                                 ^
Fetching https://github.com/lhoward/AsyncExtensions
[1/487] Fetching asyncextensions
Fetched https://github.com/lhoward/AsyncExtensions (0.24s)
Fetching https://github.com/apple/swift-collections.git
[1/13837] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.02s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.53s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.0
Creating working copy for https://github.com/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at linux
Building for debugging...
[0/490] Compiling R61581.c
[1/490] Compiling sdl.c
[1/490] Compiling UC1610.c
[1/490] Compiling ST7565.c
[4/490] Compiling SHARP_MIP.c
[4/490] Compiling SSD1963.c
[6/490] Compiling font_1.c
[6/490] Compiling font_3.c
[8/490] Compiling font_2.c
[8/490] Compiling unity.c
[10/490] Compiling test_txt.c
[11/490] Compiling unity_support.c
[12/490] Compiling test_textarea.c
[13/490] Compiling test_switch.c
[13/490] Compiling test_table.c
[13/490] Compiling test_style.c
[16/490] Compiling test_slider.c
[16/490] Compiling test_snapshot.c
[18/490] Compiling lv_example_calendar_1.c
[19/490] Compiling test_obj_tree.c
[20/490] Compiling test_mem.c
[20/490] Compiling test_font_loader.c
[22/490] Compiling test_fs.c
[23/490] Compiling test_line.c
[24/490] Compiling test_event.c
[25/490] Compiling test_checkbox.c
[26/490] Compiling test_demo_stress.c
[27/490] Compiling test_demo_widgets.c
[28/490] Compiling test_dropdown.c
[29/490] Compiling test_bar.c
[29/490] Compiling test_config.c
[31/490] Compiling test_arc.c
[32/490] Compiling _test_template.c
[33/490] Compiling lv_test_init.c
[34/490] Compiling lv_test_indev.c
[35/490] Compiling test.c
[36/490] Compiling lv_objx_templ.c
[37/490] Compiling lv_switch.c
[38/501] Compiling lv_line.c
[39/505] Compiling lv_slider.c
[40/507] Compiling lv_table.c
[41/507] Compiling lv_roller.c
[42/507] Compiling lv_textarea.c
[43/507] Compiling lv_label.c
[44/507] Compiling lv_img.c
[45/507] Compiling lv_btn.c
[46/507] Compiling lv_dropdown.c
[47/507] Compiling lv_checkbox.c
[48/507] Compiling lv_btnmatrix.c
[49/507] Compiling lv_bar.c
[50/507] Compiling lv_canvas.c
[51/507] Compiling lv_utils.c
[52/507] Compiling lv_templ.c
[53/507] Compiling lv_txt_ap.c
[54/507] Compiling lv_timer.c
[55/507] Compiling lv_tlsf.c
[56/507] Compiling lv_arc.c
[57/507] Compiling lv_txt.c
[58/507] Compiling lv_style_gen.c
[59/507] Compiling lv_math.c
[60/507] Compiling lv_printf.c
[61/507] Compiling lv_lru.c
[62/507] Compiling lv_style.c
[63/507] Compiling lv_ll.c
[64/507] Compiling lv_log.c
[65/507] Compiling lv_mem.c
[66/507] Compiling lv_async.c
[67/507] Compiling lv_gc.c
[68/507] Compiling lv_color.c
[69/507] Compiling lv_anim_timeline.c
[70/507] Compiling lv_bidi.c
[71/507] Compiling lv_hal_tick.c
[72/507] Compiling lv_fs.c
[73/507] Compiling lv_area.c
[74/507] Compiling lv_anim.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
#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'
    #define LV_GPU_SDL_INCLUDE_PATH <SDL2/SDL.h>
                                    ^~~~~~~~~~~~
<scratch space>:168:1: note: expanded from here
<SDL2/SDL.h>
^~~~~~~~~~~~
1 error generated.
[75/507] Compiling lv_hal_disp.c
[75/507] Compiling lv_font_unscii_8.c
[75/507] Compiling lv_hal_indev.c
[75/507] Compiling lv_font_simsun_16_cjk.c
[75/507] Compiling lv_font_unscii_16.c
[75/507] Compiling lv_font_montserrat_8.c
[75/507] Compiling lv_font_montserrat_48.c
BUILD FAILURE 5.9 linux