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 Cairo, reference master (646b21), with Swift 6.1 for Linux on 30 Apr 2025 03:37:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/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/pureswift/cairo
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 646b210 Updated dependencies
Cloned https://github.com/pureswift/cairo.git
Revision (git rev-parse @):
646b2104cf9d2b7b111bad1cd17a3fd27d77b5b4
SUCCESS checkout https://github.com/pureswift/cairo.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/pureswift/cairo.git
https://github.com/pureswift/cairo.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "fontconfig",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PureSwift/FontConfig.git"
    }
  ],
  "manifest_display_name" : "Cairo",
  "name" : "Cairo",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Cairo",
      "targets" : [
        "Cairo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CairoTests",
      "module_type" : "SwiftTarget",
      "name" : "CairoTests",
      "path" : "Tests/CairoTests",
      "sources" : [
        "CairoTests.swift"
      ],
      "target_dependencies" : [
        "Cairo"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Cairo",
      "module_type" : "SwiftTarget",
      "name" : "Cairo",
      "path" : "Sources/Cairo",
      "product_dependencies" : [
        "FontConfig"
      ],
      "product_memberships" : [
        "Cairo"
      ],
      "sources" : [
        "Content.swift",
        "Context.swift",
        "Error.swift",
        "Font.swift",
        "ImageFormat.swift",
        "Matrix.swift",
        "Path.swift",
        "Pattern.swift",
        "QuickLook.swift",
        "Status.swift",
        "Surface.swift",
        "SurfaceImage.swift",
        "SurfacePDF.swift",
        "SurfacePNG.swift",
        "SurfaceSVG.swift",
        "SurfaceType.swift"
      ],
      "target_dependencies" : [
        "CCairo",
        "CFreeType"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CFreeType",
      "module_type" : "SystemLibraryTarget",
      "name" : "CFreeType",
      "path" : "Sources/CFreeType",
      "product_memberships" : [
        "Cairo"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "CCairo",
      "module_type" : "SystemLibraryTarget",
      "name" : "CCairo",
      "path" : "Sources/CCairo",
      "product_memberships" : [
        "Cairo"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/PureSwift/FontConfig.git
[1/123] Fetching fontconfig
Fetched https://github.com/PureSwift/FontConfig.git from cache (0.26s)
Creating working copy for https://github.com/PureSwift/FontConfig.git
Working copy of https://github.com/PureSwift/FontConfig.git resolved at master (02b7b62)
warning: you may be able to install cairo using your system-packager:
    apt-get install libcairo2-dev
warning: you may be able to install freetype using your system-packager:
    apt-get install libfreetype6-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 cairo using your system-packager:
    apt-get install libcairo2-dev
warning: you may be able to install freetype using your system-packager:
    apt-get install libfreetype6-dev
warning: you may be able to install fontconfig using your system-packager:
    apt-get install libfontconfig-dev
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/9] Emitting module FontConfig
<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/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
  |          `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/host/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build C module 'CFontConfig'
 6 | //
 7 |
 8 | import CFontConfig
   |        `- error: could not build C module 'CFontConfig'
 9 |
10 | public final class FontConfiguration {
[5/9] Compiling FontConfig 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/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
  |          `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/host/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build C module 'CFontConfig'
 6 | //
 7 |
 8 | import CFontConfig
   |        `- error: could not build C module 'CFontConfig'
 9 |
10 | public final class FontConfiguration {
[6/9] Compiling FontConfig FontSlant.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/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
  |          `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/host/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build C module 'CFontConfig'
 6 | //
 7 |
 8 | import CFontConfig
   |        `- error: could not build C module 'CFontConfig'
 9 |
10 | public final class FontConfiguration {
[7/9] Compiling FontConfig FontWidth.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/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
  |          `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/host/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build C module 'CFontConfig'
 6 | //
 7 |
 8 | import CFontConfig
   |        `- error: could not build C module 'CFontConfig'
 9 |
10 | public final class FontConfiguration {
[8/9] Compiling FontConfig FontConfig.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/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
  |          `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/host/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build C module 'CFontConfig'
 6 | //
 7 |
 8 | import CFontConfig
   |        `- error: could not build C module 'CFontConfig'
 9 |
10 | public final class FontConfiguration {
[9/9] Compiling FontConfig FontWeight.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/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
  |          `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/host/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build C module 'CFontConfig'
 6 | //
 7 |
 8 | import CFontConfig
   |        `- error: could not build C module 'CFontConfig'
 9 |
10 | public final class FontConfiguration {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: you may be able to install cairo using your system-packager:
    apt-get install libcairo2-dev
warning: you may be able to install freetype using your system-packager:
    apt-get install libfreetype6-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 cairo using your system-packager:
    apt-get install libcairo2-dev
warning: you may be able to install freetype using your system-packager:
    apt-get install libfreetype6-dev
warning: you may be able to install fontconfig using your system-packager:
    apt-get install libfontconfig-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/7] Emitting module FontConfig
<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/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
  |          `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/host/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build C module 'CFontConfig'
 6 | //
 7 |
 8 | import CFontConfig
   |        `- error: could not build C module 'CFontConfig'
 9 |
10 | public final class FontConfiguration {
[3/7] Compiling FontConfig FontConfig.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/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
  |          `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/host/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build C module 'CFontConfig'
 6 | //
 7 |
 8 | import CFontConfig
   |        `- error: could not build C module 'CFontConfig'
 9 |
10 | public final class FontConfiguration {
[4/7] Compiling FontConfig FontWeight.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/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
  |          `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/host/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build C module 'CFontConfig'
 6 | //
 7 |
 8 | import CFontConfig
   |        `- error: could not build C module 'CFontConfig'
 9 |
10 | public final class FontConfiguration {
[5/7] Compiling FontConfig FontSlant.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/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
  |          `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/host/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build C module 'CFontConfig'
 6 | //
 7 |
 8 | import CFontConfig
   |        `- error: could not build C module 'CFontConfig'
 9 |
10 | public final class FontConfiguration {
[6/7] Compiling FontConfig FontWidth.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/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
  |          `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/host/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build C module 'CFontConfig'
 6 | //
 7 |
 8 | import CFontConfig
   |        `- error: could not build C module 'CFontConfig'
 9 |
10 | public final class FontConfiguration {
[7/7] Compiling FontConfig 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/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
  |          `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/host/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build C module 'CFontConfig'
 6 | //
 7 |
 8 | import CFontConfig
   |        `- error: could not build C module 'CFontConfig'
 9 |
10 | public final class FontConfiguration {
BUILD FAILURE 6.1 linux