Build Information
Failed to build swift-gif, reference main (d2fad7
), with Swift 5.10 for macOS (SPM) on 17 Feb 2025 06:32:39 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
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: 5.10
Building package at path: $PWD
https://github.com/fwcd/swift-gif.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/17] Write sources
[12/17] Write swift-version-33747A42983211AE.txt
[14/137] Compiling Logging MetadataProvider.swift
[15/137] Compiling Logging LogHandler.swift
[16/137] Emitting module Logging
[17/137] Compiling Logging Locks.swift
[18/137] Compiling Logging Logging.swift
[19/137] Compiling Cairo SurfaceSVG.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.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'
import struct SCCCairo.cairo_content_t
^
[20/138] Compiling Cairo SurfaceType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.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'
import struct SCCCairo.cairo_content_t
^
[21/138] Emitting module SwiftSoup
[22/143] Emitting module XMLCoder
[23/148] Compiling XMLCoder DateBox.swift
[24/148] Compiling XMLCoder DecimalBox.swift
[25/148] Compiling XMLCoder DoubleBox.swift
[26/148] Compiling XMLCoder FloatBox.swift
[27/148] Compiling XMLCoder IntBox.swift
[28/148] Compiling XMLCoder Attribute.swift
[29/148] Compiling XMLCoder BoolBox.swift
[30/148] Compiling XMLCoder Box.swift
[31/148] Compiling XMLCoder ChoiceBox.swift
[32/148] Compiling XMLCoder DataBox.swift
[33/148] Compiling XMLCoder XMLChoiceCodingKey.swift
[34/148] Compiling XMLCoder XMLCoderElement.swift
[35/148] Compiling XMLCoder XMLDocumentType.swift
[36/148] Compiling XMLCoder XMLHeader.swift
[37/148] Compiling XMLCoder XMLKey.swift
[38/148] Compiling XMLCoder KeyedBox.swift
[39/148] Compiling XMLCoder NullBox.swift
[40/148] Compiling XMLCoder SharedBox.swift
[41/148] Compiling XMLCoder SingleKeyedBox.swift
[42/148] Compiling XMLCoder StringBox.swift
[43/148] Compiling XMLCoder XMLStackParser.swift
[44/148] Compiling XMLCoder DecodingErrorExtension.swift
[45/148] Compiling XMLCoder DynamicNodeDecoding.swift
[46/148] Compiling XMLCoder SingleValueDecodingContainer.swift
[47/148] Compiling XMLCoder XMLChoiceDecodingContainer.swift
[48/148] Compiling XMLCoder UIntBox.swift
[49/148] Compiling XMLCoder URLBox.swift
[50/148] Compiling XMLCoder UnkeyedBox.swift
[51/148] Compiling XMLCoder ValueBox.swift
[52/148] Compiling XMLCoder Element.swift
[53/148] Compiling Cairo SurfaceImage.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.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'
import struct SCCCairo.cairo_content_t
^
[54/148] Compiling Cairo SurfacePDF.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.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'
import struct SCCCairo.cairo_content_t
^
[55/148] Compiling Cairo SurfacePNG.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.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'
import struct SCCCairo.cairo_content_t
^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.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'
import struct SCCCairo.cairo_content_t
^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.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'
import struct SCCCairo.cairo_content_t
^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.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'
import struct SCCCairo.cairo_content_t
^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.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'
import struct SCCCairo.cairo_content_t
^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.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'
import struct SCCCairo.cairo_content_t
^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.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'
import struct SCCCairo.cairo_content_t
^
[62/148] Compiling XMLCoder DynamicNodeEncoding.swift
[63/148] Compiling XMLCoder EncodingErrorExtension.swift
[64/148] Compiling SwiftSoup StringUtil.swift
[65/148] Compiling SwiftSoup StructuralEvaluator.swift
[66/148] Compiling SwiftSoup SwiftSoup.swift
[67/148] Compiling SwiftSoup HtmlTreeBuilder.swift
[68/148] Compiling SwiftSoup QueryParser.swift
[69/148] Compiling SwiftSoup SerializationException.swift
[70/148] Compiling SwiftSoup SimpleDictionary.swift
[71/148] Compiling SwiftSoup StreamReader.swift
[72/148] Compiling SwiftSoup Elements.swift
[73/148] Compiling SwiftSoup Entities.swift
[74/148] Compiling SwiftSoup Evaluator.swift
[75/148] Compiling SwiftSoup Exception.swift
[76/148] Compiling SwiftSoup FormElement.swift
[77/148] Compiling SwiftSoup UnicodeScalar.swift
[78/148] Compiling SwiftSoup Validate.swift
[79/148] Compiling SwiftSoup Whitelist.swift
[80/148] Compiling SwiftSoup XmlDeclaration.swift
[81/148] Compiling SwiftSoup XmlTreeBuilder.swift
[82/148] Compiling XMLCoder XMLEncoderImplementation.swift
[83/148] Compiling XMLCoder XMLEncodingStorage.swift
[84/148] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[85/148] Compiling XMLCoder XMLReferencingEncoder.swift
[86/148] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[95/148] Compiling SwiftSoup TokeniserState.swift
[96/148] Compiling SwiftSoup TreeBuilder.swift
[97/148] Compiling SwiftSoup UnfairLock.swift
[140/195] Compiling Utils IntExpressibleAlgebraicField.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.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'
import struct SCCCairo.cairo_content_t
^
[141/195] Compiling Utils InverseAsyncBijection.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.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'
import struct SCCCairo.cairo_content_t
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[142/242] Emitting module Cairo
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.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'
import struct SCCCairo.cairo_content_t
^
[143/242] Compiling Utils Divisible.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.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'
import struct SCCCairo.cairo_content_t
^
[144/242] Compiling Utils IdentityBijection.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/SCCCairo/shim.h:1:10: error: 'cairo.h' file not found
#include <cairo.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'
import struct SCCCairo.cairo_content_t
^
error: fatalError
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/fwcd/swift-graphics.git
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/fwcd/swift-utils.git
[1/1106] Fetching swift-utils
[24/1690] Fetching swift-utils, swift-graphics
[1150/3740] Fetching swift-utils, swift-graphics, swift-docc-plugin
[1718/7501] Fetching swift-utils, swift-graphics, swift-docc-plugin, swift-log
Fetched https://github.com/fwcd/swift-utils.git from cache (1.92s)
Fetched https://github.com/apple/swift-log.git from cache (1.92s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.92s)
Fetched https://github.com/fwcd/swift-graphics.git from cache (1.92s)
Computing version for https://github.com/fwcd/swift-graphics.git
Computed https://github.com/fwcd/swift-graphics.git at 4.0.3 (2.27s)
Fetching https://github.com/fwcd/swift-cairo.git
[1/3621] Fetching swift-cairo
Fetched https://github.com/fwcd/swift-cairo.git from cache (1.67s)
Computing version for https://github.com/fwcd/swift-cairo.git
Computed https://github.com/fwcd/swift-cairo.git at 1.3.4 (0.46s)
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.46s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3305] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.11s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.49s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.35s)
Computing version for https://github.com/fwcd/swift-utils.git
Computed https://github.com/fwcd/swift-utils.git at 4.6.1 (0.36s)
Fetching https://github.com/MaxDesiatov/XMLCoder.git
Fetching https://github.com/scinfu/SwiftSoup.git
[1/3220] Fetching swiftsoup
[388/13231] Fetching swiftsoup, xmlcoder
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (1.23s)
Fetched https://github.com/scinfu/SwiftSoup.git from cache (1.23s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (0.45s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.7.7 (0.46s)
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.2
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.1
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/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-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-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/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.7.7
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
BUILD FAILURE 5.10 macosSpm