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-graphics, reference v4.0.3 (d761f1), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 04:33:20 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fwcd/swift-graphics.git
Reference: v4.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fwcd/swift-graphics
 * tag               v4.0.3     -> FETCH_HEAD
HEAD is now at d761f18 Fix weird errors about missing initializers
Cloned https://github.com/fwcd/swift-graphics.git
Revision (git rev-parse @):
d761f1856b3e6f9472d4d06db9bce9106f0650ca
SUCCESS checkout https://github.com/fwcd/swift-graphics.git at v4.0.3
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/fwcd/swift-graphics.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/13] Write sources
[10/13] Write swift-version-1EA4D86E10B52AF.txt
[12/134] Compiling Logging MetadataProvider.swift
[13/134] Compiling Logging LogHandler.swift
[14/134] Emitting module Logging
[15/134] Compiling Logging Logging.swift
[16/134] Compiling Logging Locks.swift
[17/134] Compiling Cairo SurfaceSVG.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[18/135] Compiling Cairo SurfaceType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/135] Emitting module Cairo
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[20/135] Compiling SwiftSoup CharacterReader.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[21/135] Compiling SwiftSoup Cleaner.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[22/135] Compiling Cairo SurfacePNG.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[23/135] Compiling Cairo SurfacePDF.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[24/135] Compiling Cairo SurfaceImage.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[25/135] Compiling SwiftSoup Attributes.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[26/135] Compiling SwiftSoup BinarySearch.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[27/135] Compiling SwiftSoup Collector.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[28/135] Compiling SwiftSoup CombiningEvaluator.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[29/135] Compiling SwiftSoup ArrayExt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[30/135] Compiling SwiftSoup Attribute.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[31/135] Compiling SwiftSoup Comment.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[32/135] Compiling SwiftSoup Connection.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/fwcd/swift-utils.git
Fetching https://github.com/fwcd/swift-cairo.git
[1/1122] Fetching swift-utils
[114/4743] Fetching swift-utils, swift-cairo
[498/8579] Fetching swift-utils, swift-cairo, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.12s)
[2281/4743] Fetching swift-utils, swift-cairo
Fetched https://github.com/fwcd/swift-cairo.git from cache (1.80s)
Fetched https://github.com/fwcd/swift-utils.git from cache (1.80s)
Computing version for https://github.com/fwcd/swift-cairo.git
Computed https://github.com/fwcd/swift-cairo.git at 1.3.4 (2.42s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.39s)
Computing version for https://github.com/fwcd/swift-utils.git
Computed https://github.com/fwcd/swift-utils.git at 4.6.2 (0.40s)
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/MaxDesiatov/XMLCoder.git
[1/10060] Fetching xmlcoder
[203/13976] Fetching xmlcoder, swiftsoup
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (1.18s)
Fetched https://github.com/scinfu/SwiftSoup.git from cache (1.18s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (1.73s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.8.8 (0.40s)
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/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.17.1
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.8.8
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
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install freetype2 using your system-packager:
    brew install freetype2
warning: you may be able to install fontconfig using your system-packager:
    brew install fontconfig
warning: you may be able to install cairo using your system-packager:
    brew install cairo
warning: you may be able to install freetype2 using your system-packager:
    brew install freetype2
warning: you may be able to install fontconfig using your system-packager:
    brew install fontconfig
warning: you may be able to install cairo using your system-packager:
    brew install cairo
BUILD FAILURE 6.2 macosSpm