Build Information
Failed to build swift-graphics, reference main (d761f1
), with Swift 6.1 for Wasm on 29 May 2025 18:24:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.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: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/fwcd/swift-graphics.git
https://github.com/fwcd/swift-graphics.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-utils",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/fwcd/swift-utils.git"
},
{
"identity" : "swift-cairo",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/fwcd/swift-cairo.git"
}
],
"manifest_display_name" : "swift-graphics",
"name" : "swift-graphics",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Graphics",
"targets" : [
"Graphics"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PlatformGraphics",
"targets" : [
"PlatformGraphics"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CairoGraphics",
"targets" : [
"CairoGraphics"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CoreGraphicsGraphics",
"targets" : [
"CoreGraphicsGraphics"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DrawShapes",
"targets" : [
"DrawShapes"
],
"type" : {
"snippet" : null
}
}
],
"targets" : [
{
"c99name" : "PlatformGraphics",
"module_type" : "SwiftTarget",
"name" : "PlatformGraphics",
"path" : "Sources/PlatformGraphics",
"product_dependencies" : [
"Logging",
"Utils"
],
"product_memberships" : [
"PlatformGraphics",
"DrawShapes"
],
"sources" : [
"PlatformGraphics.swift"
],
"target_dependencies" : [
"CairoGraphics",
"CoreGraphicsGraphics"
],
"type" : "library"
},
{
"c99name" : "GraphicsTests",
"module_type" : "SwiftTarget",
"name" : "GraphicsTests",
"path" : "Tests/GraphicsTests",
"sources" : [
"ColorTests.swift",
"ShapeTests.swift"
],
"target_dependencies" : [
"Graphics"
],
"type" : "test"
},
{
"c99name" : "Graphics",
"module_type" : "SwiftTarget",
"name" : "Graphics",
"path" : "Sources/Graphics",
"product_dependencies" : [
"Logging",
"Utils",
"Cairo"
],
"product_memberships" : [
"Graphics",
"PlatformGraphics",
"CairoGraphics",
"CoreGraphicsGraphics",
"DrawShapes"
],
"sources" : [
"Color/Color.swift",
"Color/Colors.swift",
"Context/GraphicsContext.swift",
"Context/GraphicsContextError.swift",
"Context/PixelFormat.swift",
"Image/BufferedImage.swift",
"Image/CollectionImageUtils.swift",
"Image/Image.swift",
"Image/ImageError.swift",
"Image/NoImage.swift",
"Image/Sized.swift",
"Shape/Ellipse.swift",
"Shape/LineSegment.swift",
"Shape/Polygon.swift",
"Shape/Rectangle.swift",
"Shape/ShapeDefaults.swift",
"Shape/Text.swift"
],
"type" : "library"
},
{
"c99name" : "CoreGraphicsGraphics",
"module_type" : "SwiftTarget",
"name" : "CoreGraphicsGraphics",
"path" : "Sources/CoreGraphicsGraphics",
"product_dependencies" : [
"Logging",
"Utils"
],
"product_memberships" : [
"PlatformGraphics",
"CoreGraphicsGraphics",
"DrawShapes"
],
"sources" : [
"Context/CoreGraphicsContext.swift",
"Context/DefaultGraphicsContext.swift",
"Exports.swift",
"Image/CoreGraphicsImage.swift"
],
"target_dependencies" : [
"Graphics"
],
"type" : "library"
},
{
"c99name" : "CairoGraphics",
"module_type" : "SwiftTarget",
"name" : "CairoGraphics",
"path" : "Sources/CairoGraphics",
"product_dependencies" : [
"Logging",
"Utils",
"Cairo"
],
"product_memberships" : [
"PlatformGraphics",
"CairoGraphics",
"DrawShapes"
],
"sources" : [
"Context/CairoContext.swift",
"Context/DefaultGraphicsContext.swift",
"Exports.swift",
"Image/CairoImage.swift",
"Image/CairoSVG.swift",
"Image/HTTPImageUtils.swift"
],
"target_dependencies" : [
"Graphics"
],
"type" : "library"
},
{
"c99name" : "DrawShapes",
"module_type" : "SwiftTarget",
"name" : "DrawShapes",
"path" : "Snippets",
"product_memberships" : [
"DrawShapes"
],
"sources" : [
"DrawShapes.swift"
],
"target_dependencies" : [
"PlatformGraphics",
"Graphics",
"CoreGraphicsGraphics",
"CairoGraphics"
],
"type" : "snippet"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/fwcd/swift-cairo.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/fwcd/swift-utils.git
[1/3621] Fetching swift-cairo
[762/4743] Fetching swift-cairo, swift-utils
[3477/8579] Fetching swift-cairo, swift-utils, swift-log
Fetched https://github.com/fwcd/swift-utils.git from cache (1.60s)
Fetched https://github.com/apple/swift-log.git from cache (1.60s)
Fetched https://github.com/fwcd/swift-cairo.git from cache (1.64s)
Computing version for https://github.com/fwcd/swift-cairo.git
Computed https://github.com/fwcd/swift-cairo.git at 1.3.4 (3.16s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.47s)
Computing version for https://github.com/fwcd/swift-utils.git
Computed https://github.com/fwcd/swift-utils.git at 4.6.2 (0.48s)
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/MaxDesiatov/XMLCoder.git
[1/3908] Fetching swiftsoup
[2698/13919] Fetching swiftsoup, xmlcoder
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.56s)
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (0.56s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (1.15s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.8.7 (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.2
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.8.7
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.3
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: 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
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/142] Emitting module Logging
[13/142] Compiling Logging Locks.swift
[14/142] Compiling SwiftSoup DocumentType.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,
[15/142] Compiling SwiftSoup 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,
[16/143] Compiling SwiftSoup Elements.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/143] Compiling SwiftSoup Entities.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/143] 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,
[19/143] Compiling Logging LogHandler.swift
[20/143] Compiling Logging Logging.swift
[21/143] Compiling Logging MetadataProvider.swift
[22/144] Compiling SwiftSoup Collector.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,
[23/144] Compiling SwiftSoup CombiningEvaluator.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,
[24/144] Compiling SwiftSoup FormElement.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,
[25/144] Compiling XMLCoder ElementAndAttribute.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/144] Compiling SwiftSoup Comment.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/144] Compiling SwiftSoup Connection.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/144] Compiling Cairo Font.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/144] Compiling Cairo ImageFormat.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/144] Compiling SwiftSoup Evaluator.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/144] Compiling SwiftSoup Exception.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/144] Compiling SwiftSoup StreamReader.swift
[34/144] Compiling SwiftSoup String.swift
[35/144] Compiling SwiftSoup StringBuilder.swift
[36/144] Compiling SwiftSoup StringUtil.swift
[37/144] Compiling SwiftSoup StructuralEvaluator.swift
[38/144] Compiling SwiftSoup SwiftSoup.swift
[39/144] Compiling SwiftSoup HtmlTreeBuilderState.swift
[40/144] Compiling SwiftSoup HttpStatusException.swift
[41/144] Compiling SwiftSoup Mutex.swift
[42/144] Compiling SwiftSoup Node.swift
[43/144] Compiling SwiftSoup NodeTraversor.swift
[44/144] Compiling SwiftSoup NodeVisitor.swift
[45/144] Compiling SwiftSoup Parser.swift
[46/144] Compiling SwiftSoup ParsingStrings.swift
[47/144] Compiling SwiftSoup Pattern.swift
[48/144] Compiling SwiftSoup QueryParser.swift
[49/144] Compiling SwiftSoup SerializationException.swift
[50/144] Compiling SwiftSoup SimpleDictionary.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[57/150] 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,
[59/150] Compiling SwiftSoup DataUtil.swift
[60/150] Compiling SwiftSoup Document.swift
[61/150] Compiling SwiftSoup ArrayExt.swift
[62/150] Compiling SwiftSoup Attribute.swift
[63/150] Compiling SwiftSoup Attributes.swift
[71/150] Compiling SwiftSoup BinarySearch.swift
[72/150] Compiling SwiftSoup BooleanAttribute.swift
[73/150] Compiling SwiftSoup CharacterExt.swift
[74/150] Compiling SwiftSoup CharacterReader.swift
[75/150] Compiling SwiftSoup Cleaner.swift
[76/150] Compiling SwiftSoup ParseErrorList.swift
[77/150] Compiling SwiftSoup ParseSettings.swift
[78/150] Emitting module XMLCoder
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
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
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
[0/1] Planning build
Building for debugging...
[0/13] Write swift-version-24593BA9C3E375BF.txt
[2/132] Compiling Logging Locks.swift
[3/132] Compiling XMLCoder Box.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,
[4/132] Compiling XMLCoder ChoiceBox.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,
[5/133] Compiling Logging MetadataProvider.swift
[6/133] 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,
[7/133] 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,
[8/133] 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,
[9/133] 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,
[10/133] Compiling XMLCoder DecimalBox.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,
[11/133] 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,
[12/133] 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,
[13/133] 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,
[14/133] 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,
[22/139] Compiling XMLCoder FloatBox.swift
[23/139] Compiling XMLCoder IntBox.swift
[24/139] Compiling XMLCoder KeyedBox.swift
[25/139] Compiling XMLCoder NullBox.swift
[26/139] Compiling XMLCoder SharedBox.swift
[27/139] Compiling XMLCoder SingleKeyedBox.swift
[28/139] Compiling XMLCoder Attribute.swift
[29/139] Compiling XMLCoder BoolBox.swift
[32/139] Compiling XMLCoder DataBox.swift
[33/139] Compiling XMLCoder DateBox.swift
[35/139] Emitting module XMLCoder
[44/146] Compiling Logging LogHandler.swift
[45/146] Emitting module Logging
[46/146] Compiling Logging Logging.swift
[47/147] Wrapping AST for Logging for debugging
[49/147] Compiling XMLCoder String+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 | init() {
38 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 | init() {
38 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 | deinit {
42 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
43 | }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 | func lock() {
46 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
47 | }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 | func unlock() {
50 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
51 | }
52 | #endif
[50/147] Compiling XMLCoder XMLChoiceCodingKey.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 | init() {
38 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 | init() {
38 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 | deinit {
42 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
43 | }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 | func lock() {
46 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
47 | }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 | func unlock() {
50 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
51 | }
52 | #endif
[51/147] Compiling XMLCoder DynamicNodeDecoding.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 | init() {
38 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 | init() {
38 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 | deinit {
42 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
43 | }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 | func lock() {
46 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
47 | }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 | func unlock() {
50 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
51 | }
52 | #endif
[52/147] Compiling XMLCoder SingleValueDecodingContainer.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 | init() {
38 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 | init() {
38 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 | deinit {
42 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
43 | }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 | func lock() {
46 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
47 | }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 | func unlock() {
50 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
51 | }
52 | #endif
[53/147] Compiling XMLCoder XMLChoiceDecodingContainer.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 | init() {
38 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 | init() {
38 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 | deinit {
42 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
43 | }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 | func lock() {
46 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
47 | }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 | func unlock() {
50 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
51 | }
52 | #endif
[54/147] Compiling XMLCoder XMLDecoder.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 | init() {
38 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 | init() {
38 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 | deinit {
42 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
43 | }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 | func lock() {
46 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
47 | }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 | func unlock() {
50 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
51 | }
52 | #endif
[55/147] Compiling XMLCoder XMLDecoderImplementation.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 | init() {
38 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 | init() {
38 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 | deinit {
42 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
43 | }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 | func lock() {
46 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
47 | }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 | func unlock() {
50 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
51 | }
52 | #endif
[56/147] Compiling XMLCoder XMLDecodingStorage.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:9: error: cannot find 'pthread_mutex_init' in scope
36 |
37 | init() {
38 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:38:36: error: 'nil' requires a contextual type
36 |
37 | init() {
38 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:42:9: error: cannot find 'pthread_mutex_destroy' in scope
40 |
41 | deinit {
42 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
43 | }
44 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:46:9: error: cannot find 'pthread_mutex_lock' in scope
44 |
45 | func lock() {
46 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
47 | }
48 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:50:9: error: cannot find 'pthread_mutex_unlock' in scope
48 |
49 | func unlock() {
50 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
51 | }
52 | #endif
[57/147] Compiling XMLCoder XMLKeyedDecodingContainer.swift
[58/147] Compiling XMLCoder XMLUnkeyedDecodingContainer.swift
[59/147] Compiling XMLCoder DynamicNodeEncoding.swift
[60/147] Compiling XMLCoder EncodingErrorExtension.swift
[61/147] Compiling XMLCoder SingleValueEncodingContainer.swift
[62/147] Compiling XMLCoder XMLChoiceEncodingContainer.swift
[63/147] Compiling XMLCoder ElementAndAttribute.swift
[64/147] Compiling XMLCoder ISO8601DateFormatter.swift
[65/147] Compiling XMLCoder KeyedStorage.swift
[66/147] Compiling XMLCoder Metatypes.swift
[75/147] Compiling XMLCoder XMLCoderElement.swift
[76/147] Compiling XMLCoder XMLDocumentType.swift
[77/147] Compiling XMLCoder XMLHeader.swift
[78/147] Compiling XMLCoder XMLKey.swift
[79/147] Compiling XMLCoder XMLStackParser.swift
[80/147] Compiling XMLCoder DecodingErrorExtension.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,
<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,
<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,
<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,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[93/147] 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,
[94/147] Emitting module SwiftSoup
BUILD FAILURE 6.1 wasm