Build Information
Failed to build swift-graphics, reference main (d761f1
), with Swift 5.10 for macOS (SPM) on 30 Sep 2024 02:11:52 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fwcd/swift-graphics.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fwcd/swift-graphics
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/MaxDesiatov/XMLCoder.git
Fetching https://github.com/fwcd/swift-utils.git
Fetching https://github.com/fwcd/swift-cairo.git
Fetching https://github.com/scinfu/SwiftSoup.git
[1/3621] Fetching swift-cairo
[183/13632] Fetching swift-cairo, xmlcoder
[284/16816] Fetching swift-cairo, xmlcoder, swiftsoup
[476/17740] Fetching swift-cairo, xmlcoder, swiftsoup, swift-utils
[1319/21347] Fetching swift-cairo, xmlcoder, swiftsoup, swift-utils, swift-log
Fetched https://github.com/apple/swift-log.git from cache (2.65s)
Fetched https://github.com/fwcd/swift-utils.git from cache (2.65s)
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (2.65s)
Fetched https://github.com/scinfu/SwiftSoup.git from cache (2.65s)
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 (0.61s)
Computing version for https://github.com/fwcd/swift-utils.git
Computed https://github.com/fwcd/swift-utils.git at 4.0.0 (0.58s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.59s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (0.59s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.7.0 (0.57s)
Creating working copy for https://github.com/fwcd/swift-utils.git
Working copy of https://github.com/fwcd/swift-utils.git resolved at 4.0.0
Creating working copy for https://github.com/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.17.1
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.7.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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-graphics",
"name": "swift-graphics",
"url": "https://github.com/fwcd/swift-graphics.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-graphics",
"dependencies": [
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
},
{
"identity": "swift-utils",
"name": "swift-utils",
"url": "https://github.com/fwcd/swift-utils.git",
"version": "4.1.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-utils",
"dependencies": [
{
"identity": "swiftsoup",
"name": "SwiftSoup",
"url": "https://github.com/scinfu/SwiftSoup.git",
"version": "2.7.5",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftSoup",
"dependencies": [
]
},
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
},
{
"identity": "xmlcoder",
"name": "XMLCoder",
"url": "https://github.com/MaxDesiatov/XMLCoder.git",
"version": "0.17.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XMLCoder",
"dependencies": [
]
}
]
},
{
"identity": "swift-cairo",
"name": "swift-cairo",
"url": "https://github.com/fwcd/swift-cairo.git",
"version": "1.3.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-cairo",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/fwcd/swift-graphics.git
[1/584] Fetching swift-graphics
Fetched https://github.com/fwcd/swift-graphics.git from cache (0.79s)
Fetching https://github.com/fwcd/swift-cairo.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/fwcd/swift-utils.git from cache
Fetched https://github.com/fwcd/swift-utils.git from cache (0.58s)
Fetched https://github.com/apple/swift-log.git from cache (0.58s)
Fetched https://github.com/fwcd/swift-cairo.git from cache (0.58s)
Computing version for https://github.com/fwcd/swift-cairo.git
Computed https://github.com/fwcd/swift-cairo.git at 1.3.4 (0.02s)
Computing version for https://github.com/fwcd/swift-utils.git
Computed https://github.com/fwcd/swift-utils.git at 4.1.3 (0.43s)
Fetching https://github.com/MaxDesiatov/XMLCoder.git from cache
Fetching https://github.com/scinfu/SwiftSoup.git from cache
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.49s)
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (0.49s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (0.02s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.7.5 (0.57s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.43s)
Creating working copy for https://github.com/fwcd/swift-utils.git
Working copy of https://github.com/fwcd/swift-utils.git resolved at 4.1.3
Creating working copy for https://github.com/fwcd/swift-graphics.git
Working copy of https://github.com/fwcd/swift-graphics.git resolved at main (d761f18)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.7.5
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-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.1
warning: '.resolve-product-dependencies': dependency 'swift-graphics' is not used by any target
Found 3 product dependencies
- swift-log
- swift-utils
- swift-cairo
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/fwcd/swift-graphics.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/13] Write sources
[10/13] Write swift-version-33747A42983211AE.txt
[12/133] Compiling Logging LogHandler.swift
[13/133] Compiling Logging MetadataProvider.swift
[14/133] Compiling Logging Locks.swift
[15/133] Emitting module Logging
[16/133] Compiling Logging Logging.swift
[17/133] 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
^
[18/134] 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
^
[19/134] Emitting module XMLCoder
[20/139] 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
^
[21/139] 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
^
[22/139] Compiling SwiftSoup ArrayExt.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
^
[23/139] Compiling SwiftSoup Attribute.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
^
[24/139] Compiling SwiftSoup Comment.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
^
[25/139] Compiling SwiftSoup Connection.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
^
[26/139] 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
^
[27/139] Compiling SwiftSoup Attributes.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
^
[28/139] Compiling SwiftSoup BinarySearch.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
^
[29/139] Compiling SwiftSoup Elements.swift
[30/139] Compiling SwiftSoup Entities.swift
[31/139] Compiling SwiftSoup Evaluator.swift
[32/139] Compiling SwiftSoup Exception.swift
[33/139] Compiling SwiftSoup FormElement.swift
[34/139] Compiling SwiftSoup Document.swift
[35/139] Compiling SwiftSoup DocumentType.swift
[36/139] Compiling SwiftSoup Element.swift
[37/139] Compiling SwiftSoup HtmlTreeBuilderState.swift
[38/139] Compiling SwiftSoup HttpStatusException.swift
[39/139] Compiling XMLCoder XMLStackParser.swift
[40/139] Compiling XMLCoder DecodingErrorExtension.swift
[41/139] Compiling SwiftSoup CssSelector.swift
[42/139] Compiling SwiftSoup DataNode.swift
[43/139] Compiling SwiftSoup DataUtil.swift
[44/139] Compiling SwiftSoup Mutex.swift
[45/139] Compiling SwiftSoup OrderedSet.swift
[46/139] Compiling SwiftSoup ParseError.swift
[47/139] Compiling SwiftSoup ParseErrorList.swift
[48/139] Compiling SwiftSoup ParseSettings.swift
[49/139] Compiling SwiftSoup Parser.swift
[50/139] Compiling SwiftSoup Pattern.swift
[51/139] Compiling SwiftSoup Node.swift
[52/139] Compiling SwiftSoup NodeTraversor.swift
[53/139] Compiling SwiftSoup NodeVisitor.swift
[60/144] Compiling XMLCoder Attribute.swift
[61/144] Compiling XMLCoder BoolBox.swift
[62/144] Compiling XMLCoder Box.swift
[63/144] Compiling XMLCoder ChoiceBox.swift
[70/144] Compiling SwiftSoup HtmlTreeBuilder.swift
[71/144] Compiling SwiftSoup QueryParser.swift
[72/144] Compiling SwiftSoup SerializationException.swift
[73/144] Compiling SwiftSoup SimpleDictionary.swift
[74/144] Compiling SwiftSoup StreamReader.swift
[75/144] Compiling SwiftSoup String.swift
[76/144] Compiling SwiftSoup StringBuilder.swift
[77/144] Compiling SwiftSoup StringUtil.swift
[78/144] Compiling SwiftSoup StructuralEvaluator.swift
[79/144] Compiling SwiftSoup SwiftSoup.swift
[92/144] Emitting module SwiftSoup
[117/144] Compiling XMLCoder XMLReferencingEncoder.swift
[118/144] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[119/144] Compiling SwiftSoup TokeniserState.swift
[120/144] Compiling SwiftSoup TreeBuilder.swift
[121/144] Compiling SwiftSoup UnfairLock.swift
[125/144] Compiling XMLCoder XMLEncoderImplementation.swift
[126/144] Compiling XMLCoder XMLEncodingStorage.swift
[127/144] Compiling XMLCoder XMLKeyedEncodingContainer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[133/144] 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
^
<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
^
error: fatalError
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