Build Information
Failed to build LinkPreview, reference main (653426), with Swift 6.1 for Wasm on 24 Oct 2025 22:09:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/harlanhaskins/LinkPreviewSwift.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/harlanhaskins/LinkPreviewSwift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 653426d Update OpenGraph processor to also look through `<meta name='og:image' content='...'/>`
Cloned https://github.com/harlanhaskins/LinkPreviewSwift.git
Revision (git rev-parse @):
653426d63e3c9bbfc158dc5d01f3153c78f7537c
SUCCESS checkout https://github.com/harlanhaskins/LinkPreviewSwift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/harlanhaskins/LinkPreviewSwift.git
https://github.com/harlanhaskins/LinkPreviewSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swiftsoup",
"requirement" : {
"range" : [
{
"lower_bound" : "2.6.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scinfu/SwiftSoup.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.24.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client"
}
],
"manifest_display_name" : "LinkPreview",
"name" : "LinkPreview",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "LinkPreview",
"targets" : [
"LinkPreview"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "linkpreviewcli",
"targets" : [
"LinkPreviewCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "LinkPreviewTests",
"module_type" : "SwiftTarget",
"name" : "LinkPreviewTests",
"path" : "Tests/LinkPreviewTests",
"sources" : [
"LinkPreviewTests.swift"
],
"target_dependencies" : [
"LinkPreview"
],
"type" : "test"
},
{
"c99name" : "LinkPreviewCLI",
"module_type" : "SwiftTarget",
"name" : "LinkPreviewCLI",
"path" : "Sources/LinkPreviewCLI",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"linkpreviewcli"
],
"sources" : [
"Main.swift"
],
"target_dependencies" : [
"LinkPreview"
],
"type" : "executable"
},
{
"c99name" : "LinkPreview",
"module_type" : "SwiftTarget",
"name" : "LinkPreview",
"path" : "Sources/LinkPreview",
"product_dependencies" : [
"SwiftSoup",
"AsyncHTTPClient"
],
"product_memberships" : [
"LinkPreview",
"linkpreviewcli"
],
"sources" : [
"LinkPreview.swift",
"LinkPreviewMetadata.swift",
"LinkPreviewProvider.swift",
"LinkPreviewURLRequest.swift",
"Processors/GenericHTMLProcessor.swift",
"Processors/MetadataProcessor.swift",
"Processors/OpenGraphProcessor.swift",
"Processors/WikipediaAPIProcessor.swift",
"URL+Extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swift-server/async-http-client
[1/4634] Fetching swiftsoup
[94/21317] Fetching swiftsoup, swift-argument-parser
[1735/35690] Fetching swiftsoup, swift-argument-parser, async-http-client
Fetched https://github.com/scinfu/SwiftSoup.git from cache (2.19s)
Fetched https://github.com/swift-server/async-http-client from cache (2.19s)
Fetched https://github.com/apple/swift-argument-parser from cache (2.19s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (3.44s)
Computing version for https://github.com/swift-server/async-http-client
Computed https://github.com/swift-server/async-http-client at 1.29.0 (1.07s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
[1/1820] Fetching swift-atomics
[129/8012] Fetching swift-atomics, swift-nio-extras
[1622/14011] Fetching swift-atomics, swift-nio-extras, swift-algorithms
Fetched https://github.com/apple/swift-atomics.git from cache (0.98s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.98s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.08s)
Fetching https://github.com/apple/swift-nio.git
[1/4050] Fetching swift-log
[244/9532] Fetching swift-log, swift-distributed-tracing
[407/21232] Fetching swift-log, swift-distributed-tracing, swift-nio-http2
[1153/24003] Fetching swift-log, swift-distributed-tracing, swift-nio-http2, swift-nio-transport-services
[9988/39131] Fetching swift-log, swift-distributed-tracing, swift-nio-http2, swift-nio-transport-services, swift-nio-ssl
[16543/118809] Fetching swift-log, swift-distributed-tracing, swift-nio-http2, swift-nio-transport-services, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.32s)
[11295/113327] Fetching swift-log, swift-nio-http2, swift-nio-transport-services, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.46s)
[9588/110556] Fetching swift-log, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (1.47s)
[5655/106506] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (4.33s)
[64529/94806] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.45s)
[54182/79678] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (12.01s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (14.27s)
Fetching https://github.com/apple/swift-service-context.git
[1/1141] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.45s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (1.26s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.74s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (4.74s)
Fetching https://github.com/apple/swift-numerics.git
[1/6380] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.58s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.2 (2.63s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.91s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.77s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (2.48s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
[1/1198] Fetching swift-http-structured-headers
[121/2851] Fetching swift-http-structured-headers, swift-asn1
[2704/9522] Fetching swift-http-structured-headers, swift-asn1, swift-certificates
[2986/12052] Fetching swift-http-structured-headers, swift-asn1, swift-certificates, swift-service-lifecycle
[4454/12991] Fetching swift-http-structured-headers, swift-asn1, swift-certificates, swift-service-lifecycle, swift-http-types
[6282/18624] Fetching swift-http-structured-headers, swift-asn1, swift-certificates, swift-service-lifecycle, swift-http-types, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (1.10s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.10s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.10s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.33s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.34s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.34s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.0 (2.35s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.80s)
Fetching https://github.com/apple/swift-collections.git
[1/18239] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.46s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (4.16s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.62s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.07s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.5.0 (0.70s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.35.0 (1.03s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.87.0 (1.22s)
Fetching https://github.com/apple/swift-system.git
[1/5065] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.68s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.15.0 (1.55s)
Fetching https://github.com/apple/swift-crypto.git
[1/17324] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.94s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (4.95s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (7.85s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.0.0 (5.66s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.11.1 (0.65s)
Fetching https://github.com/nicklockwood/LRUCache.git
[1/341] Fetching lrucache
Fetched https://github.com/nicklockwood/LRUCache.git from cache (0.50s)
Computing version for https://github.com/nicklockwood/LRUCache.git
Computed https://github.com/nicklockwood/LRUCache.git at 1.2.0 (1.16s)
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.38.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.9.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.0.0
Creating working copy for https://github.com/swift-server/async-http-client
Working copy of https://github.com/swift-server/async-http-client resolved at 1.29.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.35.0
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.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.87.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.11.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.25.2
Creating working copy for https://github.com/nicklockwood/LRUCache.git
Working copy of https://github.com/nicklockwood/LRUCache.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.15.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.29.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/486] Write sources
[29/486] Compiling _CWASI _CWASI.c
[30/486] Compiling CNIOWindows shim.c
[30/486] Compiling CNIOWASI CNIOWASI.c
[32/486] Compiling CNIOWindows WSAStartup.c
[32/486] Compiling CNIOPosix event_loop_id.c
[34/486] Compiling _AtomicsShims.c
[35/486] Compiling CNIOLinux shim.c
[35/486] Compiling CNIOLinux liburing_shims.c
[37/486] Compiling CNIOExtrasZlib empty.c
[38/486] Compiling CNIODarwin shim.c
[39/486] Compiling CNIOLLHTTP c_nio_http.c
[40/486] Compiling fiat_p256_adx_sqr.S
[41/486] Compiling CNIOLLHTTP c_nio_api.c
[42/486] Compiling _NumericsShims _NumericsShims.c
[43/486] Write swift-version-24593BA9C3E375BF.txt
[44/486] Compiling fiat_p256_adx_mul.S
[44/486] Compiling fiat_curve25519_adx_square.S
[46/486] Compiling fiat_curve25519_adx_mul.S
[47/495] Compiling CNIOBoringSSLShims shims.c
[49/506] Emitting module _NIODataStructures
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[49/506] Compiling tls_method.cc
[49/506] Compiling CNIOLLHTTP c_nio_llhttp.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[49/506] Compiling tls13_server.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[49/506] Compiling tls_record.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/440] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[4/441] Compiling tls13_both.cc
[4/441] Compiling tls13_enc.cc
[4/441] Compiling tls13_server.cc
[4/441] Compiling t1_enc.cc
[4/441] Compiling CNIOLLHTTP c_nio_llhttp.c
[4/441] Compiling tls13_client.cc
[4/441] Compiling tls_method.cc
[4/441] Compiling tls_record.cc
BUILD FAILURE 6.1 wasm