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 swift-graphics, reference main (d761f1), with Swift 5.9 for Linux on 30 Sep 2024 02:10:27 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fwcd/swift-graphics.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/fwcd/swift-graphics
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d761f18 Fix weird errors about missing initializers
Cloned https://github.com/fwcd/swift-graphics.git
Revision (git rev-parse @):
d761f1856b3e6f9472d4d06db9bce9106f0650ca
SUCCESS checkout https://github.com/fwcd/swift-graphics.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/fwcd/swift-graphics.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:66706f89ac15d55dcb11e8d3274e2fe11925b5da93d240b09d5a1eb775db6cc2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/MaxDesiatov/XMLCoder.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/fwcd/swift-cairo.git
[1/3621] Fetching swift-cairo
[472/13632] Fetching swift-cairo, xmlcoder
[473/17239] Fetching swift-cairo, xmlcoder, swift-log
Fetching https://github.com/scinfu/SwiftSoup.git
Fetched https://github.com/MaxDesiatov/XMLCoder.git (1.08s)
[6287/7228] Fetching swift-cairo, swift-log
[7229/10412] Fetching swift-cairo, swift-log, swiftsoup
Fetched https://github.com/apple/swift-log.git (1.45s)
Fetching https://github.com/fwcd/swift-utils.git
Fetched https://github.com/fwcd/swift-cairo.git (1.51s)
Fetched https://github.com/scinfu/SwiftSoup.git (0.43s)
[1/924] Fetching swift-utils
Fetched https://github.com/fwcd/swift-utils.git (0.23s)
Computing version for https://github.com/fwcd/swift-cairo.git
Computed https://github.com/fwcd/swift-cairo.git at 1.3.4 (0.42s)
Computing version for https://github.com/fwcd/swift-utils.git
Computed https://github.com/fwcd/swift-utils.git at 4.0.0 (0.68s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.45s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (0.55s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.7.0 (0.75s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
Creating working copy for https://github.com/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.17.1
Creating working copy for https://github.com/fwcd/swift-utils.git
Working copy of https://github.com/fwcd/swift-utils.git resolved at 4.0.0
Creating working copy for https://github.com/fwcd/swift-cairo.git
Working copy of https://github.com/fwcd/swift-cairo.git resolved at 1.3.4
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.7.0
warning: you may be able to install freetype2 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
Building for debugging...
[1/128] Emitting module XMLCoder
[2/134] Emitting module SwiftSoup
[3/141] Compiling Cairo Matrix.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.h>
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
import struct SCCCairo.cairo_content_t
              ^
[4/141] Compiling Cairo Path.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.h>
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
import struct SCCCairo.cairo_content_t
              ^
[5/142] Compiling Cairo QuickLook.swift
[6/142] Compiling Cairo Status.swift
[7/142] Compiling Cairo Surface.swift
[8/142] Compiling Cairo SurfaceImage.swift
[9/142] Compiling Cairo SurfacePDF.swift
[10/142] Compiling Cairo SurfacePNG.swift
[11/142] Compiling Cairo SurfaceSVG.swift
[12/142] Compiling Cairo Pattern.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.h>
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
import struct SCCCairo.cairo_content_t
              ^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.h>
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
import struct SCCCairo.cairo_content_t
              ^
[14/142] Compiling Cairo SurfaceType.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.h>
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
import struct SCCCairo.cairo_content_t
              ^
[15/142] Compiling XMLCoder Attribute.swift
[16/142] Compiling XMLCoder BoolBox.swift
[17/142] Compiling XMLCoder Box.swift
[18/142] Compiling XMLCoder ChoiceBox.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.h>
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
import struct SCCCairo.cairo_content_t
              ^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.h>
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
import struct SCCCairo.cairo_content_t
              ^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.h>
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
import struct SCCCairo.cairo_content_t
              ^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.h>
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
import struct SCCCairo.cairo_content_t
              ^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.h>
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
import struct SCCCairo.cairo_content_t
              ^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.h>
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
import struct SCCCairo.cairo_content_t
              ^
[28/142] Compiling XMLCoder XMLKeyedDecodingContainer.swift
[29/142] Compiling XMLCoder XMLUnkeyedDecodingContainer.swift
[30/142] Compiling XMLCoder DynamicNodeEncoding.swift
[31/142] Compiling XMLCoder EncodingErrorExtension.swift
[32/142] Compiling XMLCoder SingleValueEncodingContainer.swift
[33/142] Compiling XMLCoder XMLChoiceEncodingContainer.swift
[34/142] Compiling Logging Locks.swift
[35/142] Compiling XMLCoder StringBox.swift
[36/142] Compiling XMLCoder UIntBox.swift
[37/142] Compiling XMLCoder URLBox.swift
[38/142] Compiling XMLCoder UnkeyedBox.swift
[39/142] Compiling XMLCoder ValueBox.swift
[40/142] Compiling XMLCoder Element.swift
[41/142] Compiling XMLCoder XMLEncoder.swift
[42/142] Compiling XMLCoder XMLEncoderImplementation.swift
[43/142] Compiling XMLCoder XMLEncodingStorage.swift
[44/142] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[45/142] Compiling XMLCoder XMLReferencingEncoder.swift
[46/142] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[47/142] Compiling SwiftSoup StructuralEvaluator.swift
[56/142] Compiling XMLCoder XMLDecodingStorage.swift
[63/142] Compiling XMLCoder XMLHeader.swift
[64/142] Compiling XMLCoder XMLKey.swift
[65/142] Compiling XMLCoder XMLStackParser.swift
[66/142] Compiling XMLCoder DecodingErrorExtension.swift
[67/142] Compiling XMLCoder ElementAndAttribute.swift
[68/142] Compiling XMLCoder ISO8601DateFormatter.swift
[69/142] Compiling XMLCoder KeyedStorage.swift
[70/142] Compiling XMLCoder Metatypes.swift
[71/142] Compiling XMLCoder XMLCoderElement.swift
[72/142] Compiling XMLCoder XMLDocumentType.swift
[81/142] Compiling XMLCoder String+Extensions.swift
[82/142] Compiling XMLCoder XMLChoiceCodingKey.swift
[83/142] Compiling XMLCoder DynamicNodeDecoding.swift
[84/142] Compiling XMLCoder SingleValueDecodingContainer.swift
[85/142] Compiling XMLCoder XMLChoiceDecodingContainer.swift
[86/142] Compiling XMLCoder XMLDecoder.swift
[87/142] Compiling XMLCoder XMLDecoderImplementation.swift
[89/142] Compiling Logging MetadataProvider.swift
[96/143] Compiling SwiftSoup TreeBuilder.swift
[97/143] Compiling SwiftSoup UnfairLock.swift
[98/143] Compiling SwiftSoup UnicodeScalar.swift
[99/143] Compiling SwiftSoup Validate.swift
[100/143] Compiling SwiftSoup Whitelist.swift
[101/143] Compiling SwiftSoup XmlDeclaration.swift
[102/143] Compiling SwiftSoup XmlTreeBuilder.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.h>
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
import struct SCCCairo.cairo_content_t
              ^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.h>
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
import struct SCCCairo.cairo_content_t
              ^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.h>
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
import struct SCCCairo.cairo_content_t
              ^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.h>
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
import struct SCCCairo.cairo_content_t
              ^
[132/146] Emitting module Logging
[133/146] Compiling Logging LogHandler.swift
[134/146] Compiling Logging Logging.swift
[134/147] Wrapping AST for XMLCoder for debugging
[137/148] Wrapping AST for SwiftSoup for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[139/148] Emitting module Cairo
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.h>
         ^
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
import struct SCCCairo.cairo_content_t
              ^
[139/148] Wrapping AST for Logging for debugging
error: fatalError
BUILD FAILURE 5.9 linux