The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-gif, reference main (d2fad7), with Swift 6.1 for Wasm on 30 May 2025 09:29:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fwcd/swift-gif.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/fwcd/swift-gif
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d2fad7b Remove ignored .swiftpm/xcode
Cloned https://github.com/fwcd/swift-gif.git
Revision (git rev-parse @):
d2fad7b399bd0a089b25cf899372e48a4af2c81e
SUCCESS checkout https://github.com/fwcd/swift-gif.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/fwcd/swift-gif.git
https://github.com/fwcd/swift-gif.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-utils",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/fwcd/swift-utils.git"
    },
    {
      "identity" : "swift-graphics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/fwcd/swift-graphics.git"
    }
  ],
  "manifest_display_name" : "swift-gif",
  "name" : "swift-gif",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "GIF",
      "targets" : [
        "GIF"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "GenerateDemoGIF",
      "targets" : [
        "GenerateDemoGIF"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "InspectGIF",
      "targets" : [
        "InspectGIF"
      ],
      "type" : {
        "snippet" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GIFTests",
      "module_type" : "SwiftTarget",
      "name" : "GIFTests",
      "path" : "Tests/GIFTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/GIFTests/Resources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Code/GIFCoderTests.swift",
        "Lzw/LzwCoderTests.swift",
        "TestLogBootstrap.swift",
        "Utils/BitDataTests.swift",
        "Utils/IndexArrayTests.swift",
        "Utils/PackedFieldByteTests.swift"
      ],
      "target_dependencies" : [
        "GIF"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GIF",
      "module_type" : "SwiftTarget",
      "name" : "GIF",
      "path" : "Sources/GIF",
      "product_dependencies" : [
        "Logging",
        "Utils",
        "CairoGraphics"
      ],
      "product_memberships" : [
        "GIF",
        "GenerateDemoGIF",
        "InspectGIF"
      ],
      "sources" : [
        "Code/GIFCodingUtils.swift",
        "Code/GIFConstants.swift",
        "Code/GIFDecoder.swift",
        "Code/GIFDecodingError.swift",
        "Code/GIFEncoder.swift",
        "Code/GIFEncodingError.swift",
        "GIFCodingExtensions.swift",
        "Lzw/LzwCodingError.swift",
        "Lzw/LzwDecoder.swift",
        "Lzw/LzwDecoderTable.swift",
        "Lzw/LzwEncoder.swift",
        "Lzw/LzwEncoderTable.swift",
        "Lzw/LzwTableMeta.swift",
        "Model/ApplicationExtension.swift",
        "Model/DisposalMethod.swift",
        "Model/Frame.swift",
        "Model/GIF.swift",
        "Model/GraphicsControlExtension.swift",
        "Model/ImageDescriptor.swift",
        "Model/LogicalScreenDescriptor.swift",
        "Quantize/ColorQuantization.swift",
        "Quantize/OctreeQuantization.swift",
        "Quantize/UniformQuantization.swift",
        "Utils/BitData.swift",
        "Utils/DataUtils.swift",
        "Utils/GIFLogHandler.swift",
        "Utils/IndexArray.swift",
        "Utils/PackedFieldByte.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GenerateDemoGIF",
      "module_type" : "SwiftTarget",
      "name" : "GenerateDemoGIF",
      "path" : "Snippets",
      "product_memberships" : [
        "GenerateDemoGIF"
      ],
      "sources" : [
        "GenerateDemoGIF.swift"
      ],
      "target_dependencies" : [
        "GIF"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "InspectGIF",
      "module_type" : "SwiftTarget",
      "name" : "InspectGIF",
      "path" : "Snippets",
      "product_memberships" : [
        "InspectGIF"
      ],
      "sources" : [
        "InspectGIF.swift"
      ],
      "target_dependencies" : [
        "GIF"
      ],
      "type" : "snippet"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/fwcd/swift-utils.git
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/fwcd/swift-graphics.git
Fetching https://github.com/apple/swift-log.git
[1/2049] Fetching swift-docc-plugin
[2/2633] Fetching swift-docc-plugin, swift-graphics
[811/6469] Fetching swift-docc-plugin, swift-graphics, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.47s)
[1/1122] Fetching swift-utils
Fetched https://github.com/fwcd/swift-graphics.git from cache (0.74s)
Fetched https://github.com/fwcd/swift-utils.git from cache (0.74s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.75s)
Computing version for https://github.com/fwcd/swift-graphics.git
Computed https://github.com/fwcd/swift-graphics.git at 4.0.3 (2.82s)
Fetching https://github.com/fwcd/swift-cairo.git
[1/3621] Fetching swift-cairo
Fetched https://github.com/fwcd/swift-cairo.git from cache (1.16s)
Computing version for https://github.com/fwcd/swift-cairo.git
Computed https://github.com/fwcd/swift-cairo.git at 1.3.4 (3.90s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.3 (0.55s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.57s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.52s)
Computing version for https://github.com/fwcd/swift-utils.git
Computed https://github.com/fwcd/swift-utils.git at 4.6.2 (0.47s)
Fetching https://github.com/MaxDesiatov/XMLCoder.git
Fetching https://github.com/scinfu/SwiftSoup.git
[1/3908] Fetching swiftsoup
[1799/13919] Fetching swiftsoup, xmlcoder
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.46s)
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (0.54s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (1.09s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.8.7 (1.21s)
Creating working copy for https://github.com/fwcd/swift-utils.git
Working copy of https://github.com/fwcd/swift-utils.git resolved at 4.6.2
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.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.6.3
Creating working copy for https://github.com/fwcd/swift-graphics.git
Working copy of https://github.com/fwcd/swift-graphics.git resolved at 4.0.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/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.8.7
Creating working copy for https://github.com/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.17.1
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.3
warning: you may be able to install freetype2 using your system-packager:
    apt-get install libfreetype6-dev
warning: you may be able to install fontconfig using your system-packager:
    apt-get install libfontconfig-dev
warning: you may be able to install cairo using your system-packager:
    apt-get install libcairo2-dev
warning: you may be able to install freetype2 using your system-packager:
    apt-get install libfreetype6-dev
warning: you may be able to install fontconfig using your system-packager:
    apt-get install libfontconfig-dev
warning: you may be able to install cairo using your system-packager:
    apt-get install libcairo2-dev
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/27] Write sources
[12/27] Write swift-version-24593BA9C3E375BF.txt
[14/146] Emitting module Logging
[15/146] Emitting module XMLCoder
[16/152] Compiling XMLCoder NullBox.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[17/152] Compiling XMLCoder SharedBox.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[18/152] Compiling XMLCoder SingleKeyedBox.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,
[19/152] Compiling XMLCoder Attribute.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[20/152] Compiling XMLCoder BoolBox.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[21/152] Compiling XMLCoder Box.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,
[22/153] Compiling Logging Locks.swift
[23/153] Compiling Cairo SurfaceType.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/153] 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,
[25/153] Compiling Logging LogHandler.swift
[26/153] Compiling Logging Logging.swift
[27/153] Compiling Logging MetadataProvider.swift
[28/154] Emitting module SwiftSoup
[29/161] Compiling XMLCoder DateBox.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/161] Compiling XMLCoder DecimalBox.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/161] Compiling XMLCoder DoubleBox.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[32/161] Compiling XMLCoder FloatBox.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/161] Compiling XMLCoder IntBox.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/161] Compiling XMLCoder KeyedBox.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/161] Compiling XMLCoder XMLKeyedDecodingContainer.swift
[37/161] Compiling XMLCoder XMLUnkeyedDecodingContainer.swift
[38/161] Compiling XMLCoder DynamicNodeEncoding.swift
[39/161] Compiling XMLCoder EncodingErrorExtension.swift
[40/161] Compiling XMLCoder SingleValueEncodingContainer.swift
[41/161] Compiling XMLCoder XMLChoiceEncodingContainer.swift
[42/161] Compiling XMLCoder DynamicNodeDecoding.swift
[43/161] Compiling XMLCoder SingleValueDecodingContainer.swift
[44/161] Compiling XMLCoder XMLChoiceDecodingContainer.swift
[45/161] Compiling XMLCoder XMLDecoder.swift
[46/161] Compiling XMLCoder XMLDecoderImplementation.swift
[47/161] Compiling XMLCoder XMLDecodingStorage.swift
[47/161] Wrapping AST for Logging for debugging
[49/161] Compiling XMLCoder ElementAndAttribute.swift
[50/161] Compiling XMLCoder ISO8601DateFormatter.swift
[51/161] Compiling XMLCoder KeyedStorage.swift
[52/161] Compiling XMLCoder Metatypes.swift
[53/161] Compiling XMLCoder String+Extensions.swift
[54/161] Compiling XMLCoder XMLChoiceCodingKey.swift
[55/161] Compiling XMLCoder XMLCoderElement.swift
[56/161] Compiling XMLCoder XMLDocumentType.swift
[57/161] Compiling XMLCoder XMLHeader.swift
[58/161] Compiling XMLCoder XMLKey.swift
[59/161] Compiling XMLCoder XMLStackParser.swift
[60/161] Compiling XMLCoder DecodingErrorExtension.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 |     init() {
38 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
39 |     }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 |     deinit {
42 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
43 |     }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 |     func lock() {
46 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
47 |     }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 |     func unlock() {
50 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
51 |     }
52 | #endif
[83/161] Compiling XMLCoder ChoiceBox.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,
[84/161] Compiling XMLCoder DataBox.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,
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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 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
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/17] Write swift-version-24593BA9C3E375BF.txt
[4/136] Compiling Logging Locks.swift
[5/136] Compiling Logging MetadataProvider.swift
[6/136] 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,
[7/136] 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,
[8/137] Emitting module Logging
[9/137] 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,
[10/137] 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,
[11/137] 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,
[12/137] Emitting module XMLCoder
[13/137] 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,
[14/137] 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,
[15/137] 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,
[16/137] 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,
[17/137] 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,
[18/137] 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,
[19/143] Compiling Cairo Font.swift
[20/143] Compiling Cairo ImageFormat.swift
[26/143] Compiling SwiftSoup Evaluator.swift
[27/143] Compiling SwiftSoup Exception.swift
[28/143] Compiling SwiftSoup FormElement.swift
[29/143] Compiling SwiftSoup HtmlTreeBuilder.swift
[30/143] Compiling SwiftSoup HtmlTreeBuilderState.swift
[31/143] Compiling SwiftSoup HttpStatusException.swift
[33/143] Compiling Cairo Content.swift
[34/143] Compiling Cairo Context.swift
[39/143] Compiling SwiftSoup CharacterReader.swift
[40/143] Compiling SwiftSoup Cleaner.swift
[41/143] Compiling SwiftSoup DocumentType.swift
[42/143] Compiling SwiftSoup Element.swift
[43/143] Compiling SwiftSoup Elements.swift
[44/143] Compiling SwiftSoup Entities.swift
[45/143] Compiling Logging LogHandler.swift
[46/143] Compiling Logging Logging.swift
[56/151] Compiling SwiftSoup Mutex.swift
[57/151] Compiling SwiftSoup Node.swift
[58/151] Compiling SwiftSoup NodeTraversor.swift
[59/151] Compiling SwiftSoup NodeVisitor.swift
[60/151] Compiling SwiftSoup OrderedSet.swift
[61/151] Compiling SwiftSoup ParseError.swift
[61/151] Wrapping AST for Logging for debugging
[63/151] Compiling SwiftSoup SerializationException.swift
[64/151] Compiling SwiftSoup SimpleDictionary.swift
[65/151] Compiling SwiftSoup StreamReader.swift
[66/151] Compiling SwiftSoup String.swift
[67/151] Compiling SwiftSoup StringBuilder.swift
[68/151] Compiling SwiftSoup StringUtil.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[69/151] 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,
<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,
[74/151] Compiling SwiftSoup ParseErrorList.swift
[75/151] Compiling SwiftSoup ParseSettings.swift
[76/151] Compiling SwiftSoup Parser.swift
[77/151] Compiling SwiftSoup ParsingStrings.swift
[78/151] Compiling SwiftSoup Pattern.swift
[79/151] Compiling SwiftSoup QueryParser.swift
[80/151] Emitting module SwiftSoup
BUILD FAILURE 6.1 wasm