The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build swift-gif, reference v5.0.0 (0b6599), with Swift 6.1 for Linux on 30 Apr 2025 14:52:32 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/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:         linux
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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/fwcd/swift-utils.git
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
[1084/5542] Fetching swift-graphics, swift-log, swift-utils
Fetching https://github.com/apple/swift-docc-plugin.git
Fetched https://github.com/fwcd/swift-utils.git from cache (0.31s)
Fetched https://github.com/fwcd/swift-graphics.git from cache (0.37s)
Fetched https://github.com/apple/swift-log.git from cache (0.37s)
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.35s)
Computing version for https://github.com/fwcd/swift-graphics.git
Computed https://github.com/fwcd/swift-graphics.git at 4.0.3 (2.52s)
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.55s)
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.51s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3376] 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 (0.91s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.46s)
Computing version for https://github.com/fwcd/swift-utils.git
Computed https://github.com/fwcd/swift-utils.git at 4.6.2 (0.50s)
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/MaxDesiatov/XMLCoder.git
[1/3908] Fetching swiftsoup
[1252/13919] Fetching swiftsoup, xmlcoder
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.41s)
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (0.44s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (0.94s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.8.7 (0.52s)
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/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/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/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-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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.17.1
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 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,
[15/146] 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,
[16/147] Compiling SwiftSoup Document.swift
[17/147] Compiling SwiftSoup ArrayExt.swift
[18/147] Compiling SwiftSoup Attribute.swift
[19/147] Compiling SwiftSoup Attributes.swift
[20/147] Compiling SwiftSoup BinarySearch.swift
[21/147] Compiling SwiftSoup BooleanAttribute.swift
[22/147] Compiling SwiftSoup CharacterExt.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,
[24/153] Compiling Logging MetadataProvider.swift
[25/153] Compiling Logging LogHandler.swift
[26/153] Emitting module Logging
[27/153] Compiling Logging Logging.swift
[28/153] Compiling Logging Locks.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/154] 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,
[31/154] Compiling SwiftSoup CharacterReader.swift
[32/154] Compiling SwiftSoup Cleaner.swift
[33/154] Compiling SwiftSoup HtmlTreeBuilderState.swift
[34/154] Compiling SwiftSoup HttpStatusException.swift
[35/154] Compiling SwiftSoup Mutex.swift
[36/154] Compiling SwiftSoup Node.swift
[37/154] 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,
<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,
[40/154] Wrapping AST for Logging for debugging
[42/154] Compiling SwiftSoup Comment.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,
[43/154] Compiling SwiftSoup Connection.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,
[44/154] 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,
[45/154] Compiling SwiftSoup CombiningEvaluator.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
  |          `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
<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,
[57/154] Emitting module XMLCoder
[58/154] Compiling SwiftSoup NodeTraversor.swift
[59/154] Compiling SwiftSoup NodeVisitor.swift
[60/154] Compiling SwiftSoup OrderedSet.swift
[61/154] Compiling SwiftSoup ParseError.swift
[62/154] Compiling SwiftSoup DocumentType.swift
[63/154] Compiling SwiftSoup Element.swift
[64/154] Emitting module SwiftSoup
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: you may be able to install freetype2 using your system-packager:
    apt-get install libfreetype6-dev
warning: you may be able to install fontconfig using your system-packager:
    apt-get install libfontconfig-dev
warning: you may be able to install cairo using your system-packager:
    apt-get install libcairo2-dev
warning: you may be able to install 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 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,
[5/136] 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,
[6/137] Compiling Logging MetadataProvider.swift
[7/137] 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,
[8/137] 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,
[9/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,
[10/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,
[11/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,
[12/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,
[13/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,
[14/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,
[15/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,
[16/137] Compiling Logging Locks.swift
[17/137] Emitting module Logging
[25/137] Compiling SwiftSoup CharacterReader.swift
[26/137] Compiling SwiftSoup Cleaner.swift
[27/137] Compiling SwiftSoup HtmlTreeBuilderState.swift
[28/137] Compiling SwiftSoup HttpStatusException.swift
[29/137] Compiling SwiftSoup Mutex.swift
[30/137] Compiling SwiftSoup Node.swift
[31/143] Emitting module XMLCoder
[32/143] Compiling SwiftSoup Collector.swift
[33/143] Compiling SwiftSoup CombiningEvaluator.swift
[34/143] Compiling SwiftSoup Comment.swift
[35/143] Compiling SwiftSoup Connection.swift
[39/143] Compiling SwiftSoup NodeTraversor.swift
[40/143] Compiling SwiftSoup NodeVisitor.swift
[41/143] Compiling SwiftSoup OrderedSet.swift
[42/143] Compiling SwiftSoup ParseError.swift
[43/143] Compiling SwiftSoup DocumentType.swift
[44/143] Compiling SwiftSoup Element.swift
[45/143] Compiling SwiftSoup Elements.swift
[46/143] Compiling SwiftSoup Entities.swift
[47/143] Compiling SwiftSoup Evaluator.swift
[48/143] Compiling SwiftSoup Exception.swift
[49/143] Compiling SwiftSoup FormElement.swift
[50/143] Compiling SwiftSoup HtmlTreeBuilder.swift
[51/143] Compiling SwiftSoup ParseErrorList.swift
[52/143] Compiling SwiftSoup ParseSettings.swift
[53/143] Compiling SwiftSoup Parser.swift
[54/143] Compiling SwiftSoup ParsingStrings.swift
[55/143] Compiling SwiftSoup Pattern.swift
[56/143] Compiling SwiftSoup QueryParser.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[57/143] 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,
[62/143] Compiling Logging LogHandler.swift
[63/143] Compiling SwiftSoup SerializationException.swift
[64/143] Compiling SwiftSoup Tag.swift
[65/143] Compiling SwiftSoup TextNode.swift
[66/143] Compiling SwiftSoup Token.swift
[67/143] Compiling SwiftSoup TokenQueue.swift
[68/143] Compiling SwiftSoup Tokeniser.swift
[69/143] Compiling Logging Logging.swift
BUILD FAILURE 6.1 linux