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, reference main (b2e174), with Swift 6.0 for macOS (SPM) on 15 Sep 2024 23:25:44 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/LVGLSwift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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 '/Users/admin/builder/spi-builder-workspace/Sources/CLVGL/lv_drivers'...
Cloning into '/Users/admin/builder/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:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/PADL/LVGLSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/494] Compiling SHARP_MIP.c
[0/494] Compiling R61581.c
[1/494] Write sources
[4/494] Write LVGLDemo-entitlement.plist
[6/494] Write sources
[12/494] Compiling gtkdrv.c
[13/494] Compiling unity_support.c
[14/494] Compiling UC1610.c
[15/494] Compiling unity.c
[16/494] Compiling font_3.c
[17/494] Compiling drm.c
[18/494] Compiling font_2.c
[19/494] Compiling test_txt.c
[20/494] Compiling test_textarea.c
[21/494] Compiling font_1.c
[22/494] Compiling test_table.c
[23/494] Compiling SSD1963.c
[24/494] Compiling ST7565.c
[25/494] Compiling test_switch.c
[26/494] Compiling test_snapshot.c
[26/494] Compiling test_style.c
[28/494] Compiling test_slider.c
[29/494] Compiling test_obj_tree.c
[30/494] Compiling test_mem.c
[31/494] Compiling test_line.c
[32/494] Compiling test_fs.c
[33/494] Compiling test_font_loader.c
[34/494] Compiling test_event.c
[35/494] Write swift-version-117DEE11B69C53C9.txt
[36/494] Compiling test_dropdown.c
[37/494] Compiling test_demo_stress.c
[38/494] Compiling test_demo_widgets.c
[39/494] Compiling test_config.c
[40/494] Compiling test_arc.c
[40/494] Compiling test_bar.c
[42/494] Compiling test_checkbox.c
[43/494] Compiling _test_template.c
[44/494] Compiling lv_test_init.c
[45/494] Compiling lv_test_indev.c
[46/494] Compiling test.c
[47/494] Compiling lv_objx_templ.c
[48/494] Compiling lv_example_monkey_1.c
[49/494] Compiling lv_example_monkey_2.c
[49/494] Compiling lv_example_monkey_3.c
[51/512] Compiling lv_switch.c
[52/512] Compiling lv_slider.c
[53/512] Compiling lv_roller.c
[54/512] Compiling lv_table.c
[54/512] Compiling lv_line.c
[56/512] Compiling lv_textarea.c
[57/512] Compiling lv_img.c
[58/512] Compiling lv_btn.c
[59/512] Compiling lv_checkbox.c
[60/512] Compiling lv_bar.c
[61/512] Compiling lv_label.c
[62/512] Compiling lv_utils.c
[63/512] Compiling lv_arc.c
[63/512] Compiling lv_canvas.c
[65/512] Compiling lv_txt_ap.c
[66/512] Compiling lv_templ.c
[67/512] Compiling lv_dropdown.c
[68/512] Compiling lv_btnmatrix.c
[69/512] Compiling lv_timer.c
[70/512] Compiling lv_txt.c
[71/512] Compiling lv_math.c
[72/512] Compiling lv_printf.c
[73/512] Compiling lv_style_gen.c
[74/512] Compiling lv_lru.c
[75/512] Compiling lv_style.c
[76/512] Compiling lv_tlsf.c
[76/512] Compiling lv_mem.c
[78/512] Compiling lv_ll.c
[79/512] Compiling lv_log.c
[80/512] Compiling lv_gc.c
[81/512] Compiling lv_async.c
[82/512] Compiling lv_anim_timeline.c
[83/512] Compiling lv_bidi.c
[84/512] Compiling lv_hal_tick.c
[85/512] Compiling lv_color.c
[86/512] Compiling lv_area.c
[86/512] Compiling lv_anim.c
[88/512] Compiling lv_fs.c
[89/512] Compiling lv_hal_indev.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CLVGL/lvgl/src/hal/lv_hal_disp.c:20:
/Users/admin/builder/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
      |          ^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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>:63:1: note: expanded from here
   63 | <SDL2/SDL.h>
      | ^~~~~~~~~~~~
1 error generated.
[90/512] Compiling lv_hal_disp.c
[90/512] Compiling lv_font_montserrat_8.c
[90/512] Compiling lv_font_montserrat_42.c
[90/512] Compiling lv_font_montserrat_48.c
[90/512] Compiling lv_font_unscii_8.c
[90/512] Compiling lv_font_montserrat_44.c
[90/512] Compiling lv_font_simsun_16_cjk.c
[90/512] Compiling lv_font_montserrat_46.c
[90/512] Compiling lv_font_unscii_16.c
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:22:6: warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')
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')
23 |   ],
24 |   targets: [
/Users/admin/builder/spi-builder-workspace/Package.swift:22:66: warning: 'branch' is deprecated
20 |   ],
21 |   dependencies: [
22 |     .package(url: "https://github.com/lhoward/AsyncExtensions", .branch("linux")),
   |                                                                  `- warning: 'branch' is deprecated
23 |   ],
24 |   targets: [
Fetching https://github.com/lhoward/AsyncExtensions
[1/492] Fetching asyncextensions
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.86s)
Fetching https://github.com/apple/swift-collections.git
[1/15034] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.93s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.3 (0.80s)
Creating working copy for https://github.com/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at linux (949c716)
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.3
BUILD FAILURE 6.0 macosSpm