The Swift Package Index logo.Swift Package Index

Build Information

Failed to build pixivswift, reference master (eb5969), 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-54344847-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/theBreadCompany/pixivswift.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at eb59695 bump swift-tools-version to 5.6
Cloned https://github.com/theBreadCompany/pixivswift.git
Revision (git rev-parse @):
eb5969571d62ee9683fbbc488a66ffd6c70dc26a
SUCCESS checkout https://github.com/theBreadCompany/pixivswift.git at master
========================================
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-54344847-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.66s)
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.41s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/fwcd/swift-gif.git
[1/1151] Fetching swift-gif
[658/19700] Fetching swift-gif, swift-crypto
Fetched https://github.com/fwcd/swift-gif.git (0.50s)
[928/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.18s)
Computing version for https://github.com/fwcd/swift-gif.git
Computed https://github.com/fwcd/swift-gif.git at 2.1.0 (1.40s)
Fetching https://github.com/fwcd/swift-utils.git
Fetching https://github.com/fwcd/swift-graphics.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-log.git
[1/1122] Fetching swift-utils
[1123/1706] Fetching swift-utils, swift-graphics
[1707/9838] Fetching swift-utils, swift-graphics, swift-log
Fetched https://github.com/fwcd/swift-utils.git (0.43s)
[666/8716] Fetching swift-graphics, swift-log
[8067/27634] Fetching swift-graphics, swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-log.git (0.57s)
[2855/19502] Fetching swift-graphics, swift-argument-parser
Fetched https://github.com/fwcd/swift-graphics.git (0.77s)
Fetched https://github.com/apple/swift-argument-parser.git (0.77s)
Computing version for https://github.com/fwcd/swift-graphics.git
Computed https://github.com/fwcd/swift-graphics.git at 2.1.0 (0.98s)
Fetching https://github.com/fwcd/swift-cairo.git
[1/3621] Fetching swift-cairo
Fetched https://github.com/fwcd/swift-cairo.git (1.26s)
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.47s)
Computing version for https://github.com/fwcd/swift-cairo.git
Computed https://github.com/fwcd/swift-cairo.git at 1.3.4 (0.20s)
Computing version for https://github.com/fwcd/swift-utils.git
Computed https://github.com/fwcd/swift-utils.git at 2.2.2 (0.20s)
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.79s)
Fetched https://github.com/scinfu/SwiftSoup.git (0.79s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.18.2 (1.00s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.22s)
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.46s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.57s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.13.9 (0.16s)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.13.9
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/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/twostraws/SwiftGD
Working copy of https://github.com/twostraws/SwiftGD resolved at 07650dcb343d5b045598459fd3aad0936e0259bf
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/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/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/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/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/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at fac78dfe5a886ad98e355ba98475b30b3753213a
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
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]
[123 / 648] SwiftSoup
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "swiftgd_gd.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/gd/swiftgd_gd.h:1:10: error: 'gd.h' file not found
1 | #include <gd.h>
  |          `- error: 'gd.h' file not found
/host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/SwiftGD/Format.swift:8:8: error: could not build C module 'gd'
  6 |
  7 | import Foundation
  8 | import gd
    |        `- error: could not build C module 'gd'
  9 |
 10 | // 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