Build Information
Failed to build swift-cidr-admission, reference main (43401d), with Swift 6.4 for Wasm on 7 Nov 2026 13:05:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RouteObjects/swift-cidr-admission.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/RouteObjects/swift-cidr-admission
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 43401df Merge pull request #19 from RouteObjects/chore/linguist-benchmark-results
Cloned https://github.com/RouteObjects/swift-cidr-admission.git
Revision (git rev-parse @):
43401df89245449de84be2376a0e76758cf298cd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/RouteObjects/swift-cidr-admission.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/RouteObjects/swift-cidr-admission.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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:439c9a525449f13061cf4a8f755895df6bdc90ef7885bc03630392396f826d74
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/RouteObjects/swift-cidr.git
[1/1482] Fetching swift-cidr
[90/20406] Fetching swift-cidr, swift-crypto
Fetched https://github.com/RouteObjects/swift-cidr.git (0.45s)
[947/18924] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.26s)
Computing version for https://github.com/RouteObjects/swift-cidr.git
Computed https://github.com/RouteObjects/swift-cidr.git at 0.8.1 (1.45s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/19344] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (0.79s)
[1/86815] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (4.51s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.1 (5.46s)
Fetching https://github.com/apple/swift-asn1.git
[1/2065] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.60s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.76s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.26s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1926] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.52s)
[1/7485] Fetching swift-system
[1798/37356] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (1.27s)
Fetched https://github.com/apple/swift-collections.git (1.28s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.45s)
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-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-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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/RouteObjects/swift-cidr.git
Working copy of https://github.com/RouteObjects/swift-cidr.git resolved at 0.8.1
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.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.4
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 274]
[Planning deferred tasks]
[Starting]
[35 / 444] CIDR
[54 / 455] CCryptoBoringSSL
[55 / 464] CIDR
[56 / 464] CCryptoBoringSSL
[57 / 464] CCryptoBoringSSL
[59 / 464] CCryptoBoringSSL
[60 / 464] CIDR
[61 / 464] CCryptoBoringSSL
[67 / 464] CCryptoBoringSSL
[72 / 464] CCryptoBoringSSL
[76 / 464] CryptoBoringWrapper
[82 / 464] CCryptoBoringSSL
[85 / 464] CCryptoBoringSSL
[86 / 464] CCryptoBoringSSL
[87 / 464] CCryptoBoringSSL
[89 / 464] CCryptoBoringSSL
[90 / 464] CCryptoBoringSSL
[92 / 464] CCryptoBoringSSL
[93 / 464] CCryptoBoringSSL
[94 / 464] CCryptoBoringSSL
[96 / 464] CCryptoBoringSSL
[97 / 464] CCryptoBoringSSL
[98 / 464] CCryptoBoringSSL
[100 / 464] CCryptoBoringSSL
[101 / 464] CCryptoBoringSSL
[106 / 464] CCryptoBoringSSL
[110 / 464] CCryptoBoringSSL
[113 / 464] CCryptoBoringSSL
[115 / 464] CCryptoBoringSSL
[116 / 464] CCryptoBoringSSL
[117 / 464] CCryptoBoringSSL
[120 / 464] CCryptoBoringSSL
[124 / 464] CCryptoBoringSSL
[125 / 464] CCryptoBoringSSL
[126 / 464] CCryptoBoringSSL
[127 / 464] CCryptoBoringSSL
[128 / 464] CCryptoBoringSSL
[131 / 464] CCryptoBoringSSL
[134 / 464] CCryptoBoringSSL
[137 / 464] CCryptoBoringSSL
[141 / 464] CCryptoBoringSSL
[144 / 464] CCryptoBoringSSL
[145 / 464] CCryptoBoringSSL
[147 / 464] CCryptoBoringSSL
[148 / 464] CCryptoBoringSSL
[150 / 464] CCryptoBoringSSL
[151 / 464] CCryptoBoringSSL
[153 / 464] CCryptoBoringSSL
[154 / 464] CCryptoBoringSSL
[155 / 464] CCryptoBoringSSL
[157 / 464] CCryptoBoringSSL
[158 / 464] CCryptoBoringSSL
[160 / 464] CCryptoBoringSSL
[164 / 464] CCryptoBoringSSL
[169 / 464] CCryptoBoringSSL
[176 / 464] CCryptoBoringSSL
[179 / 464] CCryptoBoringSSL
[184 / 464] CCryptoBoringSSL
[189 / 464] CCryptoBoringSSL
[192 / 464] CCryptoBoringSSL
[193 / 464] CCryptoBoringSSL
[195 / 464] CCryptoBoringSSL
[200 / 464] CCryptoBoringSSL
[201 / 464] CCryptoBoringSSL
[205 / 464] CCryptoBoringSSL
[208 / 464] CCryptoBoringSSL
[209 / 464] CCryptoBoringSSL
[212 / 464] CCryptoBoringSSL
[214 / 464] CCryptoBoringSSL
[215 / 464] CCryptoBoringSSL
[217 / 464] CCryptoBoringSSL
[220 / 464] CCryptoBoringSSL
[221 / 464] CCryptoBoringSSL
[223 / 464] CCryptoBoringSSL
[225 / 464] CCryptoBoringSSL
[226 / 464] CCryptoBoringSSL
[227 / 464] CCryptoBoringSSL
[230 / 464] CCryptoBoringSSL
[232 / 464] CCryptoBoringSSL
[233 / 464] CCryptoBoringSSL
[237 / 464] CCryptoBoringSSL
[240 / 464] CCryptoBoringSSL
[241 / 464] CCryptoBoringSSL
[242 / 464] CCryptoBoringSSL
[246 / 464] CCryptoBoringSSL
[250 / 464] CCryptoBoringSSL
[253 / 464] CCryptoBoringSSL
[254 / 464] CCryptoBoringSSL
[257 / 464] CCryptoBoringSSL
[263 / 464] CCryptoBoringSSL
[265 / 464] CCryptoBoringSSL
[266 / 464] CCryptoBoringSSL
[271 / 464] CCryptoBoringSSL
[277 / 464] CCryptoBoringSSL
[281 / 464] CCryptoBoringSSL
[285 / 464] CCryptoBoringSSL
[286 / 464] CCryptoBoringSSL
[287 / 464] CCryptoBoringSSL
[289 / 464] CCryptoBoringSSL
[294 / 464] CCryptoBoringSSL
[297 / 464] CCryptoBoringSSL
[299 / 464] CCryptoBoringSSL
[301 / 464] CCryptoBoringSSL
[305 / 464] CCryptoBoringSSL
[307 / 464] CCryptoBoringSSL
[309 / 464] CCryptoBoringSSL
[311 / 464] CCryptoBoringSSL
[312 / 464] CCryptoBoringSSL
[313 / 464] CCryptoBoringSSL
[315 / 464] CCryptoBoringSSL
[319 / 464] CCryptoBoringSSL
[320 / 464] CCryptoBoringSSL
[321 / 464] CCryptoBoringSSL
[324 / 464] CCryptoBoringSSL
[326 / 464] CCryptoBoringSSL
[327 / 464] CCryptoBoringSSL
[329 / 464] CCryptoBoringSSL
[330 / 464] CCryptoBoringSSL
[332 / 464] CCryptoBoringSSL
[333 / 464] CCryptoBoringSSL
[334 / 464] CCryptoBoringSSL
[336 / 464] CCryptoBoringSSL
[337 / 464] CCryptoBoringSSL
[338 / 464] CCryptoBoringSSL
[340 / 464] CCryptoBoringSSL
[341 / 464] CCryptoBoringSSL
[343 / 464] CCryptoBoringSSL
[347 / 464] CCryptoBoringSSL
[352 / 464] CCryptoBoringSSL
[356 / 464] CCryptoBoringSSL
[359 / 464] CCryptoBoringSSL
[362 / 464] CCryptoBoringSSL
[364 / 464] CCryptoBoringSSL
[367 / 464] CCryptoBoringSSL
[371 / 464] CCryptoBoringSSL
[374 / 464] CCryptoBoringSSL
[376 / 464] CCryptoBoringSSL
[380 / 464] CCryptoBoringSSL
[381 / 464] CCryptoBoringSSL
[383 / 464] CCryptoBoringSSL
[385 / 464] CCryptoBoringSSL
[389 / 464] CCryptoBoringSSL
[393 / 464] CCryptoBoringSSL
[400 / 464] CCryptoBoringSSL
[405 / 464] CCryptoBoringSSL
[411 / 464] CCryptoBoringSSL
[412 / 464] CCryptoBoringSSL
[415 / 464] CCryptoBoringSSL
[416 / 464] CCryptoBoringSSL
[417 / 464] CCryptoBoringSSL
[418 / 464] CCryptoBoringSSL
[420 / 464] CCryptoBoringSSL
[422 / 464] CCryptoBoringSSL
[424 / 464] CCryptoBoringSSL
[425 / 464] CCryptoBoringSSL
[428 / 464] CCryptoBoringSSL
[431 / 464] CryptoBoringWrapper
[432 / 464] CryptoBoringWrapper
[432 / 464] CCryptoBoringSSL
[434 / 464] CCryptoBoringSSL
[435 / 464] Crypto
[436 / 464] CIDR
[438 / 464] CIDR-product
[440 / 464] CryptoBoringWrapper
[442 / 464] CCryptoBoringSSL
[446 / 465] CXKCPShims
[446 / 465] Crypto
[450 / 474] Crypto
[451 / 475] CIDR
[454 / 475] CryptoBoringWrapper
[456 / 475] CryptoBoringWrapper
[457 / 476] CryptoBoringWrapper
[459 / 476] CIDR
[466 / 476]
[470 / 484] CIDRAdmission
[472 / 484] CIDRAdmission
[476 / 484] CIDRAdmission
[479 / 484] Crypto
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/CIDRAdmission/DetachedSHA256ChecksumVerifier.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile DetachedSHA256ChecksumVerifier.swift
/host/spi-builder-workspace/Sources/CIDRAdmission/DetachedSHA256ChecksumVerifier.swift:172:5: [1;31merror: [1;39mmissing return in static method expected to return 'Int32'[0;0m
[0;36m170 |[0;0m Glibc.open(path, flags)
[0;36m171 |[0;0m #endif
[0;36m172 |[0;0m }
[0;36m|[0;0m `- [1;31merror: [1;39mmissing return in static method expected to return 'Int32'[0;0m
[0;36m173 |[0;0m
[0;36m174 |[0;0m private static func systemFileStatus(_ descriptor: Int32, _ status: UnsafeMutablePointer<stat>)
/host/spi-builder-workspace/Sources/CIDRAdmission/DetachedSHA256ChecksumVerifier.swift:182:5: [1;31merror: [1;39mmissing return in static method expected to return 'Int32'[0;0m
[0;36m180 |[0;0m Glibc.fstat(descriptor, status)
[0;36m181 |[0;0m #endif
[0;36m182 |[0;0m }
[0;36m|[0;0m `- [1;31merror: [1;39mmissing return in static method expected to return 'Int32'[0;0m
[0;36m183 |[0;0m
[0;36m184 |[0;0m private static func systemRead(
/host/spi-builder-workspace/Sources/CIDRAdmission/DetachedSHA256ChecksumVerifier.swift:202:5: [1;31merror: [1;39mmissing return in static method expected to return 'Int32'[0;0m
[0;36m200 |[0;0m Glibc.close(descriptor)
[0;36m201 |[0;0m #endif
[0;36m202 |[0;0m }
[0;36m|[0;0m `- [1;31merror: [1;39mmissing return in static method expected to return 'Int32'[0;0m
[0;36m203 |[0;0m
[0;36m204 |[0;0m private static var currentErrno: Int32 {
/host/spi-builder-workspace/Sources/CIDRAdmission/DetachedSHA256ChecksumVerifier.swift:210:5: [1;31merror: [1;39mmissing return in getter expected to return 'Int32'[0;0m
[0;36m208 |[0;0m Glibc.errno
[0;36m209 |[0;0m #endif
[0;36m210 |[0;0m }
[0;36m|[0;0m `- [1;31merror: [1;39mmissing return in getter expected to return 'Int32'[0;0m
[0;36m211 |[0;0m }
[0;36m212 |[0;0m
/host/spi-builder-workspace/Sources/CIDRAdmission/DetachedSHA256ChecksumVerifier.swift:194:5: [1;31merror: [1;39mmissing return in static method expected to return 'Int'[0;0m
[0;36m192 |[0;0m Glibc.read(descriptor, buffer, count)
[0;36m193 |[0;0m #endif
[0;36m194 |[0;0m }
[0;36m|[0;0m `- [1;31merror: [1;39mmissing return in static method expected to return 'Int'[0;0m
[0;36m195 |[0;0m
[0;36m196 |[0;0m private static func systemClose(_ descriptor: Int32) -> Int32 {
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/CIDRAdmission/AdmissionRule.swift -primary-file /host/spi-builder-workspace/Sources/CIDRAdmission/DetachedSHA256ChecksumVerifier.swift /host/spi-builder-workspace/Sources/CIDRAdmission/IPAdmissionCoverageIndex.swift /host/spi-builder-workspace/Sources/CIDRAdmission/IPAdmissionPolicy.swift /host/spi-builder-workspace/Sources/CIDRAdmission/IPAdmissionPolicyFileConfiguration.swift /host/spi-builder-workspace/Sources/CIDRAdmission/IPListTextParser.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-webassembly-wasm32/CIDRAdmission-t.build/Objects-normal/wasm32/DetachedSHA256ChecksumVerifier.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-webassembly-wasm32/CIDRAdmission-t.build/Objects-normal/wasm32/DetachedSHA256ChecksumVerifier.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-webassembly-wasm32/CIDRAdmission-t.build/Objects-normal/wasm32/DetachedSHA256ChecksumVerifier.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-webassembly-wasm32/CIDRAdmission-t.build/Objects-normal/wasm32/DetachedSHA256ChecksumVerifier.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-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-cidr-admission.build/Debug-webassembly-wasm32/CIDRAdmission-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-webassembly-wasm32/CIDRAdmission-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-webassembly-wasm32/CIDRAdmission-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name CIDRAdmission -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-webassembly-wasm32/CIDRAdmission-t.build/Objects-normal/wasm32/CIDRAdmission_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-cidr-admission.build/Debug-webassembly-wasm32/CIDRAdmission-t.build/Objects-normal/wasm32/DetachedSHA256ChecksumVerifier.o -index-unit-output-path /swift-cidr-admission.build/Debug-webassembly-wasm32/CIDRAdmission-t.build/Objects-normal/wasm32/DetachedSHA256ChecksumVerifier.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm