The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-nio-oblivious-http, reference main (11da67), with Swift 6.4 for Wasm on 28 Oct 2026 22:23:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/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-oblivious-http.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/apple/swift-nio-oblivious-http
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 11da67f Widen accepted versions of swift-crypto dependency (#61)
Cloned https://github.com/apple/swift-nio-oblivious-http.git
Revision (git rev-parse @):
11da67f210920821710cb65edb925df15169b335
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-nio-oblivious-http.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/apple/swift-nio-oblivious-http.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/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:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio.git
[1/18859] Fetching swift-crypto
[3585/105546] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git (3.27s)
Fetched https://github.com/apple/swift-nio.git (3.29s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.3 (4.30s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] 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 (0.61s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.27s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/1893] Fetching swift-atomics
[1894/9287] Fetching swift-atomics, swift-system
[1968/38649] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git (1.21s)
Fetched https://github.com/apple/swift-system.git (1.21s)
Fetched https://github.com/apple/swift-collections.git (1.22s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.38s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.18s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.24s)
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.5
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.3
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
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1012]
[Planning deferred tasks]
[Starting]
[117 / 655] CNIOFreeBSD
[153 / 691] _NIODataStructures
[166 / 691] NIOConcurrencyHelpers
[170 / 691] InternalCollectionsUtilities
[171 / 691] CryptoBoringWrapper
[182 / 691] NIOConcurrencyHelpers
[183 / 691] NIOConcurrencyHelpers
[186 / 691] InternalCollectionsUtilities
[191 / 692] _NIOBase64
[197 / 693] NIOConcurrencyHelpers
[205 / 694] _NIODataStructures
[209 / 694] CryptoBoringWrapper
[214 / 704] CNIOWindows
[229 / 705] CNIOLinux
[237 / 705] CryptoBoringWrapper
[239 / 706] CCryptoBoringSSL
[240 / 706] CCryptoBoringSSL
[244 / 706] CCryptoBoringSSL
[248 / 706] CCryptoBoringSSL
[249 / 706] CCryptoBoringSSL
[264 / 706] CCryptoBoringSSL
[267 / 706] CCryptoBoringSSL
[269 / 706] CCryptoBoringSSL
[272 / 706] CCryptoBoringSSL
[274 / 706] CCryptoBoringSSL
[276 / 706] CCryptoBoringSSL
[281 / 706] CCryptoBoringSSL
[287 / 706] CCryptoBoringSSL
[291 / 706] CCryptoBoringSSL
[294 / 706] CCryptoBoringSSL
[298 / 706] CCryptoBoringSSL
[299 / 706] CCryptoBoringSSL
[302 / 706] CCryptoBoringSSL
[305 / 706] CCryptoBoringSSL
[309 / 706] CCryptoBoringSSL
[310 / 706] CCryptoBoringSSL
[313 / 706] CCryptoBoringSSL
[316 / 706] CCryptoBoringSSL
[319 / 706] CCryptoBoringSSL
[322 / 706] CCryptoBoringSSL
[324 / 706] CCryptoBoringSSL
[328 / 706] CCryptoBoringSSL
[330 / 706] CCryptoBoringSSL
[332 / 706] CCryptoBoringSSL
[336 / 706] CCryptoBoringSSL
[337 / 706] CCryptoBoringSSL
[340 / 706] CCryptoBoringSSL
[348 / 706] CCryptoBoringSSL
[361 / 706] CCryptoBoringSSL
[374 / 706] CCryptoBoringSSL
[377 / 706] CCryptoBoringSSL
[382 / 706] CCryptoBoringSSL
[384 / 706] CCryptoBoringSSL
[391 / 706] CCryptoBoringSSL
[393 / 706] CCryptoBoringSSL
[396 / 706] CCryptoBoringSSL
[398 / 706] CCryptoBoringSSL
[401 / 706] CCryptoBoringSSL
[404 / 706] CCryptoBoringSSL
[406 / 706] CCryptoBoringSSL
[411 / 706] CCryptoBoringSSL
[413 / 706] CCryptoBoringSSL
[414 / 706] CCryptoBoringSSL
[419 / 706] CCryptoBoringSSL
[425 / 706] CCryptoBoringSSL
[433 / 706] CCryptoBoringSSL
[436 / 706] CCryptoBoringSSL
[441 / 706] CCryptoBoringSSL
[446 / 706] CCryptoBoringSSL
[449 / 706] CCryptoBoringSSL
[452 / 706] CCryptoBoringSSL
[467 / 706] CCryptoBoringSSL
[472 / 706] CCryptoBoringSSL
[477 / 706] CCryptoBoringSSL
[483 / 706] CCryptoBoringSSL
[484 / 706] CCryptoBoringSSL
[489 / 706] CCryptoBoringSSL
[493 / 706] CCryptoBoringSSL
[498 / 706] CCryptoBoringSSL
[500 / 706] CCryptoBoringSSL
[504 / 706] CCryptoBoringSSL
[505 / 706] CCryptoBoringSSL
[509 / 706] CCryptoBoringSSL
[512 / 706] CCryptoBoringSSL
[513 / 706] CCryptoBoringSSL
[518 / 706] CCryptoBoringSSL
[520 / 706] CCryptoBoringSSL
[522 / 706] CCryptoBoringSSL
[530 / 706] CCryptoBoringSSL
[538 / 706] CCryptoBoringSSL
[545 / 706] CCryptoBoringSSL
[547 / 706] CCryptoBoringSSL
[551 / 706] CCryptoBoringSSL
[557 / 706] CCryptoBoringSSL
[560 / 706] CCryptoBoringSSL
[563 / 706] CCryptoBoringSSL
[565 / 706] CCryptoBoringSSL
[574 / 706] CCryptoBoringSSL
[585 / 706] CCryptoBoringSSL
[592 / 706] CCryptoBoringSSL
[595 / 706] CCryptoBoringSSL
[596 / 706] CCryptoBoringSSL
[602 / 706] CCryptoBoringSSL
[604 / 706] CCryptoBoringSSL
[607 / 706] CCryptoBoringSSL
[614 / 706] CCryptoBoringSSL
[618 / 706] Atomics
[620 / 706] Atomics
[634 / 713] SpanPreview
[646 / 732] DequeModule
[647 / 732] DequeModule
[648 / 732] DequeModule
[649 / 732] DequeModule
[651 / 733] DequeModule
[653 / 733] Crypto
[657 / 733] Crypto
[667 / 736] ObliviousXHelpers
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/ObliviousXHelpers/Helpers.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Helpers.swift
/host/spi-builder-workspace/Sources/ObliviousXHelpers/Helpers.swift:480:29: error: cannot find 'ceil' in scope
478 |     precondition(value >= 0, "I2OSP requires a non-null value.")
479 |
480 |     let requiredBytes = Int(ceil(log2(Double(max(value, 1) + 1)) / 8))
    |                             `- error: cannot find 'ceil' in scope
481 |     precondition(outputByteCount >= requiredBytes)
482 |
/host/spi-builder-workspace/Sources/ObliviousXHelpers/Helpers.swift:480:34: error: cannot find 'log2' in scope
478 |     precondition(value >= 0, "I2OSP requires a non-null value.")
479 |
480 |     let requiredBytes = Int(ceil(log2(Double(max(value, 1) + 1)) / 8))
    |                                  `- error: cannot find 'log2' in scope
