Build Information
Failed to build swift-graphics, reference v4.0.3 (d761f1
), with Swift 5.9 for Linux on 30 Sep 2024 02:10:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: v4.0.3
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
* tag v4.0.3 -> FETCH_HEAD
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 v4.0.3
========================================
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-4609320-0":/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/fwcd/swift-cairo.git
Fetching https://github.com/MaxDesiatov/XMLCoder.git
Fetching https://github.com/scinfu/SwiftSoup.git
[1/3621] Fetching swift-cairo
[581/6805] Fetching swift-cairo, swiftsoup
[2304/16816] Fetching swift-cairo, swiftsoup, xmlcoder
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/MaxDesiatov/XMLCoder.git (0.44s)
[5574/6805] Fetching swift-cairo, swiftsoup
[5829/10412] Fetching swift-cairo, swiftsoup, swift-log
Fetched https://github.com/apple/swift-log.git (0.33s)
Fetching https://github.com/fwcd/swift-utils.git
[6588/6805] Fetching swift-cairo, swiftsoup
[6806/7729] Fetching swift-cairo, swiftsoup, swift-utils
Fetched https://github.com/scinfu/SwiftSoup.git (1.02s)
Fetched https://github.com/fwcd/swift-utils.git (0.28s)
Fetched https://github.com/fwcd/swift-cairo.git (1.05s)
Computing version for https://github.com/fwcd/swift-cairo.git
Computed https://github.com/fwcd/swift-cairo.git at 1.3.4 (0.37s)
Computing version for https://github.com/fwcd/swift-utils.git
Computed https://github.com/fwcd/swift-utils.git at 4.0.0 (0.38s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.46s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (0.53s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.7.0 (0.64s)
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
Creating working copy for https://github.com/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.17.1
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 SwiftSoup
[2/135] 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
^
[3/135] 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
^
[4/135] 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
^
[5/135] 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
^
[6/136] 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
^
[7/136] Compiling SwiftSoup ArrayExt.swift
[8/136] Compiling SwiftSoup Attribute.swift
[9/136] Compiling Cairo Font.swift
[10/136] Compiling Cairo ImageFormat.swift
[16/136] Compiling Cairo SurfaceImage.swift
[17/136] Compiling Cairo SurfacePDF.swift
[18/136] Compiling Cairo SurfacePNG.swift
[19/136] Compiling Cairo SurfaceSVG.swift
[20/136] Compiling Cairo Status.swift
[21/136] Compiling SwiftSoup TreeBuilder.swift
[22/136] Compiling SwiftSoup UnfairLock.swift
[23/136] Compiling SwiftSoup UnicodeScalar.swift
[24/136] Compiling SwiftSoup Validate.swift
[25/136] Compiling SwiftSoup Whitelist.swift
[26/136] Compiling SwiftSoup XmlDeclaration.swift
[27/136] 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
^
[31/142] 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
^
<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
^
[34/142] Compiling SwiftSoup ParseErrorList.swift
[35/142] Compiling SwiftSoup ParseSettings.swift
[36/142] Compiling SwiftSoup Parser.swift
[37/142] Compiling SwiftSoup Pattern.swift
[38/142] Compiling SwiftSoup QueryParser.swift
[39/142] Compiling SwiftSoup HtmlTreeBuilder.swift
[40/142] Compiling Logging MetadataProvider.swift
[41/142] Compiling SwiftSoup OrderedSet.swift
[42/142] Compiling SwiftSoup ParseError.swift
[54/142] Compiling SwiftSoup DataUtil.swift
[55/142] Compiling SwiftSoup Document.swift
[56/142] Compiling SwiftSoup DocumentType.swift
[57/142] Compiling SwiftSoup Element.swift
[58/142] Compiling SwiftSoup Elements.swift
[59/142] Compiling SwiftSoup Entities.swift
[60/142] Compiling SwiftSoup Evaluator.swift
[61/142] Compiling SwiftSoup Exception.swift
[62/142] Compiling SwiftSoup FormElement.swift
[63/142] Compiling XMLCoder XMLEncoder.swift
[64/142] Compiling XMLCoder XMLEncoderImplementation.swift
[65/142] Compiling XMLCoder XMLEncodingStorage.swift
[66/142] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[67/142] Compiling XMLCoder XMLReferencingEncoder.swift
[68/142] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[69/142] Compiling SwiftSoup TokeniserState.swift
[70/142] Compiling SwiftSoup SerializationException.swift
[71/142] Compiling SwiftSoup SimpleDictionary.swift
[72/142] Compiling SwiftSoup StreamReader.swift
[73/142] Compiling SwiftSoup String.swift
[74/142] Compiling XMLCoder XMLDecoder.swift
[75/142] Compiling XMLCoder XMLDecoderImplementation.swift
[76/142] Compiling XMLCoder XMLDecodingStorage.swift
[77/142] Compiling SwiftSoup HtmlTreeBuilderState.swift
[78/142] Compiling SwiftSoup HttpStatusException.swift
[79/142] Compiling SwiftSoup Mutex.swift
[80/142] Compiling SwiftSoup Node.swift
[81/142] Compiling SwiftSoup NodeTraversor.swift
[82/142] Compiling SwiftSoup NodeVisitor.swift
[103/142] Emitting module XMLCoder
error: emit-module command failed with exit code 1 (use -v to see invocation)
[110/142] 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
^
<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
^
[123/144] Compiling Logging LogHandler.swift
[124/144] Compiling Logging Locks.swift
[125/144] Compiling Logging Logging.swift
[126/144] Emitting module Logging
error: fatalError
BUILD FAILURE 5.9 linux