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 SDL with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/sdl.git
Reference: master
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/pureswift/sdl
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e317e88 Updated headers location for macOS
Cloned https://github.com/pureswift/sdl.git
Revision (git rev-parse @):
e317e8882cc03709aaddd17770e1fab5522ea256
SUCCESS checkout https://github.com/pureswift/sdl.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/pureswift/sdl.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
warning: you may be able to install sdl2 using your system-packager:
    apt-get install libsdl2-dev
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/22] Compiling SDL SDL.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[5/22] Compiling SDL Surface.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[6/22] Compiling SDL Texture.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[7/22] Compiling SDL VideoDisplay.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[8/23] Compiling SDL Event.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[9/23] Compiling SDL Palette.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[10/23] Compiling SDL DisplayMode.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[11/23] Compiling SDL Error.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[12/23] Compiling SDL PixelFormat.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[13/23] Compiling SDL Renderer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/23] Emitting module SDL
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[15/23] Compiling SDL Color.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[16/23] Compiling SDL CountableSet.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[17/23] Compiling SDL BitMaskOption.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[18/23] Compiling SDL BlendMode.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[19/23] Compiling SDL Window.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
error: fatalError
warning: you may be able to install sdl2 using your system-packager:
    apt-get install libsdl2-dev
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/20] Compiling SDL Event.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[3/20] Compiling SDL Palette.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[4/20] Compiling SDL PixelFormat.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[5/20] Compiling SDL Renderer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[6/21] Compiling SDL Texture.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[7/21] Compiling SDL VideoDisplay.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/21] Compiling SDL BitMaskOption.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[9/21] Compiling SDL BlendMode.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[10/21] Compiling SDL Color.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[11/21] Compiling SDL CountableSet.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[12/21] Compiling SDL DisplayMode.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[13/21] Compiling SDL Error.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[14/21] Emitting module SDL
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[15/21] Compiling SDL Window.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[16/21] Compiling SDL SDL.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
[17/21] Compiling SDL Surface.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
         ^
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
import CSDL2
       ^
error: fatalError
BUILD FAILURE 5.10 linux