Build Information
Failed to build SDL, reference master (718c2b
), with Swift 6.2 (beta) for Linux on 22 Jun 2025 17:14:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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 718c2b3 Fixed `SDLTexture.withUnsafeMutableBytes()`
Cloned https://github.com/pureswift/sdl.git
Revision (git rev-parse @):
718c2b343a6102d769d6ab3a20f3891e320c0718
SUCCESS checkout https://github.com/pureswift/sdl.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/pureswift/sdl.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
warning: you may be able to install sdl2 using your system-packager:
apt-get install libsdl2-dev
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/22] Emitting module SDL
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
| `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build C module 'CSDL2'
9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[5/23] Compiling SDL Window.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
| `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build C module 'CSDL2'
9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[6/23] Compiling SDL Texture.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
| `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build C module 'CSDL2'
9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[7/23] Compiling SDL VideoDisplay.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
| `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build C module 'CSDL2'
9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[8/23] Compiling SDL PixelFormat.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
| `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build C module 'CSDL2'
9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[9/23] Compiling SDL Renderer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
| `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build C module 'CSDL2'
9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[10/23] Compiling SDL SDL.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
| `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build C module 'CSDL2'
9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[11/23] Compiling SDL Surface.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
| `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build C module 'CSDL2'
9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[12/23] Compiling SDL DisplayMode.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
| `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build C module 'CSDL2'
9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[13/23] Compiling SDL Error.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
| `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build C module 'CSDL2'
9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[14/23] Compiling SDL Event.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
| `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build C module 'CSDL2'
9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[15/23] Compiling SDL Palette.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
| `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build C module 'CSDL2'
9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[16/23] Compiling SDL Color.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
| `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build C module 'CSDL2'
9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[17/23] Compiling SDL CountableSet.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
| `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build C module 'CSDL2'
9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[18/23] Compiling SDL BitMaskOption.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
| `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build C module 'CSDL2'
9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[19/23] Compiling SDL BlendMode.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
| `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
6 | //
7 |
8 | import CSDL2
| `- error: could not build C module 'CSDL2'
9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
BUILD FAILURE 6.2 linux