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-graphics, reference v4.0.3 (d761f1), with Swift 5.9 for macOS (SPM) on 30 Sep 2024 02:12:27 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.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: 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:             5.9
Building package at path:  $PWD
https://github.com/fwcd/swift-graphics.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/121] Compiling Logging MetadataProvider.swift
[2/121] Compiling Logging Locks.swift
[3/121] Emitting module Logging
[4/121] Compiling Logging Logging.swift
[5/121] Compiling Logging LogHandler.swift
[6/121] 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
              ^
[7/122] 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
              ^
[8/122] Emitting module XMLCoder
[9/127] Emitting module SwiftSoup
[10/132] 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
              ^
[11/132] 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
              ^
[12/132] Compiling XMLCoder XMLKeyedDecodingContainer.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
              ^
[13/132] Compiling XMLCoder XMLUnkeyedDecodingContainer.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
              ^
[14/132] 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
              ^
[15/132] Compiling XMLCoder XMLDecoderImplementation.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
              ^
[16/132] Compiling XMLCoder XMLDecodingStorage.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
              ^
[17/132] Compiling XMLCoder XMLStackParser.swift
[18/132] Compiling XMLCoder DecodingErrorExtension.swift
[19/132] Compiling XMLCoder DynamicNodeDecoding.swift
[20/132] Compiling XMLCoder SingleValueDecodingContainer.swift
[21/132] Compiling XMLCoder XMLChoiceDecodingContainer.swift
[22/132] Compiling XMLCoder Attribute.swift
[23/132] Compiling XMLCoder BoolBox.swift
[24/132] Compiling XMLCoder Box.swift
[25/132] Compiling XMLCoder ChoiceBox.swift
[26/132] Compiling XMLCoder DataBox.swift
[27/132] Compiling XMLCoder XMLDecoder.swift
[28/132] Compiling XMLCoder KeyedBox.swift
[29/132] Compiling XMLCoder NullBox.swift
[30/132] Compiling XMLCoder SharedBox.swift
[31/132] Compiling XMLCoder SingleKeyedBox.swift
[32/132] Compiling SwiftSoup Elements.swift
[33/132] Compiling XMLCoder UIntBox.swift
[34/132] Compiling XMLCoder URLBox.swift
[35/132] Compiling XMLCoder UnkeyedBox.swift
[36/132] Compiling XMLCoder ValueBox.swift
[37/132] Compiling XMLCoder Element.swift
[38/132] Compiling XMLCoder XMLEncoderImplementation.swift
[39/132] Compiling XMLCoder XMLEncodingStorage.swift
[40/132] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[41/132] Compiling XMLCoder XMLReferencingEncoder.swift
[42/132] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[43/132] Compiling XMLCoder XMLChoiceCodingKey.swift
[44/132] Compiling XMLCoder XMLCoderElement.swift
[45/132] Compiling XMLCoder XMLDocumentType.swift
[46/132] Compiling XMLCoder XMLHeader.swift
[47/132] Compiling XMLCoder XMLKey.swift
[48/132] Compiling XMLCoder ElementAndAttribute.swift
[49/132] Compiling XMLCoder ISO8601DateFormatter.swift
[50/132] Compiling XMLCoder KeyedStorage.swift
[51/132] Compiling XMLCoder Metatypes.swift
[52/132] Compiling XMLCoder String+Extensions.swift
[53/132] Compiling XMLCoder DynamicNodeEncoding.swift
[54/132] Compiling XMLCoder EncodingErrorExtension.swift
[55/132] Compiling XMLCoder SingleValueEncodingContainer.swift
[56/132] Compiling XMLCoder XMLChoiceEncodingContainer.swift
[57/132] Compiling XMLCoder XMLEncoder.swift
[68/132] Compiling XMLCoder DateBox.swift
[69/132] Compiling XMLCoder DecimalBox.swift
[82/132] Compiling SwiftSoup UnicodeScalar.swift
[83/132] Compiling SwiftSoup Validate.swift
[84/132] Compiling SwiftSoup Whitelist.swift
[85/132] Compiling SwiftSoup XmlDeclaration.swift
[86/132] Compiling SwiftSoup XmlTreeBuilder.swift
[89/132] Compiling SwiftSoup TokeniserState.swift
[90/132] Compiling SwiftSoup TreeBuilder.swift
[91/132] Compiling SwiftSoup UnfairLock.swift
[92/132] Compiling SwiftSoup HtmlTreeBuilderState.swift
[93/132] Compiling SwiftSoup HttpStatusException.swift
[94/132] Compiling SwiftSoup Mutex.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[125/225] 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
              ^
[126/225] Compiling Utils PriorityQueue.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
              ^
[127/225] Compiling Utils SearchTree.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
              ^
[128/225] Compiling Utils StablePriorityQueue.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
              ^
[129/225] Compiling Utils Array+Extensions.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
              ^
[130/225] Compiling Utils ChoiceOf+Extensions.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
              ^
[131/225] Compiling Utils Collection+Extensions.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/MaxDesiatov/XMLCoder.git
Fetching https://github.com/fwcd/swift-cairo.git
[1/3621] Fetching swift-cairo
[146/13632] Fetching swift-cairo, xmlcoder
[573/17239] Fetching swift-cairo, xmlcoder, swift-log
Fetched https://github.com/fwcd/swift-cairo.git (2.61s)
Fetching https://github.com/scinfu/SwiftSoup.git
Fetched https://github.com/MaxDesiatov/XMLCoder.git (2.61s)
Fetched https://github.com/apple/swift-log.git (2.61s)
Fetching https://github.com/fwcd/swift-utils.git
[1/924] Fetching swift-utils
[196/4108] Fetching swift-utils, swiftsoup
Fetched https://github.com/fwcd/swift-utils.git (0.87s)
Computing version for https://github.com/fwcd/swift-cairo.git
[542/3184] Fetching swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git (1.23s)
Computed https://github.com/fwcd/swift-cairo.git at 1.3.4 (0.69s)
Computing version for https://github.com/fwcd/swift-utils.git
Computed https://github.com/fwcd/swift-utils.git at 4.0.0 (0.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.58s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (0.55s)
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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
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-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/fwcd/swift-cairo.git
Working copy of https://github.com/fwcd/swift-cairo.git resolved at 1.3.4
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.9 macosSpm