Build Information
Failed to build swift-gif, reference main (d2fad7
), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 02:46:31 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-gif.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fwcd/swift-gif
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d2fad7b Remove ignored .swiftpm/xcode
Cloned https://github.com/fwcd/swift-gif.git
Revision (git rev-parse @):
d2fad7b399bd0a089b25cf899372e48a4af2c81e
SUCCESS checkout https://github.com/fwcd/swift-gif.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/fwcd/swift-gif.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/17] Write sources
[12/17] Write swift-version-1EA4D86E10B52AF.txt
[14/138] Compiling Logging MetadataProvider.swift
[15/138] Emitting module Logging
[16/138] Compiling Logging Locks.swift
[17/138] Compiling Logging LogHandler.swift
[18/138] Compiling Logging Logging.swift
[19/138] 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,
[20/139] 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)
[21/139] 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,
[22/139] 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,
[23/139] 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,
[24/139] 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,
[25/139] 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,
[26/139] Emitting module SwiftSoup
[27/145] Emitting module XMLCoder
[28/150] 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,
[29/150] 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,
[30/150] 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,
[31/150] Compiling SwiftSoup BooleanAttribute.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/150] Compiling SwiftSoup CharacterExt.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,
[33/150] 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,
[34/150] 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,
[35/150] 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,
[36/150] 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,
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/fwcd/swift-graphics.git
Fetching https://github.com/fwcd/swift-utils.git
[1/584] Fetching swift-graphics
[142/2666] Fetching swift-graphics, swift-docc-plugin
[281/6502] Fetching swift-graphics, swift-docc-plugin, swift-log
[397/7624] Fetching swift-graphics, swift-docc-plugin, swift-log, swift-utils
Fetched https://github.com/fwcd/swift-graphics.git from cache (1.17s)
Fetched https://github.com/apple/swift-log.git from cache (1.17s)
Fetched https://github.com/fwcd/swift-utils.git from cache (1.17s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.17s)
Computing version for https://github.com/fwcd/swift-graphics.git
Computed https://github.com/fwcd/swift-graphics.git at 4.0.3 (3.75s)
Fetching https://github.com/fwcd/swift-cairo.git
[1/3621] Fetching swift-cairo
Fetched https://github.com/fwcd/swift-cairo.git from cache (2.65s)
Computing version for https://github.com/fwcd/swift-cairo.git
Computed https://github.com/fwcd/swift-cairo.git at 1.3.4 (3.21s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.4 (0.48s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3415] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.20s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.75s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.38s)
Computing version for https://github.com/fwcd/swift-utils.git
Computed https://github.com/fwcd/swift-utils.git at 4.6.2 (0.41s)
Fetching https://github.com/MaxDesiatov/XMLCoder.git
Fetching https://github.com/scinfu/SwiftSoup.git
[1/3916] Fetching swiftsoup
[80/13976] Fetching swiftsoup, xmlcoder
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (1.11s)
Fetched https://github.com/scinfu/SwiftSoup.git from cache (1.11s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (1.65s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.8.8 (0.41s)
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/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/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/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.8.8
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-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-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.4
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
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