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 v5.0.0 (0b6599), with Swift 6.1 for Wasm on 30 May 2025 09:29:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: v5.0.0
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
 * tag               v5.0.0     -> FETCH_HEAD
HEAD is now at 0b6599e Merge pull request #5 (faster encoding)
Cloned https://github.com/fwcd/swift-gif.git
Revision (git rev-parse @):
0b6599e72580efbcac3bac3b02ee82eb1cc6b15a
SUCCESS checkout https://github.com/fwcd/swift-gif.git at v5.0.0
========================================
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-1":/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-graphics.git
Fetching https://github.com/apple/swift-log.git
[1/584] Fetching swift-graphics
[585/4420] Fetching swift-graphics, swift-log
Fetching https://github.com/fwcd/swift-utils.git
Fetching https://github.com/apple/swift-docc-plugin.git
Fetched https://github.com/fwcd/swift-graphics.git from cache (0.43s)
Fetched https://github.com/apple/swift-log.git from cache (0.43s)
[1/1122] Fetching swift-utils
Fetched https://github.com/fwcd/swift-utils.git from cache (0.29s)
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.48s)
Computing version for https://github.com/fwcd/swift-graphics.git
Computed https://github.com/fwcd/swift-graphics.git at 4.0.3 (3.65s)
Fetching https://github.com/fwcd/swift-cairo.git
[1/3621] Fetching swift-cairo
Fetched https://github.com/fwcd/swift-cairo.git from cache (1.06s)
Computing version for https://github.com/fwcd/swift-cairo.git
Computed https://github.com/fwcd/swift-cairo.git at 1.3.4 (1.70s)
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.92s)
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.52s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.03s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.48s)
Computing version for https://github.com/fwcd/swift-utils.git
Computed https://github.com/fwcd/swift-utils.git at 4.6.2 (0.45s)
Fetching https://github.com/MaxDesiatov/XMLCoder.git
Fetching https://github.com/scinfu/SwiftSoup.git
[1/3908] Fetching swiftsoup
[3362/13919] Fetching swiftsoup, xmlcoder
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (0.52s)
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.52s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (1.03s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.8.7 (0.54s)
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-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/fwcd/swift-utils.git
Working copy of https://github.com/fwcd/swift-utils.git resolved at 4.6.2
Creating working copy for https://github.com/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/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.17.1
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] Compiling Logging Locks.swift
[15/146] Compiling Logging LogHandler.swift
[16/146] Emitting module SwiftSoup
[17/153] Compiling Logging MetadataProvider.swift
[18/153] Emitting module Logging
[19/153] Compiling Logging Logging.swift
[21/154] Compiling SwiftSoup ParseErrorList.swift
[22/154] Compiling SwiftSoup ParseSettings.swift
[23/154] Compiling SwiftSoup Parser.swift
[24/154] Compiling SwiftSoup ParsingStrings.swift
[25/154] Compiling SwiftSoup Pattern.swift
[26/154] Compiling SwiftSoup QueryParser.swift
[27/154] Compiling SwiftSoup SerializationException.swift
[28/154] Emitting module XMLCoder
[29/154] Compiling SwiftSoup Evaluator.swift
[30/154] Compiling SwiftSoup Exception.swift
[31/154] Compiling SwiftSoup FormElement.swift
[32/154] Compiling SwiftSoup HtmlTreeBuilder.swift
[33/154] Compiling SwiftSoup HtmlTreeBuilderState.swift
[34/154] Compiling SwiftSoup HttpStatusException.swift
[35/160] Compiling SwiftSoup CssSelector.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[36/160] Compiling SwiftSoup DataNode.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[36/161] Wrapping AST for Logging for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/161] 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,
[39/161] Compiling SwiftSoup Mutex.swift
[40/161] Compiling SwiftSoup Node.swift
[41/161] Compiling SwiftSoup NodeTraversor.swift
[42/161] Compiling SwiftSoup NodeVisitor.swift
[43/161] Compiling SwiftSoup OrderedSet.swift
[44/161] Compiling SwiftSoup ParseError.swift
[52/161] Compiling SwiftSoup SimpleDictionary.swift
[53/161] Compiling SwiftSoup StreamReader.swift
[54/161] Compiling SwiftSoup String.swift
[55/161] Compiling SwiftSoup StringBuilder.swift
[56/161] Compiling SwiftSoup StringUtil.swift
[57/161] Compiling SwiftSoup ArrayExt.swift
[58/161] Compiling SwiftSoup Attribute.swift
[59/161] Compiling SwiftSoup Attributes.swift
[60/161] Compiling SwiftSoup BinarySearch.swift
[61/161] Compiling SwiftSoup BooleanAttribute.swift
[62/161] Compiling SwiftSoup CharacterExt.swift
[63/161] Compiling SwiftSoup CharacterReader.swift
[64/161] Compiling SwiftSoup Cleaner.swift
[65/161] Compiling SwiftSoup Collector.swift
[66/161] Compiling SwiftSoup CombiningEvaluator.swift
[67/161] Compiling SwiftSoup Comment.swift
[68/161] Compiling SwiftSoup Connection.swift
[71/161] Compiling SwiftSoup DataUtil.swift
[72/161] Compiling SwiftSoup Document.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,
<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,
<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,
[99/161] 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,
[102/161] Compiling SwiftSoup DocumentType.swift
[103/161] Compiling SwiftSoup Element.swift
[104/161] Compiling SwiftSoup Elements.swift
[105/161] Compiling SwiftSoup Entities.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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/85] Compiling XMLCoder ValueBox.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,
[5/85] Compiling XMLCoder Element.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,
[6/125] Compiling SwiftSoup DataUtil.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/125] Compiling SwiftSoup Document.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] Compiling SwiftSoup Collector.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[9/137] 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,
[10/137] Compiling Logging Locks.swift
[11/137] Compiling SwiftSoup Attributes.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[12/137] Compiling SwiftSoup BinarySearch.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[13/137] Compiling SwiftSoup ArrayExt.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[14/137] Compiling SwiftSoup Attribute.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[15/137] Compiling SwiftSoup BooleanAttribute.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[16/137] Compiling SwiftSoup CharacterExt.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[17/137] Compiling Logging MetadataProvider.swift
[18/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,
[19/137] Emitting module Logging
[29/137] Compiling SwiftSoup Comment.swift
[30/137] Compiling SwiftSoup Connection.swift
[31/137] Compiling SwiftSoup CssSelector.swift
[32/137] Compiling SwiftSoup DataNode.swift
[34/137] Compiling SwiftSoup CharacterReader.swift
[35/137] Compiling SwiftSoup Cleaner.swift
[36/137] Compiling SwiftSoup DocumentType.swift
[37/137] Compiling SwiftSoup Element.swift
[38/137] Compiling SwiftSoup Elements.swift
[39/143] Compiling SwiftSoup Entities.swift
[40/143] Compiling SwiftSoup Evaluator.swift
[41/143] Compiling SwiftSoup Exception.swift
[42/143] Compiling SwiftSoup FormElement.swift
[43/143] Compiling SwiftSoup HtmlTreeBuilder.swift
[44/143] Compiling SwiftSoup HtmlTreeBuilderState.swift
[45/143] Compiling SwiftSoup HttpStatusException.swift
[46/143] Emitting module XMLCoder
[55/150] Emitting module SwiftSoup
[56/150] Compiling Logging Logging.swift
[57/150] Compiling Logging LogHandler.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
[60/151] Compiling SwiftSoup Mutex.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
[61/151] Compiling SwiftSoup Node.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
[62/151] Compiling SwiftSoup NodeTraversor.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
[63/151] Compiling SwiftSoup NodeVisitor.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
[64/151] Compiling SwiftSoup OrderedSet.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
[65/151] Compiling SwiftSoup ParseError.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
[66/151] Compiling SwiftSoup SerializationException.swift
[67/151] Compiling SwiftSoup Tag.swift
[68/151] Compiling SwiftSoup TextNode.swift
[69/151] Compiling SwiftSoup Token.swift
[70/151] Compiling SwiftSoup TokenQueue.swift
[71/151] Compiling SwiftSoup Tokeniser.swift
[73/151] Compiling SwiftSoup ParseErrorList.swift
[74/151] Compiling SwiftSoup ParseSettings.swift
[75/151] Compiling SwiftSoup Parser.swift
[76/151] Compiling SwiftSoup ParsingStrings.swift
[77/151] Compiling SwiftSoup Pattern.swift
[78/151] Compiling SwiftSoup QueryParser.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[93/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,
[93/151] Wrapping AST for Logging for debugging
<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,
BUILD FAILURE 6.1 wasm