Build Information
Failed to build pixivswift, reference v1.1.10 (72a109), with Swift 6.4 for Linux on 21 Sep 2026 15:19:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/theBreadCompany/pixivswift.git
Reference: v1.1.10
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/theBreadCompany/pixivswift
* tag v1.1.10 -> FETCH_HEAD
HEAD is now at 72a1095 fix commits for ZIPFoundation and SwiftGD because neither pushed their bug fixes as patches yet
Cloned https://github.com/theBreadCompany/pixivswift.git
Revision (git rev-parse @):
72a109589344e6281c6327cf568cea0c123ee216
SUCCESS checkout https://github.com/theBreadCompany/pixivswift.git at v1.1.10
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/theBreadCompany/pixivswift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/weichsel/ZIPFoundation.git
[1/6361] Fetching zipfoundation
Fetched https://github.com/weichsel/ZIPFoundation.git (0.74s)
warning: 'zipfoundation': /Package@swift-5.9.swift:23:61: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
21 | name: "ZIPFoundation",
22 | platforms: [
23 | .macOS(.v10_13), .iOS(.v12), .tvOS(.v12), .watchOS(.v4), .visionOS(.v1)
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
24 | ],
25 | products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/twostraws/SwiftGD
[1/491] Fetching swiftgd
Fetched https://github.com/twostraws/SwiftGD (0.52s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/fwcd/swift-gif.git
[1/1151] Fetching swift-gif
[635/19700] Fetching swift-gif, swift-crypto
Fetched https://github.com/fwcd/swift-gif.git (0.53s)
[557/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.28s)
Computing version for https://github.com/fwcd/swift-gif.git
Computed https://github.com/fwcd/swift-gif.git at 2.1.0 (1.49s)
Fetching https://github.com/fwcd/swift-utils.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/fwcd/swift-graphics.git
Fetching https://github.com/apple/swift-log.git
[1/1122] Fetching swift-utils
[978/1706] Fetching swift-utils, swift-graphics
[1707/9838] Fetching swift-utils, swift-graphics, swift-log
[9839/28756] Fetching swift-utils, swift-graphics, swift-log, swift-argument-parser
Fetched https://github.com/fwcd/swift-graphics.git (0.78s)
Fetched https://github.com/fwcd/swift-utils.git (0.78s)
Fetched https://github.com/apple/swift-log.git (0.78s)
Fetched https://github.com/apple/swift-argument-parser.git (0.78s)
Computing version for https://github.com/fwcd/swift-graphics.git
Computed https://github.com/fwcd/swift-graphics.git at 2.1.0 (0.99s)
Fetching https://github.com/fwcd/swift-cairo.git
[1/3621] Fetching swift-cairo
Fetched https://github.com/fwcd/swift-cairo.git (1.10s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.3.2 (1.31s)
Computing version for https://github.com/fwcd/swift-cairo.git
Computed https://github.com/fwcd/swift-cairo.git at 1.3.4 (0.19s)
Computing version for https://github.com/fwcd/swift-utils.git
Computed https://github.com/fwcd/swift-utils.git at 2.2.2 (0.18s)
Fetching https://github.com/MaxDesiatov/XMLCoder.git
Fetching https://github.com/scinfu/SwiftSoup.git
[1/10129] Fetching xmlcoder
[10130/16606] Fetching xmlcoder, swiftsoup
Fetched https://github.com/MaxDesiatov/XMLCoder.git (0.82s)
Fetched https://github.com/scinfu/SwiftSoup.git (0.82s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.18.2 (1.02s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.21s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.27s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.47s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.58s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.13.9 (0.17s)
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/fwcd/swift-gif.git
Working copy of https://github.com/fwcd/swift-gif.git resolved at 2.1.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.18.2
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 0.3.2
Creating working copy for https://github.com/fwcd/swift-graphics.git
Working copy of https://github.com/fwcd/swift-graphics.git resolved at 2.1.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.15.1
Creating working copy for https://github.com/fwcd/swift-utils.git
Working copy of https://github.com/fwcd/swift-utils.git resolved at 2.2.2
Creating working copy for https://github.com/twostraws/SwiftGD
Working copy of https://github.com/twostraws/SwiftGD resolved at 07650dcb343d5b045598459fd3aad0936e0259bf
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at fac78dfe5a886ad98e355ba98475b30b3753213a
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.13.9
warning: 'zipfoundation': /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Package@swift-5.9.swift:23:61: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
21 | name: "ZIPFoundation",
22 | platforms: [
23 | .macOS(.v10_13), .iOS(.v12), .tvOS(.v12), .watchOS(.v4), .visionOS(.v1)
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
24 | ],
25 | products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
warning: 'swiftgd': you may be able to install gdlib using your system-packager:
apt-get install libgd-dev
warning: 'swift-cairo': you may be able to install freetype2 using your system-packager:
apt-get install libfreetype6-dev
warning: 'swift-cairo': you may be able to install fontconfig using your system-packager:
apt-get install libfontconfig-dev
warning: 'swift-cairo': you may be able to install cairo using your system-packager:
apt-get install libcairo2-dev
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 576]
[Planning deferred tasks]
[Starting]
[114 / 586] CryptoBoringWrapper
[123 / 648] XMLCoder
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
<module-includes>:1:10: [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m1 |[0;0m #include "shim.h"
[0;36m|[0;0m `- [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m2 |[0;0m
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: [1;31merror: [1;39m'cairo.h' file not found[0;0m
[0;36m1 |[0;0m #include <cairo.h>
[0;36m|[0;0m `- [1;31merror: [1;39m'cairo.h' file not found[0;0m
[0;36m2 |[0;0m #include <cairo-pdf.h>
[0;36m3 |[0;0m #include <cairo-svg.h>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: [1;31merror: [1;39mcould not build C module 'SCCCairo'[0;0m
[0;36m7 |[0;0m //
[0;36m8 |[0;0m
[0;36m9 |[0;0m import struct SCCCairo.cairo_content_t
[0;36m|[0;0m `- [1;31merror: [1;39mcould not build C module 'SCCCairo'[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m /// Used to describe the content that a surface will contain, whether color information,
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift /host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Context.swift /host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Font.swift /host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/ImageFormat.swift /host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Matrix.swift /host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Path.swift /host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Pattern.swift /host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/QuickLook.swift /host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Status.swift /host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Surface.swift /host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/SurfaceImage.swift /host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/SurfacePDF.swift /host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/SurfacePNG.swift /host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/SurfaceSVG.swift /host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/SurfaceType.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCFreeType/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCFontConfig/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cairo.build/Debug-linux-x86_64/Cairo-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cairo.build/Debug-linux-x86_64/Cairo-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cairo.build/Debug-linux-x86_64/Cairo-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Cairo -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cairo.build/Debug-linux-x86_64/Cairo-t.build/Objects-normal/x86_64/Cairo_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cairo.build/Debug-linux-x86_64/Cairo-t.build/Objects-normal/x86_64/Modules/Cairo.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cairo.build/Debug-linux-x86_64/Cairo-t.build/Objects-normal/x86_64/Modules/Cairo.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cairo.build/Debug-linux-x86_64/Cairo-t.build/Objects-normal/x86_64/Cairo-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cairo.build/Debug-linux-x86_64/Cairo-t.build/Objects-normal/x86_64/Cairo-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cairo.build/Debug-linux-x86_64/Cairo-t.build/Objects-normal/x86_64/Cairo-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cairo.build/Debug-linux-x86_64/Cairo-t.build/Objects-normal/x86_64/Modules/Cairo.swiftmodule
<module-includes>:1:10: [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m1 |[0;0m #include "swiftgd_gd.h"
[0;36m|[0;0m `- [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m2 |[0;0m
/host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/gd/swiftgd_gd.h:1:10: [1;31merror: [1;39m'gd.h' file not found[0;0m
[0;36m1 |[0;0m #include <gd.h>
[0;36m|[0;0m `- [1;31merror: [1;39m'gd.h' file not found[0;0m
/host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/SwiftGD/Format.swift:8:8: [1;31merror: [1;39mcould not build C module 'gd'[0;0m
[0;36m6 |[0;0m
[0;36m7 |[0;0m import Foundation
[0;36m8 |[0;0m import gd
[0;36m|[0;0m `- [1;31merror: [1;39mcould not build C module 'gd'[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m // MARK: - Importable & Exportable Formatter
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/SwiftGD/Color.swift /host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/SwiftGD/Error.swift /host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/SwiftGD/Format.swift /host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/SwiftGD/Geometry/Angle.swift /host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/SwiftGD/Geometry/Point.swift /host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/SwiftGD/Geometry/Rectangle.swift /host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/SwiftGD/Geometry/Size.swift /host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/SwiftGD/Image.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/gd/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftGD.build/Debug-linux-x86_64/SwiftGD-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftGD.build/Debug-linux-x86_64/SwiftGD-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftGD.build/Debug-linux-x86_64/SwiftGD-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftGD -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftGD.build/Debug-linux-x86_64/SwiftGD-t.build/Objects-normal/x86_64/SwiftGD_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftGD.build/Debug-linux-x86_64/SwiftGD-t.build/Objects-normal/x86_64/Modules/SwiftGD.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftGD.build/Debug-linux-x86_64/SwiftGD-t.build/Objects-normal/x86_64/Modules/SwiftGD.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftGD.build/Debug-linux-x86_64/SwiftGD-t.build/Objects-normal/x86_64/SwiftGD-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftGD.build/Debug-linux-x86_64/SwiftGD-t.build/Objects-normal/x86_64/SwiftGD-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftGD.build/Debug-linux-x86_64/SwiftGD-t.build/Objects-normal/x86_64/SwiftGD-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftGD.build/Debug-linux-x86_64/SwiftGD-t.build/Objects-normal/x86_64/Modules/SwiftGD.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux