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 Cairo, reference master (427ea1), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 11:35:32 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/cairo.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pureswift/cairo
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 427ea10 Merge pull request #8 from AgentFeeble/extensibility-support
Cloned https://github.com/pureswift/cairo.git
Revision (git rev-parse @):
427ea108bf1ef579a24960052c80b9ffc318651b
SUCCESS checkout https://github.com/pureswift/cairo.git at master
========================================
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": "cairo",
      "name": "Cairo",
      "url": "https://github.com/pureswift/cairo.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/cairo",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/pureswift/cairo.git
[1/3525] Fetching cairo
Fetched https://github.com/pureswift/cairo.git from cache (2.61s)
Creating working copy for https://github.com/pureswift/cairo.git
Working copy of https://github.com/pureswift/cairo.git resolved at master (427ea10)
warning: '.resolve-product-dependencies': dependency 'cairo' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/pureswift/cairo.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/18] 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/Sources/CCairo/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/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[4/19] Compiling Cairo QuickLook.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/Sources/CCairo/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/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[5/19] Compiling Cairo Status.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/Sources/CCairo/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/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[6/19] Compiling Cairo Matrix.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/Sources/CCairo/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/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[7/19] Compiling Cairo OpaquePointerProvider.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/Sources/CCairo/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/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[8/19] 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/Sources/CCairo/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/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[9/19] 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/Sources/CCairo/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/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[10/19] Compiling Cairo Font.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/Sources/CCairo/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/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[11/19] Compiling Cairo ImageFormat.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/Sources/CCairo/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/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[12/19] 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/Sources/CCairo/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/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'CCairo'
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)
[13/19] 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/Sources/CCairo/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/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[14/19] Compiling Cairo Surface.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/Sources/CCairo/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/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[15/19] 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/Sources/CCairo/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/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[16/19] Compiling Cairo Path.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/Sources/CCairo/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/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[17/19] Compiling Cairo Pattern.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/Sources/CCairo/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/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[18/19] Compiling Cairo Content.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/Sources/CCairo/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/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[19/19] Compiling Cairo Context.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/Sources/CCairo/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/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
 7 | //
 8 |
 9 | import struct CCairo.cairo_content_t
   |               `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install freetype 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.0 macosSpm