Build Information
Failed to build LVGL with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
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 /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CLVGL/lv_drivers'...
Cloning into '/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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')
.package(url: "https://github.com/lhoward/AsyncExtensions", .branch("linux")),
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/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 from cache
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.17s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.24s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.02s)
Creating working copy for https://github.com/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at linux (0d96d35)
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "lvglswift",
"name": "LVGL",
"url": "https://github.com/PADL/LVGLSwift.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LVGLSwift",
"dependencies": [
{
"identity": "asyncextensions",
"name": "AsyncExtensions",
"url": "https://github.com/lhoward/AsyncExtensions",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AsyncExtensions",
"dependencies": [
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.0",
"path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/PADL/LVGLSwift.git from cache
Fetched https://github.com/PADL/LVGLSwift.git from cache (0.25s)
warning: 'lvglswift': /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")),
^
/Package.swift:22:66: warning: 'branch' is deprecated
.package(url: "https://github.com/lhoward/AsyncExtensions", .branch("linux")),
^
Fetching https://github.com/lhoward/AsyncExtensions from cache
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.14s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.27s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.02s)
warning: /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/repositories/LVGLSwift-3b6a8733 is not valid git repository for 'https://github.com/PADL/LVGLSwift.git', will fetch again.
Fetching https://github.com/PADL/LVGLSwift.git from cache
Fetched https://github.com/PADL/LVGLSwift.git from cache (0.02s)
warning: /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/repositories/LVGLSwift-3b6a8733 is not valid git repository for 'https://github.com/PADL/LVGLSwift.git', will fetch again.
Fetching https://github.com/PADL/LVGLSwift.git from cache
Fetched https://github.com/PADL/LVGLSwift.git from cache (0.02s)
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.1.0
Creating working copy for https://github.com/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at linux (0d96d35)
warning: 'lvglswift': /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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')
.package(url: "https://github.com/lhoward/AsyncExtensions", .branch("linux")),
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LVGLSwift/Package.swift:22:66: warning: 'branch' is deprecated
.package(url: "https://github.com/lhoward/AsyncExtensions", .branch("linux")),
^
warning: '.resolve-product-dependencies': dependency 'lvglswift' is not used by any target
Found 1 product dependencies
- AsyncExtensions
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/PADL/LVGLSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/494] Compiling SHARP_MIP.c
[1/494] Compiling UC1610.c
[2/494] Compiling GC9A01.c
[3/494] Write sources
[9/494] Write LVGLDemo-entitlement.plist
[10/494] Write sources
[13/494] Compiling SSD1963.c
[14/494] Compiling unity_support.c
[14/494] Compiling unity.c
[16/494] Compiling font_3.c
[17/494] Compiling font_2.c
[17/494] Compiling font_1.c
[17/494] Compiling test_txt.c
[20/494] Compiling test_textarea.c
[21/494] Compiling test_table.c
[22/494] Compiling test_switch.c
[23/494] Compiling test_snapshot.c
[23/494] Compiling test_style.c
[25/494] Compiling R61581.c
[26/494] Write swift-version-6044DDE57671499D.txt
[27/494] Compiling test_mem.c
[28/494] Compiling test_slider.c
[29/494] Compiling test_obj_tree.c
[29/494] Compiling test_fs.c
[29/494] Compiling test_line.c
[29/494] Compiling test_event.c
[29/494] Compiling test_font_loader.c
[29/494] Compiling test_dropdown.c
[29/494] Compiling test_demo_widgets.c
[36/494] Compiling test_demo_stress.c
[37/494] Compiling test_checkbox.c
[37/494] Compiling test_config.c
[39/494] Compiling ST7565.c
[40/494] Compiling test_bar.c
[41/494] Compiling _test_template.c
[42/494] Compiling lv_test_init.c
[43/494] Compiling test_arc.c
[44/494] Compiling lv_test_indev.c
[45/494] Compiling test.c
[46/494] Compiling ILI9341.c
[47/511] Compiling lv_objx_templ.c
[48/511] Compiling lv_switch.c
[49/511] Compiling lv_line.c
[50/511] Compiling lv_table.c
[51/511] Compiling lv_slider.c
[52/511] Compiling CLVGL LVGLSwift.c
[53/511] Compiling lv_roller.c
[54/511] Compiling lv_textarea.c
[55/511] Compiling lv_img.c
[56/511] Compiling lv_checkbox.c
[57/511] Compiling lv_bar.c
[58/511] Compiling lv_label.c
[59/511] Compiling lv_canvas.c
[60/511] Compiling lv_dropdown.c
[61/511] Compiling lv_btn.c
[62/511] Compiling lv_arc.c
[63/511] Compiling lv_utils.c
[64/511] Compiling lv_btnmatrix.c
[65/511] Compiling lv_txt_ap.c
[66/511] Compiling lv_templ.c
[67/511] Compiling lv_timer.c
[68/511] Compiling lv_style_gen.c
[69/511] Compiling lv_tlsf.c
[70/511] Compiling lv_style.c
[71/511] Compiling lv_math.c
[72/511] Compiling lv_printf.c
[73/511] Compiling lv_txt.c
[74/511] Compiling lv_mem.c
[75/511] Compiling lv_ll.c
[76/511] Compiling lv_lru.c
[77/511] Compiling lv_fs.c
[77/511] Compiling lv_log.c
[79/511] Compiling lv_color.c
[80/511] Compiling lv_bidi.c
[81/511] Compiling lv_gc.c
[82/511] Compiling lv_async.c
[83/511] Compiling lv_hal_tick.c
[83/511] Compiling lv_area.c
[85/511] Compiling lv_anim_timeline.c
[86/511] Compiling lv_anim.c
[87/511] Compiling lv_hal_indev.c
In file included from /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CLVGL/lvgl/src/hal/lv_hal_disp.c:20:
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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
#include LV_GPU_SDL_INCLUDE_PATH
^~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/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>:55:1: note: expanded from here
<SDL2/SDL.h>
^~~~~~~~~~~~
1 error generated.
[88/511] Compiling lv_hal_disp.c
[88/511] Compiling lv_font_montserrat_46.c
[88/511] Compiling lv_font_montserrat_48.c
[88/511] Compiling lv_font_montserrat_8.c
[88/511] Compiling lv_font_unscii_16.c
[88/511] Compiling lv_font_unscii_8.c
[88/511] Compiling lv_font_simsun_16_cjk.c
warning: 'spi-builder-workspace': /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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')
.package(url: "https://github.com/lhoward/AsyncExtensions", .branch("linux")),
^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Package.swift:22:66: warning: 'branch' is deprecated
.package(url: "https://github.com/lhoward/AsyncExtensions", .branch("linux")),
^
BUILD FAILURE 5.10 macosSpm