The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-nio-imap, reference 0.5.0 (a136f5), with Swift 6.4 for Wasm on 15 Nov 2026 16:55:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-nio-imap.git
Reference: 0.5.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/apple/swift-nio-imap
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at a136f54 Bump README version to 0.5.0
Cloned https://github.com/apple/swift-nio-imap.git
Revision (git rev-parse @):
a136f54cf8bfc996103219ebdf34434f0fbc9311
SUCCESS checkout https://github.com/apple/swift-nio-imap.git at 0.5.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/apple/swift-nio-imap.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:366b789e191e803aab570d7212596991386521d71ea439b0666be689b4886df3
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-nio-extras
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-nio-ssl
Fetching https://github.com/apple/swift-collections
[1/8401] Fetching swift-log
[7226/25364] Fetching swift-log, swift-nio-ssl
Fetched https://github.com/apple/swift-log (0.50s)
[1018/16963] Fetching swift-nio-ssl
[3564/46995] Fetching swift-nio-ssl, swift-collections
[34083/133886] Fetching swift-nio-ssl, swift-collections, swift-nio
Fetched https://github.com/apple/swift-nio-ssl (1.78s)
Fetched https://github.com/apple/swift-collections (1.83s)
[58217/86891] Fetching swift-nio
[58218/93617] Fetching swift-nio, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras (2.10s)
[62562/86891] Fetching swift-nio
Fetched https://github.com/apple/swift-nio (5.46s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.17.0 (5.62s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.6 (0.24s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.37.6 (0.19s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.105.0 (0.26s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1927] Fetching swift-atomics
[1928/9497] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git (0.67s)
Fetched https://github.com/apple/swift-system.git (0.67s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.84s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.18s)
Computing version for https://github.com/apple/swift-nio-extras
Computed https://github.com/apple/swift-nio-extras at 1.35.2 (0.99s)
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-certificates.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-asn1.git
[1/1284] Fetching swift-http-structured-headers
[181/3361] Fetching swift-http-structured-headers, swift-asn1
[1104/6253] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle
[1210/8229] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-http-types
[6956/15891] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-http-types, swift-certificates
[8122/22725] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-http-types, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-asn1.git (0.46s)
[7044/20648] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-certificates, swift-async-algorithms
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.51s)
[11920/17756] Fetching swift-http-structured-headers, swift-http-types, swift-certificates, swift-async-algorithms
Fetching https://github.com/apple/swift-algorithms.git
Fetched https://github.com/apple/swift-http-types.git (0.61s)
Fetched https://github.com/apple/swift-http-structured-headers.git (0.61s)
Fetched https://github.com/apple/swift-async-algorithms.git (0.61s)
Fetched https://github.com/apple/swift-certificates.git (0.61s)
[1/6168] Fetching swift-algorithms
[6169/18541] Fetching swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git (0.51s)
[619/12373] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git (1.02s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.37s)
Fetching https://github.com/apple/swift-numerics.git
[1/6858] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.54s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.69s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.15s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.19s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.14s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.19s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.18s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.21s)
Fetching https://github.com/apple/swift-crypto.git
[1/18948] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.25s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (1.43s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.1 (0.28s)
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.105.0
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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
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.7.0
Creating working copy for https://github.com/apple/swift-nio-ssl
Working copy of https://github.com/apple/swift-nio-ssl resolved at 2.37.6
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.13.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.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.4
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
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.46.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.21.1
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.6
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.17.0
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.8.0
Creating working copy for https://github.com/apple/swift-nio-extras
Working copy of https://github.com/apple/swift-nio-extras resolved at 1.35.2
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.1.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.9.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 1017]
[Planning 1016 / 1017]
[Planning deferred tasks]
[Starting]
[92 / 720] CNIOLLHTTP
[153 / 725] CNIOWindows
[162 / 756] _NIOBase64
[163 / 756] _AtomicsShims
[167 / 756] _NIODataStructures
[180 / 756] Logging
[188 / 756] InternalCollectionsUtilities
[194 / 756] NIOConcurrencyHelpers
[196 / 756] _NIOBase64
[198 / 756] NIOConcurrencyHelpers
[204 / 757] Logging
[210 / 759] _NIOBase64
[217 / 759] InternalCollectionsUtilities
[220 / 759] InternalCollectionsUtilities
[223 / 764] CNIOPosix
[232 / 764] DequeModule
[235 / 766]
[243 / 767] CNIOPosix
[248 / 776] CNIOFreeBSD
[252 / 776] OrderedCollections
[253 / 776] OrderedCollections
[254 / 777] OrderedCollections
[255 / 777] OrderedCollections
[258 / 777] Logging
[259 / 777] InternalCollectionsUtilities
[262 / 779] Atomics
[262 / 779]
[265 / 797] DequeModule
[266 / 797] CNIODarwin
[267 / 797] CNIOLLHTTP
[271 / 797] CNIOBoringSSL
[272 / 797] CNIOBoringSSL
[273 / 797] CNIOBoringSSL
[274 / 797] CNIOBoringSSL
[276 / 798] CNIOBoringSSL
[282 / 798] CNIOBoringSSL
[283 / 798] CNIOBoringSSL
[285 / 798] CNIOBoringSSL
[286 / 798] CNIOBoringSSL
[287 / 798] Atomics
[295 / 798] CNIOBoringSSL
[297 / 798] CNIOBoringSSL
[300 / 798] CNIOBoringSSL
[302 / 798] CNIOBoringSSL
[304 / 798] CNIOBoringSSL
[305 / 798] CNIOBoringSSL
[306 / 798] CNIOBoringSSL
[308 / 798] CNIOBoringSSL
[310 / 798] CNIOBoringSSL
[312 / 798] CNIOBoringSSL
[318 / 798] DequeModule
[323 / 798] CNIOBoringSSL
[327 / 798] CNIOBoringSSL
[329 / 798] CNIOBoringSSL
[335 / 798] CNIOBoringSSL
[340 / 798] CNIOBoringSSL
[341 / 798] CNIOBoringSSL
[344 / 798] CNIOBoringSSL
[347 / 798] CNIOBoringSSL
[350 / 798] CNIOBoringSSL
[352 / 798] CNIOBoringSSL
[355 / 798] CNIOBoringSSL
[357 / 798] CNIOBoringSSL
[360 / 798] CNIOBoringSSL
[362 / 798] CNIOBoringSSL
[364 / 798] CNIOBoringSSL
[367 / 798] CNIOBoringSSL
[369 / 798] CNIOBoringSSL
[370 / 798] CNIOBoringSSL
[371 / 798] CNIOBoringSSL
[373 / 798] CNIOBoringSSL
[374 / 798] CNIOBoringSSL
[376 / 798] CNIOBoringSSL
[379 / 798] CNIOBoringSSL
[380 / 798] CNIOBoringSSL
[383 / 798] CNIOBoringSSL
[385 / 798] CNIOBoringSSL
[387 / 798] CNIOBoringSSL
[388 / 798] CNIOBoringSSL
[389 / 798] CNIOBoringSSL
[391 / 798] CNIOBoringSSL
[392 / 798] CNIOBoringSSL
[394 / 798] CNIOBoringSSL
[395 / 798] CNIOBoringSSL
[397 / 798] CNIOBoringSSL
[398 / 798] CNIOBoringSSL
[400 / 798] CNIOBoringSSL
[402 / 798] CNIOBoringSSL
[403 / 798] CNIOBoringSSL
[405 / 798] CNIOBoringSSL
[406 / 798] CNIOBoringSSL
[408 / 798] CNIOBoringSSL
[410 / 798] CNIOBoringSSL
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc:31:10: fatal error: 'netdb.h' file not found
   31 | #include <netdb.h>
      |          ^~~~~~~~~
1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.o /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc normal wasm32 c++ com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp

    /usr/bin/clang -x c++ -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.dia -c /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.o
error: Build failed
BUILD FAILURE 6.4 wasm