The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Formic, reference main (ff3048), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 05:10:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/heckj/formic.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/heckj/formic
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ff3048d clean up package.swift formatting with swift-format
Cloned https://github.com/heckj/formic.git
Revision (git rev-parse @):
ff3048d32ae44f748da991fdfca1c86bec3bcaed
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/heckj/formic.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/heckj/formic.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-async-dns-resolver
Fetching https://github.com/neallester/swift-log-testing.git
Fetching https://github.com/swiftlang/swift-format.git
Fetching https://github.com/pointfreeco/swift-parsing
[1/69] Fetching swift-log-testing
[70/12300] Fetching swift-log-testing, swift-format
[1905/13150] Fetching swift-log-testing, swift-format, swift-async-dns-resolver
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/neallester/swift-log-testing.git from cache (0.88s)
[4397/13081] Fetching swift-format, swift-async-dns-resolver
Fetching https://github.com/apple/swift-argument-parser.git
[13082/16917] Fetching swift-format, swift-async-dns-resolver, swift-log
[14617/23166] Fetching swift-format, swift-async-dns-resolver, swift-log, swift-dependencies
[14771/121047] Fetching swift-format, swift-async-dns-resolver, swift-log, swift-dependencies, swift-parsing
[14959/136427] Fetching swift-format, swift-async-dns-resolver, swift-log, swift-dependencies, swift-parsing, swift-argument-parser
Fetched https://github.com/apple/swift-async-dns-resolver from cache (2.55s)
[31713/135577] Fetching swift-format, swift-log, swift-dependencies, swift-parsing, swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (1.72s)
[28954/131741] Fetching swift-format, swift-dependencies, swift-parsing, swift-argument-parser
Fetched https://github.com/pointfreeco/swift-dependencies from cache (2.06s)
[30101/125492] Fetching swift-format, swift-parsing, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.98s)
[29850/110112] Fetching swift-format, swift-parsing
Fetched https://github.com/swiftlang/swift-format.git from cache (15.19s)
Fetched https://github.com/pointfreeco/swift-parsing from cache (15.47s)
Computing version for https://github.com/neallester/swift-log-testing.git
Computed https://github.com/neallester/swift-log-testing.git at 0.0.1 (20.72s)
Computing version for https://github.com/swiftlang/swift-format.git
Computed https://github.com/swiftlang/swift-format.git at 600.0.0 (1.33s)
Fetching https://github.com/apple/swift-markdown.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/6796] Fetching swift-markdown
[6797/77722] Fetching swift-markdown, swift-syntax
Fetched https://github.com/apple/swift-markdown.git from cache (11.87s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (12.05s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (12.96s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (1.39s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.14.1 (1.07s)
Fetching https://github.com/pointfreeco/swift-case-paths
[1/4394] Fetching swift-case-paths
Fetched https://github.com/pointfreeco/swift-case-paths from cache (0.80s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.6.0 (1.96s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18114] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (2.32s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.6.0 (3.41s)
Computing version for https://github.com/apple/swift-async-dns-resolver
Computed https://github.com/apple/swift-async-dns-resolver at 0.4.0 (1.00s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.87s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.7.1 (5.25s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.41s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (2.44s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.9.2 (1.15s)
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/combine-schedulers
[1/1292] Fetching swift-clocks
[245/3702] Fetching swift-clocks, combine-schedulers
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.76s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.76s)
[1/861] Fetching swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.50s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (2.32s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (1.03s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (1.11s)
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-markdown.git
Working copy of https://github.com/apple/swift-markdown.git resolved at 0.6.0
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 1.7.1
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.0.3
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/pointfreeco/swift-parsing
Working copy of https://github.com/pointfreeco/swift-parsing resolved at 0.14.1
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.9.2
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/neallester/swift-log-testing.git
Working copy of https://github.com/neallester/swift-log-testing.git resolved at 0.0.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/apple/swift-async-dns-resolver
Working copy of https://github.com/apple/swift-async-dns-resolver resolved at 0.4.0
Creating working copy for https://github.com/swiftlang/swift-format.git
Working copy of https://github.com/swiftlang/swift-format.git resolved at 600.0.0
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.6.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.3
[1/1] Compiling plugin Lint Source Code
[2/2] Compiling plugin Format Source Code
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/111] Write sources
[24/111] Compiling ares_android.c
[25/111] Compiling _SwiftSyntaxCShims dummy.c
[26/111] Write sources
[34/111] Compiling windows_port.c
/host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/CAsyncDNSResolver/c-ares/src/lib/ares_getnameinfo.c:29:12: fatal error: 'netdb.h' file not found
   29 | #  include <netdb.h>
      |            ^~~~~~~~~
1 error generated.
[35/111] Compiling ares_getnameinfo.c
[35/111] Compiling ares__timeval.c
[35/111] Compiling ares_cancel.c
/host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/CAsyncDNSResolver/c-ares/src/lib/ares__get_hostent.c:23:12: fatal error: 'netdb.h' file not found
   23 | #  include <netdb.h>
      |            ^~~~~~~~~
1 error generated.
[35/111] Compiling ares__get_hostent.c
[35/111] Compiling inet_ntop.c
[35/111] Compiling inet_net_pton.c
/host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/CAsyncDNSResolver/c-ares/src/lib/ares_getaddrinfo.c:32:12: fatal error: 'netdb.h' file not found
   32 | #  include <netdb.h>
      |            ^~~~~~~~~
1 error generated.
[35/111] Compiling ares_getaddrinfo.c
[35/111] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm