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 Linux on 15 Sep 2024 23:19:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /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:             6.0
Building package at path:  $PWD
https://github.com/PADL/LVGLSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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')
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: [
/host/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.24s)
Fetching https://github.com/apple/swift-collections.git
[1/15034] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.05s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.3 (1.12s)
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
Creating working copy for https://github.com/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at linux (949c716)
Building for debugging...
[0/503] Compiling wayland.c
[0/503] Compiling win_drv.c
[1/503] Compiling win32drv.c
[3/503] Write sources
[12/503] Compiling unity_support.c
[13/503] Compiling unity.c
[14/503] Compiling font_3.c
[15/503] Compiling font_2.c
[16/503] Compiling font_1.c
[17/503] Compiling test_txt.c
[18/503] Compiling test_textarea.c
[19/503] Compiling img_benchmark_cogwheel_alpha16.c
[20/503] Compiling img_benchmark_cogwheel_argb.c
[21/503] Compiling test_table.c
In file included from /host/spi-builder-workspace/Sources/CLVGL/lv_drivers/sdl/sdl_gpu.c:32:
/host/spi-builder-workspace/Sources/CLVGL/lv_drivers/sdl/sdl_common_internal.h:21:10: fatal error: 'SDL2/SDL.h' file not found
   21 | #include SDL_INCLUDE_PATH
      |          ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CLVGL/lv_drivers/sdl/../../lv_drv_conf.h:109:31: note: expanded from macro 'SDL_INCLUDE_PATH'
  109 | #  define SDL_INCLUDE_PATH    <SDL2/SDL.h>
      |                               ^~~~~~~~~~~~
<scratch space>:171:1: note: expanded from here
  171 | <SDL2/SDL.h>
      | ^~~~~~~~~~~~
1 error generated.
[21/503] Compiling sdl_gpu.c
[21/503] Compiling test_slider.c
[21/503] Compiling test_snapshot.c
[21/503] Compiling test_style.c
[21/503] Compiling test_switch.c
[21/503] Compiling img_benchmark_cogwheel_indexed16.c
[21/503] Compiling img_benchmark_cogwheel_chroma_keyed.c
[21/503] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux