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 0.3.0 (ff3048), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 05:10:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: 0.3.0
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
 * tag               0.3.0      -> FETCH_HEAD
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 0.3.0
========================================
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-4609320-0":/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/neallester/swift-log-testing.git
Fetching https://github.com/swiftlang/swift-format.git
[1/69] Fetching swift-log-testing
[70/12300] Fetching swift-log-testing, swift-format
Fetching https://github.com/pointfreeco/swift-parsing
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/apple/swift-async-dns-resolver
[12301/16136] Fetching swift-log-testing, swift-format, swift-log
[12608/16986] Fetching swift-log-testing, swift-format, swift-log, swift-async-dns-resolver
[14878/23235] Fetching swift-log-testing, swift-format, swift-log, swift-async-dns-resolver, swift-dependencies
Fetched https://github.com/apple/swift-async-dns-resolver from cache (0.89s)
[18368/22385] Fetching swift-log-testing, swift-format, swift-log, swift-dependencies
Fetching https://github.com/apple/swift-argument-parser.git
[22386/120266] Fetching swift-log-testing, swift-format, swift-log, swift-dependencies, swift-parsing
Fetched https://github.com/swiftlang/swift-format.git from cache (2.24s)
Fetched https://github.com/neallester/swift-log-testing.git from cache (2.26s)
Fetched https://github.com/apple/swift-log.git from cache (1.73s)
Fetched https://github.com/pointfreeco/swift-dependencies from cache (1.75s)
[979/97881] Fetching swift-parsing
[4896/113261] Fetching swift-parsing, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.08s)
[27407/97881] Fetching swift-parsing
Fetched https://github.com/pointfreeco/swift-parsing from cache (11.70s)
Computing version for https://github.com/neallester/swift-log-testing.git
Computed https://github.com/neallester/swift-log-testing.git at 0.0.1 (16.53s)
Computing version for https://github.com/swiftlang/swift-format.git
Computed https://github.com/swiftlang/swift-format.git at 600.0.0 (1.22s)
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 (10.32s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (10.52s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (11.61s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (1.26s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.14.1 (0.95s)
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.55s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.6.0 (1.76s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18114] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.90s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.6.0 (2.72s)
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.04s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.92s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.7.1 (4.17s)
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.20s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (2.66s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.9.2 (1.00s)
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/combine-schedulers
[1/1292] Fetching swift-clocks
[247/2153] Fetching swift-clocks, swift-concurrency-extras
[1603/4563] Fetching swift-clocks, swift-concurrency-extras, combine-schedulers
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.84s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.85s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.85s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (1.64s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (1.01s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (1.05s)
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/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/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/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.0.3
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/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/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/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-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-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.1
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-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.9.2
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/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
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
[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
[31/111] Compiling _SwiftSyntaxCShims dummy.c
[32/111] Compiling ares_fds.c
[33/111] Compiling ares_writev.c
[34/111] Compiling inet_ntop.c
[35/111] Compiling windows_port.c
[36/111] Compiling bitncmp.c
[37/111] Write swift-version-24593BA9C3E375BF.txt
[38/111] Compiling inet_net_pton.c
[39/111] Compiling ares_version.c
[40/111] Compiling ares_strsplit.c
[41/111] Compiling ares_timeout.c
[42/111] Compiling ares_strcasecmp.c
[42/111] Compiling ares_strdup.c
[44/111] Compiling ares_strerror.c
[45/113] Compiling ares_send.c
[46/152] Compiling ares_search.c
[48/152] Emitting module SwiftSyntax600
[48/152] Compiling ares_rand.c
[49/152] Compiling ares_query.c
/host/spi-builder-workspace/.build/checkouts/swift-async-dns-resolver/Sources/CAsyncDNSResolver/c-ares/src/lib/ares_process.c:30:12: fatal error: 'netdb.h' file not found
   30 | #  include <netdb.h>
      |            ^~~~~~~~~
1 error generated.
[50/152] Compiling ares_process.c
[51/152] Emitting module SwiftSyntax510
[51/152] Compiling ares_platform.c
[52/152] Emitting module SwiftSyntax509
BUILD FAILURE 6.2 wasm