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 pixivswift, reference v1.1.10 (72a109), with Swift 6.1 for Linux on 30 Apr 2025 03:28:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
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.1
Building package at path:  $PWD
https://github.com/theBreadCompany/pixivswift.git
https://github.com/theBreadCompany/pixivswift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "zipfoundation",
      "requirement" : {
        "revision" : [
          "fac78dfe5a886ad98e355ba98475b30b3753213a"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/weichsel/ZIPFoundation.git"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    },
    {
      "identity" : "swift-gif",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/fwcd/swift-gif.git"
    },
    {
      "identity" : "swiftgd",
      "requirement" : {
        "revision" : [
          "07650dcb343d5b045598459fd3aad0936e0259bf"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/twostraws/SwiftGD"
    }
  ],
  "manifest_display_name" : "pixivswift",
  "name" : "pixivswift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "pixivswift",
      "targets" : [
        "pixivswift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "pixivswiftWrapper",
      "targets" : [
        "pixivswiftWrapper",
        "pixivswift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "pixivauth",
      "targets" : [
        "pixivauth"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "pixivswiftWrapperTests",
      "module_type" : "SwiftTarget",
      "name" : "pixivswiftWrapperTests",
      "path" : "Tests/pixivswiftWrapperTests",
      "sources" : [
        "TestErrors.swift",
        "bookmarks.swift",
        "core.swift",
        "follow.swift",
        "ugoira.swift"
      ],
      "target_dependencies" : [
        "pixivswiftWrapper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "pixivswiftWrapper",
      "module_type" : "SwiftTarget",
      "name" : "pixivswiftWrapper",
      "path" : "Sources/pixivswiftWrapper",
      "product_dependencies" : [
        "ZIPFoundation",
        "GIF",
        "SwiftGD"
      ],
      "product_memberships" : [
        "pixivswiftWrapper"
      ],
      "sources" : [
        "File.swift",
        "PixivDownloader+Metadata.swift",
        "PixivDownloader.swift",
        "utils.swift"
      ],
      "target_dependencies" : [
        "pixivswift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "pixivswiftTests",
      "module_type" : "SwiftTarget",
      "name" : "pixivswiftTests",
      "path" : "Tests/pixivswiftTests",
      "sources" : [
        "TestErrors.swift",
        "bookmarks.swift",
        "core.swift",
        "related.swift"
      ],
      "target_dependencies" : [
        "pixivswift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "pixivswift",
      "module_type" : "SwiftTarget",
      "name" : "pixivswift",
      "path" : "Sources/pixivswift",
      "product_dependencies" : [
        "Crypto"
      ],
      "product_memberships" : [
        "pixivswift",
        "pixivswiftWrapper",
        "pixivauth"
      ],
      "sources" : [
        "PixivResults+Helper.swift",
        "PixivResults+Operators.swift",
        "PixivResults.swift",
        "aapi+completionHandlers.swift",
        "aapi+newNames.swift",
        "aapi.swift",
        "api.swift",
        "headless_login.swift",
        "utils.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "pixivauth",
      "module_type" : "SwiftTarget",
      "name" : "pixivauth",
      "path" : "Sources/pixivauth",
      "product_memberships" : [
        "pixivauth"
      ],
      "sources" : [
        "AppDelegate.swift",
        "ViewController.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "pixivswift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/weichsel/ZIPFoundation.git
[1/5562] Fetching zipfoundation
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (0.50s)
Fetching https://github.com/twostraws/SwiftGD
[1/444] Fetching swiftgd
Fetched https://github.com/twostraws/SwiftGD from cache (0.22s)
Fetching https://github.com/fwcd/swift-gif.git
Fetching https://github.com/apple/swift-crypto.git
[1/1151] Fetching swift-gif
[1152/14935] Fetching swift-gif, swift-crypto
Fetched https://github.com/fwcd/swift-gif.git from cache (0.36s)
[2206/13784] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.42s)
Computing version for https://github.com/fwcd/swift-gif.git
Computed https://github.com/fwcd/swift-gif.git at 2.1.0 (1.98s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/fwcd/swift-graphics.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/fwcd/swift-utils.git
[1/1122] Fetching swift-utils
[1123/4958] Fetching swift-utils, swift-log
[1929/5542] Fetching swift-utils, swift-log, swift-graphics
Fetched https://github.com/fwcd/swift-utils.git from cache (0.21s)
[2311/4420] Fetching swift-log, swift-graphics
[4421/19370] Fetching swift-log, swift-graphics, swift-argument-parser
Fetched https://github.com/fwcd/swift-graphics.git from cache (0.82s)
Fetched https://github.com/apple/swift-log.git from cache (0.82s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.82s)
Computing version for https://github.com/fwcd/swift-graphics.git
Computed https://github.com/fwcd/swift-graphics.git at 2.1.0 (1.34s)
Fetching https://github.com/fwcd/swift-cairo.git
[1/3621] Fetching swift-cairo
Fetched https://github.com/fwcd/swift-cairo.git from cache (0.97s)
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.45s)
Computing version for https://github.com/fwcd/swift-cairo.git
Computed https://github.com/fwcd/swift-cairo.git at 1.3.4 (0.47s)
Computing version for https://github.com/fwcd/swift-utils.git
Computed https://github.com/fwcd/swift-utils.git at 2.2.2 (0.51s)
Fetching https://github.com/MaxDesiatov/XMLCoder.git
Fetching https://github.com/scinfu/SwiftSoup.git
[1/10011] Fetching xmlcoder
[2805/13919] Fetching xmlcoder, swiftsoup
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (0.47s)
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.48s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (0.96s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.43s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (1.48s)
Fetching https://github.com/apple/swift-asn1.git
[1/1584] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.24s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.74s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.8.7 (0.46s)
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/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/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
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/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/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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
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/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.17.1
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.8.7
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/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at fac78dfe5a886ad98e355ba98475b30b3753213a
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 gdlib using your system-packager:
    apt-get install libgd-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
warning: you may be able to install gdlib using your system-packager:
    apt-get install libgd-dev
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/382] Compiling a_i2d_fp.cc
[1/382] Compiling a_gentm.cc
[2/382] Write sources
[17/382] Compiling a_bool.cc
[18/382] Compiling a_dup.cc
[19/382] Compiling a_int.cc
[19/382] Compiling a_d2i_fp.cc
[21/382] Compiling a_mbstr.cc
[22/382] Compiling fiat_p256_adx_sqr.S
[23/382] Compiling fiat_p256_adx_mul.S
[24/382] Compiling fiat_curve25519_adx_square.S
[25/382] Compiling fiat_curve25519_adx_mul.S
[26/382] Compiling md5-x86_64-linux.S
[27/382] Compiling a_bitstr.cc
[28/382] Compiling md5-x86_64-apple.S
[29/382] Compiling md5-586-apple.S
[30/382] Compiling md5-586-linux.S
[31/382] Compiling chacha20_poly1305_x86_64-apple.S
[32/382] Write swift-version-24593BA9C3E375BF.txt
[33/382] Compiling chacha20_poly1305_armv8-linux.S
[34/382] Compiling chacha20_poly1305_armv8-win.S
[35/382] Compiling chacha20_poly1305_armv8-apple.S
[36/382] Compiling chacha20_poly1305_x86_64-linux.S
[37/382] Compiling chacha-x86_64-apple.S
[38/382] Compiling chacha-x86_64-linux.S
[39/382] Compiling CCryptoBoringSSLShims shims.c
[40/382] Compiling chacha-x86-linux.S
[41/382] Compiling err_data.cc
[42/382] Compiling chacha-x86-apple.S
[43/405] Compiling chacha-armv8-win.S
[44/407] Compiling chacha-armv8-linux.S
[45/529] Compiling chacha-armv8-apple.S
[46/529] Compiling chacha-armv4-linux.S
[47/529] Compiling aes128gcmsiv-x86_64-apple.S
[48/529] Compiling aes128gcmsiv-x86_64-linux.S
[49/529] Compiling x86_64-mont5-linux.S
[50/529] Compiling x86_64-mont5-apple.S
[51/529] Compiling x86_64-mont-linux.S
[52/529] Compiling x86_64-mont-apple.S
[53/529] Compiling x86-mont-linux.S
[54/529] Compiling x86-mont-apple.S
[55/529] Compiling vpaes-x86_64-linux.S
[56/529] Compiling vpaes-x86_64-apple.S
[57/529] Compiling vpaes-x86-linux.S
[58/529] Compiling vpaes-x86-apple.S
[59/529] Compiling vpaes-armv8-win.S
[60/529] Compiling vpaes-armv8-linux.S
[61/529] Compiling vpaes-armv8-apple.S
[62/529] Compiling vpaes-armv7-linux.S
[63/529] Compiling sha512-x86_64-apple.S
[64/529] Compiling sha512-x86_64-linux.S
[65/529] Compiling sha512-armv8-win.S
[66/529] Compiling sha512-armv8-linux.S
[67/529] Compiling sha512-armv8-apple.S
[68/529] Compiling sha512-armv4-linux.S
[69/529] Compiling sha512-586-linux.S
[70/529] Compiling sha512-586-apple.S
[71/529] Compiling sha256-x86_64-apple.S
[72/529] Compiling sha256-x86_64-linux.S
[73/529] Compiling sha256-armv8-win.S
[74/529] Compiling sha256-armv8-linux.S
[75/529] Compiling sha256-armv8-apple.S
[76/529] Compiling sha256-armv4-linux.S
[77/529] Compiling sha256-586-linux.S
[78/529] Compiling sha256-586-apple.S
[79/529] Compiling sha1-x86_64-linux.S
[80/529] Compiling sha1-x86_64-apple.S
[81/529] Compiling sha1-armv8-win.S
[82/529] Compiling sha1-armv8-linux.S
[83/529] Compiling sha1-armv8-apple.S
[84/529] Compiling sha1-586-linux.S
[85/529] Compiling sha1-armv4-large-linux.S
[86/529] Compiling rsaz-avx2-linux.S
[87/529] Compiling sha1-586-apple.S
[88/529] Compiling rsaz-avx2-apple.S
[89/529] Compiling rdrand-x86_64-linux.S
[90/529] Compiling p256_beeu-x86_64-asm-linux.S
[91/529] Compiling rdrand-x86_64-apple.S
[92/529] Compiling p256_beeu-x86_64-asm-apple.S
[93/529] Compiling p256_beeu-armv8-asm-win.S
[94/529] Compiling p256_beeu-armv8-asm-linux.S
[95/529] Compiling p256_beeu-armv8-asm-apple.S
[96/529] Compiling p256-x86_64-asm-apple.S
[96/529] Compiling p256-x86_64-asm-linux.S
[98/529] Compiling p256-armv8-asm-win.S
[99/529] Compiling p256-armv8-asm-apple.S
[100/529] Compiling p256-armv8-asm-linux.S
[101/529] Compiling ghashv8-armv8-win.S
[102/529] Compiling ghashv8-armv8-linux.S
[103/529] Compiling ghashv8-armv8-apple.S
[104/529] Compiling ghashv8-armv7-linux.S
[105/529] Compiling ghash-x86_64-apple.S
[106/529] Compiling ghash-x86_64-linux.S
[107/529] Compiling ghash-x86-apple.S
[108/529] Compiling ghash-x86-linux.S
[109/529] Compiling ghash-ssse3-x86_64-linux.S
[110/529] Compiling ghash-ssse3-x86_64-apple.S
[111/529] Compiling ghash-ssse3-x86-linux.S
[112/529] Compiling ghash-ssse3-x86-apple.S
[113/529] Compiling ghash-neon-armv8-win.S
[114/529] Compiling ghash-neon-armv8-linux.S
[115/529] Compiling ghash-neon-armv8-apple.S
[116/529] Compiling ghash-armv4-linux.S
[117/529] Compiling co-586-apple.S
[118/529] Compiling co-586-linux.S
[119/529] Compiling bn-armv8-win.S
[120/529] Compiling bsaes-armv7-linux.S
[121/529] Compiling bn-armv8-linux.S
[121/529] Compiling bn-armv8-apple.S
[123/529] Compiling bn-586-apple.S
[124/529] Compiling bn-586-linux.S
[125/529] Compiling armv8-mont-win.S
[126/529] Compiling armv8-mont-linux.S
[127/529] Compiling armv8-mont-apple.S
[128/529] Compiling armv4-mont-linux.S
[130/529] Emitting module XMLCoder
[130/535] Compiling aesv8-gcm-armv8-win.S
[131/535] Compiling aesv8-gcm-armv8-linux.S
[132/535] Compiling aesv8-gcm-armv8-apple.S
[133/535] Compiling aesv8-armv8-linux.S
[135/535] Compiling SwiftGD Rectangle.swift
<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
[135/536] Compiling aesv8-armv8-apple.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[137/536] Emitting module SwiftGD
<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
[138/536] Compiling SwiftGD Color.swift
<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
[138/536] Compiling aesv8-armv7-linux.S
[139/536] Compiling aesv8-armv8-win.S
[140/536] Compiling aesni-x86_64-apple.S
[142/536] Compiling SwiftGD Point.swift
<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
[143/536] Compiling SwiftGD Size.swift
<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
[144/536] Compiling SwiftSoup Elements.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,
[145/536] Compiling SwiftSoup Entities.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,
[146/536] Compiling SwiftSoup FormElement.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,
[147/536] Compiling SwiftSoup HtmlTreeBuilder.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,
[147/536] Compiling aesni-x86_64-linux.S
[148/537] Compiling aesni-x86-linux.S
[150/537] Compiling Logging LogHandler.swift
[151/537] Compiling SwiftGD Angle.swift
<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
[151/537] Compiling aesni-x86-apple.S
[152/537] Compiling aesni-gcm-x86_64-apple.S
[153/537] Compiling aesni-gcm-x86_64-linux.S
[154/537] Compiling aes-gcm-avx10-x86_64-linux.S
[155/537] Compiling aes-gcm-avx10-x86_64-apple.S
[157/537] 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,
[158/537] Compiling Logging Locks.swift
[159/537] Emitting module Logging
[160/537] Compiling Logging MetadataProvider.swift
[161/537] Compiling Logging Logging.swift
[161/538] Compiling x_x509a.cc
[162/538] Compiling x_x509.cc
[165/538] Compiling SwiftSoup DocumentType.swift
[166/538] Compiling SwiftSoup Element.swift
[169/538] Compiling SwiftSoup Evaluator.swift
[170/538] Compiling SwiftSoup Exception.swift
[172/538] Compiling SwiftSoup CharacterReader.swift
[173/538] Compiling SwiftSoup Cleaner.swift
[174/538] Compiling SwiftSoup HtmlTreeBuilderState.swift
[175/538] Compiling SwiftSoup HttpStatusException.swift
[176/538] Compiling SwiftSoup Mutex.swift
[177/538] Compiling SwiftSoup Node.swift
[179/538] Compiling SwiftSoup ArrayExt.swift
[180/538] Compiling SwiftSoup Attribute.swift
[181/538] Compiling SwiftSoup Attributes.swift
[182/538] Compiling SwiftSoup BinarySearch.swift
[183/538] Compiling SwiftSoup BooleanAttribute.swift
[184/538] Compiling SwiftSoup CharacterExt.swift
[185/538] Compiling SwiftSoup NodeTraversor.swift
[186/538] Compiling SwiftSoup NodeVisitor.swift
[187/538] Compiling SwiftSoup OrderedSet.swift
[188/538] Compiling SwiftSoup ParseError.swift
[189/538] Compiling SwiftSoup Collector.swift
[190/538] 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,
<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,
[193/538] Compiling XMLCoder XMLEncoder.swift
[194/538] Compiling XMLCoder XMLEncoderImplementation.swift
[195/538] Compiling XMLCoder XMLEncodingStorage.swift
[196/538] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[197/538] Compiling XMLCoder XMLReferencingEncoder.swift
[198/538] Compiling XMLCoder XMLUnkeyedEncodingContainer.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,
<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,
<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,
<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,
[205/540] Compiling SwiftSoup Comment.swift
[206/540] Compiling SwiftSoup Connection.swift
[207/540] Compiling SwiftSoup CssSelector.swift
[208/540] Compiling SwiftSoup DataNode.swift
[209/540] Compiling SwiftSoup DataUtil.swift
[210/540] Compiling SwiftSoup Document.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[211/540] 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,
[212/540] Compiling SwiftSoup ParseErrorList.swift
[213/540] Compiling SwiftSoup ParseSettings.swift
[214/540] Compiling SwiftSoup Parser.swift
[215/540] Compiling SwiftSoup ParsingStrings.swift
[216/540] Compiling SwiftSoup Pattern.swift
[217/540] Compiling SwiftSoup QueryParser.swift
[218/540] Compiling SwiftSoup SerializationException.swift
[219/540] Compiling SwiftSoup SimpleDictionary.swift
[220/540] Compiling SwiftSoup StreamReader.swift
[221/540] Compiling SwiftSoup String.swift
[222/540] Compiling SwiftSoup StringBuilder.swift
[223/540] Compiling SwiftSoup StringUtil.swift
[224/541] Compiling SwiftGD Error.swift
<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
[225/541] Compiling SwiftGD Format.swift
<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
<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,
<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,
<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,
<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,
[230/541] Compiling SwiftGD Image.swift
<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
[230/541] Compiling x_val.cc
[230/541] Compiling x_spki.cc
[234/541] Compiling x_sig.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
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 gdlib using your system-packager:
    apt-get install libgd-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
warning: you may be able to install gdlib using your system-packager:
    apt-get install libgd-dev
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
[0/1] Planning build
Building for debugging...
[0/237] Compiling x_spki.cc
[1/237] Compiling x_req.cc
[2/237] Compiling x_sig.cc
[3/237] Compiling x_name.cc
[4/237] Compiling x_val.cc
[5/237] Compiling x_exten.cc
[6/237] Compiling x_pubkey.cc
[7/237] Compiling x_crl.cc
[8/237] Write swift-version-24593BA9C3E375BF.txt
[9/237] Compiling x_algor.cc
[10/237] Compiling x509spki.cc
[11/237] Compiling x509name.cc
[12/237] Compiling x_attrib.cc
[13/237] Compiling x_all.cc
[14/237] Compiling x509cset.cc
[15/254] Compiling x509rset.cc
[16/265] Compiling x509_vpm.cc
[18/384] Compiling SwiftGD Angle.swift
<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
[19/385] Compiling SwiftGD Size.swift
<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
[20/385] Compiling SwiftGD Point.swift
<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
[21/385] Compiling SwiftGD Rectangle.swift
<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
[22/385] Compiling Cairo Matrix.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,
[23/385] Compiling Cairo Path.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/386] Compiling SwiftGD Color.swift
<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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/386] Emitting module SwiftGD
<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
[26/386] Compiling SwiftGD Error.swift
<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
[27/386] Compiling SwiftGD Format.swift
<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
[28/386] Compiling Logging MetadataProvider.swift
[29/386] Compiling Cairo Pattern.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/386] Compiling Cairo QuickLook.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,
[31/386] Compiling Logging LogHandler.swift
[32/386] Compiling Cairo SurfacePNG.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,
[33/386] Compiling Cairo SurfaceSVG.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,
[34/386] Compiling Cairo Content.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,
[35/386] Compiling Cairo Context.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,
[36/386] Compiling Cairo Status.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,
[37/386] Compiling Cairo Surface.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,
[38/386] Compiling Cairo SurfaceImage.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,
[39/386] Compiling Cairo SurfacePDF.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,
[40/386] 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,
[41/386] Emitting module ZIPFoundation
[42/388] Emitting module Logging
[43/388] Compiling Logging Locks.swift
[44/388] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[45/388] Compiling ZIPFoundation URL+ZIP.swift
[56/394] Compiling Cairo Font.swift
[57/394] Compiling Cairo ImageFormat.swift
[60/394] Compiling SwiftSoup FormElement.swift
[61/394] Compiling SwiftSoup HtmlTreeBuilder.swift
[62/394] Compiling SwiftSoup Collector.swift
[63/394] Compiling SwiftSoup CombiningEvaluator.swift
[64/394] Compiling SwiftSoup Comment.swift
[66/394] Emitting module XMLCoder
[66/394] Compiling x509_vfy.cc
[70/394] Compiling x509_v3.cc
[78/394] Compiling SwiftGD Image.swift
<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
[78/394] Compiling x509_txt.cc
<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>
[81/394] Compiling x509_trs.cc
BUILD FAILURE 6.1 linux