Build Information
Failed to build swift-graphics, reference main (d761f1
), with Swift 6.2 (beta) for Android on 22 Jun 2025 04:53:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
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: android
Swift version: 6.2
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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/fwcd/swift-cairo.git
Fetching https://github.com/fwcd/swift-utils.git
[1/1122] Fetching swift-utils
[1123/4743] Fetching swift-utils, swift-cairo
[1124/8579] Fetching swift-utils, swift-cairo, swift-log
Fetched https://github.com/fwcd/swift-utils.git from cache (1.59s)
Fetched https://github.com/apple/swift-log.git from cache (1.60s)
Fetched https://github.com/fwcd/swift-cairo.git from cache (1.65s)
Computing version for https://github.com/fwcd/swift-cairo.git
Computed https://github.com/fwcd/swift-cairo.git at 1.3.4 (2.22s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.81s)
Computing version for https://github.com/fwcd/swift-utils.git
Computed https://github.com/fwcd/swift-utils.git at 4.6.2 (0.44s)
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/MaxDesiatov/XMLCoder.git
[1/3916] Fetching swiftsoup
[276/13976] Fetching swiftsoup, xmlcoder
Fetched https://github.com/scinfu/SwiftSoup.git from cache (1.08s)
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (1.08s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (1.84s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.8.8 (3.09s)
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/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.17.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/fwcd/swift-utils.git
Working copy of https://github.com/fwcd/swift-utils.git resolved at 4.6.2
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.8.8
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
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-8C5A4AE7A8CE2BA.txt
[12/142] Compiling SwiftSoup BooleanAttribute.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/swift-cairo/Sources/SCCCairo/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/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
7 | //
8 |
9 | import struct SCCCairo.cairo_content_t
| `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[13/142] Compiling SwiftSoup CharacterExt.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/swift-cairo/Sources/SCCCairo/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/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
7 | //
8 |
9 | import struct SCCCairo.cairo_content_t
| `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[14/143] Compiling SwiftSoup CharacterReader.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/swift-cairo/Sources/SCCCairo/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/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
7 | //
8 |
9 | import struct SCCCairo.cairo_content_t
| `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[15/143] Compiling SwiftSoup Cleaner.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/swift-cairo/Sources/SCCCairo/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/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
7 | //
8 |
9 | import struct SCCCairo.cairo_content_t
| `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[16/143] Compiling SwiftSoup Collector.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/swift-cairo/Sources/SCCCairo/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/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
7 | //
8 |
9 | import struct SCCCairo.cairo_content_t
| `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[17/143] Compiling SwiftSoup CombiningEvaluator.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/swift-cairo/Sources/SCCCairo/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/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
7 | //
8 |
9 | import struct SCCCairo.cairo_content_t
| `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[18/143] Compiling Logging LogHandler.swift
[19/143] Compiling SwiftSoup Attributes.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/swift-cairo/Sources/SCCCairo/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/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
7 | //
8 |
9 | import struct SCCCairo.cairo_content_t
| `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[20/143] Compiling SwiftSoup BinarySearch.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/swift-cairo/Sources/SCCCairo/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/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
7 | //
8 |
9 | import struct SCCCairo.cairo_content_t
| `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[21/143] 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/swift-cairo/Sources/SCCCairo/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/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
7 | //
8 |
9 | import struct SCCCairo.cairo_content_t
| `- error: could not build C module 'SCCCairo'
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)
[22/143] 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/swift-cairo/Sources/SCCCairo/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/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
7 | //
8 |
9 | import struct SCCCairo.cairo_content_t
| `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[23/143] Compiling SwiftSoup ArrayExt.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/swift-cairo/Sources/SCCCairo/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/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
7 | //
8 |
9 | import struct SCCCairo.cairo_content_t
| `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[24/143] Compiling SwiftSoup Attribute.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/swift-cairo/Sources/SCCCairo/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/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
7 | //
8 |
9 | import struct SCCCairo.cairo_content_t
| `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[25/143] Compiling Logging MetadataProvider.swift
[26/143] Emitting module Logging
[27/143] Compiling Logging Locks.swift
[28/143] Compiling Logging Logging.swift
[29/144] Compiling SwiftSoup CssSelector.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/swift-cairo/Sources/SCCCairo/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/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
7 | //
8 |
9 | import struct SCCCairo.cairo_content_t
| `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[30/144] Compiling SwiftSoup DataNode.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/swift-cairo/Sources/SCCCairo/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/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
7 | //
8 |
9 | import struct SCCCairo.cairo_content_t
| `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[32/144] Emitting module XMLCoder
[40/150] Compiling SwiftSoup Evaluator.swift
[41/150] Compiling SwiftSoup Exception.swift
[42/150] Compiling SwiftSoup FormElement.swift
[43/150] Compiling SwiftSoup HtmlTreeBuilder.swift
[44/150] Compiling SwiftSoup ParseErrorList.swift
[45/150] Compiling SwiftSoup ParseSettings.swift
[46/150] Compiling SwiftSoup Comment.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/swift-cairo/Sources/SCCCairo/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/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
7 | //
8 |
9 | import struct SCCCairo.cairo_content_t
| `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[47/150] Compiling SwiftSoup Connection.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/swift-cairo/Sources/SCCCairo/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/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
7 | //
8 |
9 | import struct SCCCairo.cairo_content_t
| `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[48/150] Compiling SwiftSoup Parser.swift
[49/150] Compiling SwiftSoup ParsingStrings.swift
[50/150] Compiling SwiftSoup Pattern.swift
[51/150] Compiling SwiftSoup QueryParser.swift
[52/150] Compiling SwiftSoup SerializationException.swift
[53/150] Compiling SwiftSoup SimpleDictionary.swift
[61/150] Compiling SwiftSoup DataUtil.swift
[62/150] Compiling SwiftSoup Document.swift
[63/150] Compiling SwiftSoup DocumentType.swift
[64/150] Compiling SwiftSoup Element.swift
[65/150] Compiling SwiftSoup Elements.swift
[66/150] Compiling SwiftSoup Entities.swift
[66/150] Wrapping AST for Logging for debugging
[75/150] Emitting module SwiftSoup
BUILD FAILURE 6.2 android