The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Cairo, reference master (71cbd6), with Swift 6.3 for Linux on 21 Apr 2026 14:11:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aestesis/Cairo.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/aestesis/Cairo
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 71cbd6d update swift 4.2
Cloned https://github.com/aestesis/Cairo.git
Revision (git rev-parse @):
71cbd6d22f89bf6ad10553ed43366e8e52033707
SUCCESS checkout https://github.com/aestesis/Cairo.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/aestesis/Cairo.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/aestesis/CCairo.git
[1/412] Fetching ccairo
Fetched https://github.com/aestesis/CCairo.git from cache (0.37s)
Fetching https://github.com/aestesis/CFontConfig.git
[1/45] Fetching cfontconfig
Fetched https://github.com/aestesis/CFontConfig.git from cache (0.27s)
Fetching https://github.com/aestesis/CFreeType.git
[1/39] Fetching cfreetype
Fetched https://github.com/aestesis/CFreeType.git from cache (0.26s)
Creating working copy for https://github.com/aestesis/CFreeType.git
Working copy of https://github.com/aestesis/CFreeType.git resolved at master (3442374)
Creating working copy for https://github.com/aestesis/CFontConfig.git
Working copy of https://github.com/aestesis/CFontConfig.git resolved at master (c89a356)
Creating working copy for https://github.com/aestesis/CCairo.git
Working copy of https://github.com/aestesis/CCairo.git resolved at master (86cb03f)
warning: you may be able to install cairo using your system-packager:
    apt-get install libcairo-dev
warning: you may be able to install fontconfig using your system-packager:
    apt-get install libfontconfig-dev
warning: you may be able to install freetype2 using your system-packager:
    apt-get install libfreetype6-dev
warning: you may be able to install cairo using your system-packager:
    apt-get install libcairo-dev
warning: you may be able to install fontconfig using your system-packager:
    apt-get install libfontconfig-dev
warning: you may be able to install freetype2 using your system-packager:
    apt-get install libfreetype6-dev
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/16] Compiling Cairo Content.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/.build/checkouts/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[4/16] Compiling Cairo Context.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/.build/checkouts/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/16] Emitting module Cairo
<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/.build/checkouts/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[6/17] Compiling Cairo Pattern.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/.build/checkouts/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[7/17] Compiling Cairo Status.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/.build/checkouts/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[8/17] Compiling Cairo Matrix.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/.build/checkouts/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[9/17] Compiling Cairo Path.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/.build/checkouts/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[10/17] Compiling Cairo SurfaceType.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/.build/checkouts/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[11/17] Compiling Cairo Font.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/.build/checkouts/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[12/17] Compiling Cairo ImageFormat.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/.build/checkouts/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[13/17] Compiling Cairo SurfaceSVG.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/.build/checkouts/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[14/17] Compiling Cairo SurfacePDF.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/.build/checkouts/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[15/17] Compiling Cairo SurfacePNG.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/.build/checkouts/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[16/17] Compiling Cairo 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/.build/checkouts/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[17/17] Compiling Cairo SurfaceImage.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/.build/checkouts/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
BUILD FAILURE 6.3 linux