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 FirebladePAL, reference main (dcdbf0), with Swift 6.0 for Linux on 3 Nov 2024 15:51:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fireblade-engine/pal.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/fireblade-engine/pal
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at dcdbf0a Add metal demo (#38)
Cloned https://github.com/fireblade-engine/pal.git
Revision (git rev-parse @):
dcdbf0a4f96f1bbaaac53409e9ab0a8c78421cad
SUCCESS checkout https://github.com/fireblade-engine/pal.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/fireblade-engine/pal.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/ctreffs/SwiftNFD.git
Fetching https://github.com/fireblade-engine/time.git
Fetching https://github.com/fireblade-engine/math.git
Fetching https://github.com/ctreffs/SwiftSDL2.git
Fetching https://github.com/ctreffs/SwiftVulkan
[1/1330] Fetching swiftsdl2
[55/3961] Fetching swiftsdl2, math
[703/4341] Fetching swiftsdl2, math, swiftnfd
[3718/4629] Fetching swiftsdl2, math, swiftnfd, swiftvulkan
[4032/5029] Fetching swiftsdl2, math, swiftnfd, swiftvulkan, time
Fetched https://github.com/ctreffs/SwiftVulkan from cache (0.26s)
Fetched https://github.com/fireblade-engine/math.git from cache (0.26s)
Fetched https://github.com/fireblade-engine/time.git from cache (0.26s)
[1125/1710] Fetching swiftsdl2, swiftnfd
Fetched https://github.com/ctreffs/SwiftNFD.git from cache (0.45s)
Fetched https://github.com/ctreffs/SwiftSDL2.git from cache (0.45s)
Computing version for https://github.com/ctreffs/SwiftNFD.git
Computed https://github.com/ctreffs/SwiftNFD.git at 1.0.2 (0.47s)
Computing version for https://github.com/ctreffs/SwiftVulkan
Computed https://github.com/ctreffs/SwiftVulkan at 0.2.1 (0.48s)
Computing version for https://github.com/ctreffs/SwiftSDL2.git
Computed https://github.com/ctreffs/SwiftSDL2.git at 1.4.1 (0.50s)
Computing version for https://github.com/fireblade-engine/time.git
Computed https://github.com/fireblade-engine/time.git at 0.2.0 (0.49s)
Computing version for https://github.com/fireblade-engine/math.git
Computed https://github.com/fireblade-engine/math.git at 0.13.0 (0.51s)
Creating working copy for https://github.com/ctreffs/SwiftVulkan
Working copy of https://github.com/ctreffs/SwiftVulkan resolved at 0.2.1
Creating working copy for https://github.com/ctreffs/SwiftNFD.git
Working copy of https://github.com/ctreffs/SwiftNFD.git resolved at 1.0.2
Creating working copy for https://github.com/fireblade-engine/math.git
Working copy of https://github.com/fireblade-engine/math.git resolved at 0.13.0
Creating working copy for https://github.com/fireblade-engine/time.git
Working copy of https://github.com/fireblade-engine/time.git resolved at 0.2.0
Creating working copy for https://github.com/ctreffs/SwiftSDL2.git
Working copy of https://github.com/ctreffs/SwiftSDL2.git resolved at 1.4.1
warning: you may be able to install vulkan using your system-packager:
    apt-get install libvulkan-dev libvulkan1
warning: you may be able to install sdl2 using your system-packager:
    apt-get install libsdl2-dev
Building for debugging...
[0/32] Write sources
[8/32] Compiling CNFD nfd_win.cpp
[8/32] Compiling CNFD nfd_gtk.c
[10/32] Compiling CNFD nfd_cocoa.m
[11/32] Compiling CNFD nfd_default.c
[12/32] Compiling CNFD nfd_common.c
[13/32] Write swift-version-24593BA9C3E375BF.txt
[15/114] Emitting module NFD
[16/132] Emitting module FirebladeMath
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/144] Emitting module SDL
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shims.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:14: note: in file included from /host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:
 8 |     #endif
 9 | #elif __linux__
10 |     #include "linux.h" //  linux
   |              `- note: in file included from /host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:
11 | #else
12 |    error "Unsupported platform"
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/linux.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 | #include <SDL_vulkan.h>
3 |
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/SDL2/SDL2.swift:9:23: error: could not build C module 'CSDL2'
 7 |
 8 | #if os(Linux) || os(Windows)
 9 |     @_exported import CSDL2
   |                       `- error: could not build C module 'CSDL2'
10 | #else
11 |     @_exported import SDL2
[18/144] Compiling SDL SDL2.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shims.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:14: note: in file included from /host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:
 8 |     #endif
 9 | #elif __linux__
10 |     #include "linux.h" //  linux
   |              `- note: in file included from /host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:
11 | #else
12 |    error "Unsupported platform"
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/linux.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 | #include <SDL_vulkan.h>
3 |
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/SDL2/SDL2.swift:9:23: error: could not build C module 'CSDL2'
 7 |
 8 | #if os(Linux) || os(Windows)
 9 |     @_exported import CSDL2
   |                       `- error: could not build C module 'CSDL2'
10 | #else
11 |     @_exported import SDL2
BUILD FAILURE 6.0 linux