The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftAvroCore, reference master (615803), with Swift 6.4 for Wasm on 13 Oct 2026 12:21:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-2":/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.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lynixliu/SwiftAvroCore.git
Reference: master
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/lynixliu/SwiftAvroCore
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 615803d Merge pull request #71 from lynixliu/develop
Cloned https://github.com/lynixliu/SwiftAvroCore.git
Revision (git rev-parse @):
615803d6b28598b8fc76c97572764962f2f691af
SUCCESS checkout https://github.com/lynixliu/SwiftAvroCore.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/lynixliu/SwiftAvroCore.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-2":/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:d8610b27563fbed4643ddaec8e9397319e3b3e1372fc54686db2dacb952c1b8f
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-crypto.git
[1/18629] Fetching swift-crypto
[747/35509] Fetching swift-crypto, swift-nio-ssl
[29177/121906] Fetching swift-crypto, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-crypto.git (1.58s)
[74766/103277] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (3.75s)
Fetched https://github.com/apple/swift-nio.git (3.77s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (4.01s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.28s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/7288] Fetching swift-system
[7289/36032] Fetching swift-system, swift-collections
[13038/37921] Fetching swift-system, swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (1.76s)
Fetched https://github.com/apple/swift-system.git (1.76s)
Fetched https://github.com/apple/swift-collections.git (1.78s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.95s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.3 (0.23s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.92s)
Fetching https://github.com/apple/swift-asn1.git
[1/2009] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.42s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.34s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.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.8.1
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.3
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.37.5
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 898]
[Planning deferred tasks]
[Constructing 406 / 2230]
[Starting]
[93 / 665] InternalCollectionsUtilities
[141 / 676] CNIOWASI
[145 / 701] SwiftAvroCore
[146 / 701] _NIOBase64
[156 / 701] _NIODataStructures
[157 / 701] InternalCollectionsUtilities
[168 / 701] SwiftAvroCore
[170 / 701] SwiftAvroCore
[171 / 702] _NIODataStructures
[180 / 702] SwiftAvroCore
[181 / 702] SwiftAvroCore
[182 / 703] _NIODataStructures
[184 / 703] SwiftAvroCore
[187 / 703] _NIODataStructures
[188 / 703] _NIODataStructures
[190 / 703] NIOConcurrencyHelpers
[191 / 703] InternalCollectionsUtilities
[193 / 703] InternalCollectionsUtilities
[194 / 703] InternalCollectionsUtilities
[196 / 704] SpanPreview
[199 / 704] NIOConcurrencyHelpers
[200 / 704] SwiftAvroCore
[204 / 704] CNIOLinux
[210 / 707] SpanPreview
[212 / 719] Atomics
[212 / 719] InternalCollectionsUtilities
[215 / 719] SpanPreview
[219 / 719] CNIOLLHTTP
[225 / 719] SpanPreview
[228 / 720] InternalCollectionsUtilities
[230 / 721] SpanPreview
[231 / 721] InternalCollectionsUtilities
/host/spi-builder-workspace/Sources/SwiftAvroCore/Schema/LogicalTypeConverter.swift:208:9: warning: result of call to 'NSDecimalMultiplyByPowerOf10' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
206 |         var value = decimal
207 |         var scaled = Decimal()
208 |         NSDecimalMultiplyByPowerOf10(&scaled, &value, Int16(scale), .plain)
    |         `- warning: result of call to 'NSDecimalMultiplyByPowerOf10' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
209 |         var rounded = Decimal()
210 |         NSDecimalRound(&rounded, &scaled, 0, .plain)
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[235 / 721] Atomics
[237 / 721] Atomics
[239 / 721] Atomics
[239 / 721]
[242 / 721] Atomics
[242 / 721] CNIOLLHTTP
[245 / 721] CNIOBoringSSL
[246 / 721] CNIOBoringSSL
[247 / 721] CNIOBoringSSL
[248 / 721] CNIOBoringSSL
[250 / 721] CNIOBoringSSL
[253 / 721] CNIOBoringSSL
[254 / 722] Atomics
[255 / 722] CNIOBoringSSL
[264 / 722] CNIOBoringSSL
[267 / 723] CNIOBoringSSL
[268 / 723] CNIOBoringSSL
[271 / 723] CNIOBoringSSL
[273 / 723] CNIOBoringSSL
[274 / 723] CNIOBoringSSL
[275 / 723] CNIOBoringSSL
[277 / 723] CNIOBoringSSL
[279 / 723] CNIOBoringSSL
[281 / 723] CNIOBoringSSL
[283 / 723] CNIOBoringSSL
[284 / 723] CNIOBoringSSL
[287 / 723] CNIOBoringSSL
[288 / 723] CNIOBoringSSL
[291 / 723] CNIOBoringSSL
[295 / 723] CNIOBoringSSL
[299 / 723] CNIOBoringSSL
[300 / 723] CNIOBoringSSL
[302 / 723] CNIOBoringSSL
[303 / 723] CNIOBoringSSL
[305 / 723] CNIOBoringSSL
[307 / 723] CNIOBoringSSL
[308 / 723] CNIOBoringSSL
[311 / 723] CNIOBoringSSL
[312 / 723] CNIOBoringSSL
[314 / 723] CNIOBoringSSL
[316 / 723] CNIOBoringSSL
[318 / 723] CNIOBoringSSL
[319 / 723] CNIOBoringSSL
[321 / 723] CNIOBoringSSL
[324 / 723] CNIOBoringSSL
[325 / 723] CNIOBoringSSL
[327 / 723] CNIOBoringSSL
[329 / 723] CNIOBoringSSL
[331 / 723] CNIOBoringSSL
[332 / 723] CNIOBoringSSL
[336 / 723] CNIOBoringSSL
[338 / 723] CNIOBoringSSL
[340 / 723] CNIOBoringSSL
[343 / 723] CNIOBoringSSL
[345 / 723] CNIOBoringSSL
[347 / 723] CNIOBoringSSL
[348 / 723] CNIOBoringSSL
[352 / 723] CNIOBoringSSL
[353 / 723] CNIOBoringSSL
[355 / 723] CNIOBoringSSL
[356 / 723] CNIOBoringSSL
[358 / 723] CNIOBoringSSL
[359 / 723] CNIOBoringSSL
[360 / 723] CNIOBoringSSL
[362 / 723] CNIOBoringSSL
[363 / 723] CNIOBoringSSL
[366 / 723] CNIOBoringSSL
[367 / 723] CNIOBoringSSL
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc:30:10: fatal error: 'netdb.h' file not found
   30 | #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