481 |     precondition(outputByteCount >= requiredBytes)
482 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/ObliviousXHelpers/Helpers.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-oblivious-http.build/Debug-webassembly-wasm32/ObliviousXHelpers-t.build/Objects-normal/wasm32/Helpers.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-oblivious-http.build/Debug-webassembly-wasm32/ObliviousXHelpers-t.build/Objects-normal/wasm32/Helpers.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-oblivious-http.build/Debug-webassembly-wasm32/ObliviousXHelpers-t.build/Objects-normal/wasm32/Helpers.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-oblivious-http.build/Debug-webassembly-wasm32/ObliviousXHelpers-t.build/Objects-normal/wasm32/Helpers.dia -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature MemberImportVisibility -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCPShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCP/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCPShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCP/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-oblivious-http.build/Debug-webassembly-wasm32/ObliviousXHelpers-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-oblivious-http.build/Debug-webassembly-wasm32/ObliviousXHelpers-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-oblivious-http.build/Debug-webassembly-wasm32/ObliviousXHelpers-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ObliviousXHelpers -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-oblivious-http.build/Debug-webassembly-wasm32/ObliviousXHelpers-t.build/Objects-normal/wasm32/ObliviousXHelpers_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-oblivious-http.build/Debug-webassembly-wasm32/ObliviousXHelpers-t.build/Objects-normal/wasm32/Helpers.o -index-unit-output-path /swift-nio-oblivious-http.build/Debug-webassembly-wasm32/ObliviousXHelpers-t.build/Objects-normal/wasm32/Helpers.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm