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.10 for Linux on 30 Sep 2024 02:12:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
Building package at path:  $PWD
https://github.com/fwcd/swift-graphics.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:6c25c99211d1e15148b101a61df2563575f50d0f624cb6ce5a573a0b53fb5dca
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/fwcd/swift-cairo.git
Fetching https://github.com/MaxDesiatov/XMLCoder.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/fwcd/swift-utils.git
[1/3621] Fetching swift-cairo
[436/4545] Fetching swift-cairo, swift-utils
[1541/7729] Fetching swift-cairo, swift-utils, swiftsoup
[1737/11336] Fetching swift-cairo, swift-utils, swiftsoup, swift-log
[2308/21347] Fetching swift-cairo, swift-utils, swiftsoup, swift-log, xmlcoder
Fetched https://github.com/apple/swift-log.git from cache (0.45s)
[15749/17740] Fetching swift-cairo, swift-utils, swiftsoup, xmlcoder
Fetched https://github.com/fwcd/swift-utils.git from cache (1.16s)
Fetched https://github.com/scinfu/SwiftSoup.git from cache (1.17s)
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (1.17s)
Fetched https://github.com/fwcd/swift-cairo.git from cache (1.22s)
Computing version for https://github.com/fwcd/swift-cairo.git
Computed https://github.com/fwcd/swift-cairo.git at 1.3.4 (0.40s)
Computing version for https://github.com/fwcd/swift-utils.git
Computed https://github.com/fwcd/swift-utils.git at 4.0.0 (0.46s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.61s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (0.51s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.7.0 (0.50s)
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
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
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...
[0/23] Write sources
[10/23] Write swift-version-24593BA9C3E375BF.txt
[12/140] Emitting module SwiftSoup
[13/147] 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
              ^
[14/147] 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
              ^
[15/148] 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
              ^
[16/148] Compiling Cairo QuickLook.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
              ^
[17/148] 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
              ^
[18/148] Compiling SwiftSoup OrderedSet.swift
[19/148] Compiling SwiftSoup ParseError.swift
[20/148] Compiling SwiftSoup ParseErrorList.swift
[21/148] Compiling SwiftSoup ParseSettings.swift
[22/148] Compiling SwiftSoup Parser.swift
[23/148] Compiling SwiftSoup Pattern.swift
[24/148] Compiling SwiftSoup QueryParser.swift
[25/148] Compiling Cairo Status.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
              ^
[26/148] Compiling Cairo Surface.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
              ^
[27/148] Compiling SwiftSoup HttpStatusException.swift
[28/148] Compiling SwiftSoup Mutex.swift
[29/148] Compiling SwiftSoup Node.swift
[30/148] Compiling SwiftSoup NodeTraversor.swift
[31/148] Compiling SwiftSoup NodeVisitor.swift
[32/148] Compiling SwiftSoup SerializationException.swift
[33/148] Compiling SwiftSoup SimpleDictionary.swift
[34/148] Compiling SwiftSoup StreamReader.swift
[35/148] Compiling SwiftSoup String.swift
[36/148] Compiling SwiftSoup StringBuilder.swift
[37/148] Compiling SwiftSoup StringUtil.swift
[38/148] Compiling SwiftSoup StructuralEvaluator.swift
[39/148] Compiling Logging MetadataProvider.swift
[40/148] Compiling Cairo SurfacePNG.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
              ^
[41/148] Compiling Cairo SurfaceSVG.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
              ^
[42/148] Compiling SwiftSoup TreeBuilder.swift
[43/148] Compiling SwiftSoup UnfairLock.swift
[44/148] Compiling SwiftSoup UnicodeScalar.swift
[45/148] Compiling SwiftSoup Validate.swift
[46/148] Compiling SwiftSoup Whitelist.swift
[47/148] Compiling SwiftSoup XmlDeclaration.swift
[48/148] Compiling SwiftSoup XmlTreeBuilder.swift
[49/148] Emitting module Logging
[50/148] Compiling Logging Locks.swift
[51/148] Compiling Cairo SurfaceImage.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
              ^
[52/148] Compiling Cairo SurfacePDF.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
              ^
[53/148] Compiling Cairo Content.swift
[54/148] Compiling Cairo Context.swift
[55/148] Compiling Cairo Font.swift
[56/148] Compiling Cairo ImageFormat.swift
[74/154] Compiling SwiftSoup CharacterReader.swift
[75/154] Compiling SwiftSoup Cleaner.swift
[76/154] Emitting module XMLCoder
[77/154] Compiling SwiftSoup Evaluator.swift
[78/154] Compiling SwiftSoup Exception.swift
[79/154] Compiling SwiftSoup FormElement.swift
[85/154] Compiling SwiftSoup DocumentType.swift
[86/154] Compiling SwiftSoup Element.swift
[87/154] Compiling SwiftSoup Elements.swift
[88/154] Compiling SwiftSoup Entities.swift
[100/154] Compiling SwiftSoup HtmlTreeBuilder.swift
[101/154] Compiling SwiftSoup HtmlTreeBuilderState.swift
[109/154] Compiling XMLCoder XMLEncoder.swift
[110/154] Compiling XMLCoder XMLEncoderImplementation.swift
[111/154] Compiling XMLCoder XMLEncodingStorage.swift
[112/154] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[113/154] Compiling XMLCoder XMLReferencingEncoder.swift
[114/154] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[115/154] Compiling SwiftSoup TokeniserState.swift
[130/155] Compiling Logging LogHandler.swift
[131/155] Compiling Logging Logging.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
              ^
[137/156] Wrapping AST for Logging for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[138/156] 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/156] Wrapping AST for SwiftSoup for debugging
error: fatalError
BUILD FAILURE 5.10 linux