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 main (d761f1), with Swift 6.0 for Linux on 1 Dec 2024 22:36:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fwcd/swift-graphics.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/fwcd/swift-graphics.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/fwcd/swift-cairo.git
Fetching https://github.com/fwcd/swift-utils.git
[1/1081] Fetching swift-utils
[834/4702] Fetching swift-utils, swift-cairo
[1988/8425] Fetching swift-utils, swift-cairo, swift-log
Fetched https://github.com/fwcd/swift-utils.git from cache (0.86s)
Fetched https://github.com/apple/swift-log.git from cache (0.87s)
Fetched https://github.com/fwcd/swift-cairo.git from cache (0.91s)
Computing version for https://github.com/fwcd/swift-cairo.git
Computed https://github.com/fwcd/swift-cairo.git at 1.3.4 (0.44s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.38s)
Computing version for https://github.com/fwcd/swift-utils.git
Computed https://github.com/fwcd/swift-utils.git at 4.6.0 (0.39s)
Fetching https://github.com/MaxDesiatov/XMLCoder.git
Fetching https://github.com/scinfu/SwiftSoup.git
[1/3199] Fetching swiftsoup
[545/13210] Fetching swiftsoup, xmlcoder
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.38s)
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (0.38s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (0.44s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.7.6 (0.46s)
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.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/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.17.1
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/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.7.6
warning: 'swiftsoup': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Info.plist
    /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/InfoWatchOS.plist
    /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/InfoMac.plist
    /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/InfotvOS.plist
warning: you may be able to install freetype2 using your system-packager:
    apt-get install libfreetype6-dev
warning: you may be able to install fontconfig using your system-packager:
    apt-get install libfontconfig-dev
warning: you may be able to install cairo using your system-packager:
    apt-get install libcairo2-dev
Building for debugging...
[0/23] Write sources
[10/23] Write swift-version-24593BA9C3E375BF.txt
[12/140] Emitting module XMLCoder
[13/146] Emitting module SwiftSoup
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/153] Emitting module Cairo
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[15/154] Compiling XMLCoder StringBox.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[16/154] Compiling XMLCoder UIntBox.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[17/154] Compiling Cairo SurfaceType.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[18/154] Compiling Logging LogHandler.swift
[19/154] Compiling Logging Locks.swift
[20/154] Compiling Logging MetadataProvider.swift
[21/154] Emitting module Logging
[22/154] Compiling Logging Logging.swift
[23/155] Wrapping AST for Logging for debugging
[25/155] Compiling XMLCoder SingleKeyedBox.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[26/155] Compiling XMLCoder DynamicNodeDecoding.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[27/155] Compiling XMLCoder IntBox.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[28/155] Compiling XMLCoder KeyedBox.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[29/155] Compiling XMLCoder URLBox.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[30/155] Compiling XMLCoder UnkeyedBox.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[31/155] Compiling XMLCoder ValueBox.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[32/155] Compiling XMLCoder Element.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[33/155] Compiling XMLCoder DoubleBox.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[34/155] Compiling XMLCoder FloatBox.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[35/155] Compiling XMLCoder NullBox.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[36/155] Compiling XMLCoder SharedBox.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/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>
/host/spi-builder-workspace/.build/checkouts/swift-cairo/Sources/Cairo/Content.swift:9:15: error: could not build C module 'SCCCairo'
 7 | //
 8 |
 9 | import struct SCCCairo.cairo_content_t
   |               `- error: could not build C module 'SCCCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[37/155] Compiling XMLCoder XMLEncoder.swift
[38/155] Compiling XMLCoder XMLEncoderImplementation.swift
[39/155] Compiling XMLCoder XMLEncodingStorage.swift
[40/155] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[41/155] Compiling XMLCoder XMLReferencingEncoder.swift
[42/155] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[43/155] Compiling SwiftSoup Tag.swift
[44/155] Compiling SwiftSoup TextNode.swift
[45/155] Compiling SwiftSoup Token.swift
[46/155] Compiling SwiftSoup TokenQueue.swift
[47/155] Compiling SwiftSoup Tokeniser.swift
[48/155] Compiling SwiftSoup TokeniserState.swift
[55/155] Compiling SwiftSoup StructuralEvaluator.swift
[56/155] Compiling XMLCoder XMLChoiceDecodingContainer.swift
[57/155] Compiling XMLCoder XMLDecoder.swift
[58/155] Compiling XMLCoder XMLDecoderImplementation.swift
[59/155] Compiling XMLCoder XMLDecodingStorage.swift
[60/155] Compiling XMLCoder ElementAndAttribute.swift
[61/155] Compiling XMLCoder ISO8601DateFormatter.swift
[62/155] Compiling XMLCoder KeyedStorage.swift
[63/155] Compiling XMLCoder Metatypes.swift
[64/155] Compiling XMLCoder String+Extensions.swift
[65/155] Compiling SwiftSoup ParseErrorList.swift
[66/155] Compiling SwiftSoup ParseSettings.swift
[67/155] Compiling SwiftSoup Parser.swift
[68/155] Compiling SwiftSoup Pattern.swift
[69/155] Compiling SwiftSoup QueryParser.swift
[77/155] Compiling XMLCoder SingleValueDecodingContainer.swift
BUILD FAILURE 6.0 linux