The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LVGL, reference main (b2e174), with Swift 6.3 for macOS (SPM) on 14 Apr 2026 14:12:09 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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
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') [#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: [
/Users/admin/builder/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/890] Fetching asyncextensions
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.80s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[147/25357] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (2.11s)
Fetched https://github.com/apple/swift-collections.git from cache (2.11s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.78s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.75s)
Creating working copy for https://github.com/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at linux (b97d381)
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.4.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "lvglswift",
      "name": "LVGL",
      "url": "https://github.com/PADL/LVGLSwift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LVGLSwift",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "asyncextensions",
          "name": "AsyncExtensions",
          "url": "https://github.com/lhoward/AsyncExtensions",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AsyncExtensions",
          "traits": [
            "default"
          ],
          "dependencies": [
            {
              "identity": "swift-collections",
              "name": "swift-collections",
              "url": "https://github.com/apple/swift-collections.git",
              "version": "1.4.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
              "traits": [
              ],
              "dependencies": [
              ]
            },
            {
              "identity": "swift-atomics",
              "name": "swift-atomics",
              "url": "https://github.com/apple/swift-atomics.git",
              "version": "1.3.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/PADL/LVGLSwift.git
[1/695] Fetching lvglswift
Fetched https://github.com/PADL/LVGLSwift.git from cache (1.16s)
warning: 'lvglswift': /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: [
/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 from cache
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.42s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.52s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.52s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.05s)
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/PADL/LVGLSwift.git
Working copy of https://github.com/PADL/LVGLSwift.git resolved at main (b2e174a)
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 linux (b97d381)
warning: 'lvglswift': /Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LVGLSwift/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: [
/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LVGLSwift/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>
warning: '.resolve-product-dependencies': dependency 'lvglswift' is not used by any target
Found 1 product dependencies
  - AsyncExtensions
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/PADL/LVGLSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/497] Compiling ST7565.c
[1/497] Compiling SHARP_MIP.c
[2/497] Write sources
[3/497] Compiling SSD1963.c
[4/497] Write sources
[6/497] Write LVGLDemo-entitlement.plist
[7/497] Write sources
[14/497] Compiling ILI9341.c
[15/497] Compiling GC9A01.c
[16/497] Compiling unity_support.c
[17/497] Compiling unity.c
[18/497] Compiling font_3.c
[19/497] Compiling font_2.c
[20/497] Compiling font_1.c
[21/497] Write swift-version--6988338F2F200930.txt
[22/497] Compiling test_txt.c
[23/497] Compiling test_textarea.c
[24/497] Compiling test_table.c
[25/497] Compiling test_switch.c
[26/497] Compiling R61581.c
[27/497] Compiling test_style.c
[28/497] Compiling test_snapshot.c
[29/497] Compiling test_slider.c
[30/497] Compiling test_obj_tree.c
[31/497] Compiling test_mem.c
[32/497] Compiling test_line.c
[33/497] Compiling test_fs.c
[34/497] Compiling img_lv_demo_music_corner_right.c
[35/497] Compiling img_lv_demo_music_corner_left_large.c
[35/497] Compiling CLVGL LVGLSwift.c
[37/497] Compiling test_event.c
[38/497] Compiling test_font_loader.c
[39/497] Compiling test_dropdown.c
[40/497] Compiling _AtomicsShims.c
[41/497] Compiling UC1610.c
[42/497] Compiling test_demo_widgets.c
[43/504] Compiling test_checkbox.c
[44/508] Compiling test_demo_stress.c
[45/512] Compiling test_bar.c
[46/516] Compiling test_arc.c
[47/516] Compiling _test_template.c
[48/516] Compiling test_config.c
[49/516] Compiling lv_test_indev.c
[50/516] Compiling test.c
[51/516] Compiling lv_test_init.c
[52/516] Compiling lv_objx_templ.c
[53/516] Compiling lv_switch.c
[54/516] Compiling lv_table.c
[55/516] Compiling lv_line.c
[56/516] Compiling lv_roller.c
[57/516] Compiling lv_textarea.c
[57/516] Compiling lv_img.c
[59/516] Compiling lv_slider.c
[60/516] Compiling lv_label.c
[61/516] Compiling lv_dropdown.c
[62/516] Compiling lv_utils.c
[63/516] Compiling lv_txt_ap.c
[64/516] Compiling lv_btn.c
[65/516] Compiling lv_checkbox.c
[66/516] Compiling lv_tlsf.c
[67/516] Compiling lv_templ.c
[68/516] Compiling lv_timer.c
[69/516] Compiling lv_txt.c
[70/516] Compiling lv_arc.c
[71/516] Compiling lv_bar.c
[72/516] Compiling lv_canvas.c
[73/516] Compiling lv_math.c
[74/516] Compiling lv_btnmatrix.c
[75/516] Compiling lv_printf.c
[76/516] Compiling lv_log.c
[77/516] Compiling lv_style_gen.c
[78/516] Compiling lv_ll.c
[79/516] Compiling lv_lru.c
[80/516] Compiling lv_mem.c
[81/516] Compiling lv_style.c
[82/516] Compiling lv_gc.c
[83/516] Compiling lv_color.c
[84/516] Compiling lv_bidi.c
[85/516] Compiling lv_fs.c
[86/516] Compiling lv_async.c
[87/516] Compiling lv_anim_timeline.c
[88/516] Compiling lv_hal_tick.c
[89/516] Compiling lv_area.c
[90/516] Compiling lv_anim.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>:75:1: note: expanded from here
   75 | <SDL2/SDL.h>
      | ^~~~~~~~~~~~
1 error generated.
[91/516] Compiling lv_hal_disp.c
[91/516] Compiling lv_hal_indev.c
[91/516] Compiling lv_font_montserrat_44.c
[91/516] Compiling lv_font_montserrat_46.c
[91/516] Compiling lv_font_simsun_16_cjk.c
[91/516] Compiling lv_font_montserrat_48.c
[91/516] Compiling lv_font_unscii_16.c
[91/516] Compiling lv_font_montserrat_8.c
[91/516] Compiling lv_font_unscii_8.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') [#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: [
/Users/admin/builder/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>
BUILD FAILURE 6.3 macosSpm