The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-cidr-admission, reference main (2e697f), with Swift 6.4 for Wasm on 26 Sep 2026 22:44:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
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 2e697f3 fix: isolate benchmark compatibility lock
Cloned https://github.com/RouteObjects/swift-cidr-admission.git
Revision (git rev-parse @):
2e697f37d0a61aa05d5e21e5bdf13b0519ed4084
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-53886770-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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/RouteObjects/swift-cidr.git
Fetching https://github.com/apple/swift-crypto.git
[1/1040] Fetching swift-cidr
[12/19602] Fetching swift-cidr, swift-crypto
Fetched https://github.com/RouteObjects/swift-cidr.git (1.08s)
Fetched https://github.com/apple/swift-crypto.git (1.09s)
Computing version for https://github.com/RouteObjects/swift-cidr.git
Computed https://github.com/RouteObjects/swift-cidr.git at 0.5.0 (1.26s)
Fetching https://github.com/apple/swift-nio.git
[1/86168] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (2.90s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (4.05s)
Fetching https://github.com/apple/swift-asn1.git
[1/1986] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.45s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.79s)
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/1885] Fetching swift-atomics
[1886/8868] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git (0.52s)
[70/6983] Fetching swift-system
[6984/34762] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (1.15s)
Fetched https://github.com/apple/swift-collections.git (1.16s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.33s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.20s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.28s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.22s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
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-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.1
Creating working copy for https://github.com/RouteObjects/swift-cidr.git
Working copy of https://github.com/RouteObjects/swift-cidr.git resolved at 0.5.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 304]
[Planning deferred tasks]
[Starting]
[11 / 447]
[55 / 450] CryptoBoringWrapper
[57 / 466] CIDR
[58 / 466] CCryptoBoringSSL
[59 / 466] CCryptoBoringSSL
[60 / 466] CCryptoBoringSSL
[61 / 466] CCryptoBoringSSL
[62 / 466] CIDR
[63 / 466] CCryptoBoringSSL
[71 / 466] CCryptoBoringSSL
[75 / 466] CCryptoBoringSSL
[80 / 466] CCryptoBoringSSL
[82 / 466] CCryptoBoringSSL
[89 / 466] CCryptoBoringSSL
[91 / 466] CCryptoBoringSSL
[94 / 466] CCryptoBoringSSL
[95 / 466] CCryptoBoringSSL
[97 / 466] CCryptoBoringSSL
[99 / 466] CCryptoBoringSSL
[102 / 466] CCryptoBoringSSL
[104 / 466] CCryptoBoringSSL
[106 / 466] CCryptoBoringSSL
[111 / 466] CCryptoBoringSSL
[113 / 466] CCryptoBoringSSL
[115 / 466] CCryptoBoringSSL
[118 / 466] CCryptoBoringSSL
[119 / 466] CCryptoBoringSSL
[121 / 466] CCryptoBoringSSL
[122 / 466] CCryptoBoringSSL
[123 / 466] CCryptoBoringSSL
[126 / 466] CCryptoBoringSSL
[129 / 466] CCryptoBoringSSL
[131 / 466] CCryptoBoringSSL
[132 / 466] CCryptoBoringSSL
[135 / 466] CCryptoBoringSSL
[137 / 466] CCryptoBoringSSL
[139 / 466] CCryptoBoringSSL
[142 / 466] CCryptoBoringSSL
[143 / 466] CCryptoBoringSSL
[146 / 466] CCryptoBoringSSL
[147 / 466] CCryptoBoringSSL
[150 / 466] CCryptoBoringSSL
[152 / 466] CCryptoBoringSSL
[156 / 466] CCryptoBoringSSL
[157 / 466] CCryptoBoringSSL
[158 / 466] CCryptoBoringSSL
[159 / 466] CCryptoBoringSSL
[160 / 466] CCryptoBoringSSL
[162 / 466] CCryptoBoringSSL
[164 / 466] CCryptoBoringSSL
[171 / 466] CCryptoBoringSSL
[179 / 466] CCryptoBoringSSL
[185 / 466] CCryptoBoringSSL
[193 / 466] CCryptoBoringSSL
[195 / 466] CCryptoBoringSSL
[197 / 466] CCryptoBoringSSL
[199 / 466] CCryptoBoringSSL
[203 / 466] CCryptoBoringSSL
[204 / 466] CCryptoBoringSSL
[206 / 466] CCryptoBoringSSL
[210 / 466] CCryptoBoringSSL
[212 / 466] CCryptoBoringSSL
[213 / 466] CCryptoBoringSSL
[215 / 466] CCryptoBoringSSL
[217 / 466] CCryptoBoringSSL
[221 / 466] CCryptoBoringSSL
[222 / 466] CCryptoBoringSSL
[225 / 466] CCryptoBoringSSL
[226 / 466] CCryptoBoringSSL
[227 / 466] CCryptoBoringSSL
[232 / 466] CCryptoBoringSSL
[233 / 466] CCryptoBoringSSL
[234 / 466] CCryptoBoringSSL
[237 / 466] CCryptoBoringSSL
[238 / 466] CCryptoBoringSSL
[240 / 466] CCryptoBoringSSL
[242 / 466] CCryptoBoringSSL
[244 / 466] CCryptoBoringSSL
[249 / 466] CCryptoBoringSSL
[253 / 466] CCryptoBoringSSL
[256 / 466] CCryptoBoringSSL
[257 / 466] CCryptoBoringSSL
[260 / 466] CCryptoBoringSSL
[265 / 466] CCryptoBoringSSL
[266 / 466] CCryptoBoringSSL
[268 / 466] CCryptoBoringSSL
[269 / 466] CCryptoBoringSSL
[271 / 466] CCryptoBoringSSL
[273 / 466] CCryptoBoringSSL
[276 / 466] CCryptoBoringSSL
[281 / 466] CCryptoBoringSSL
[287 / 466] CCryptoBoringSSL
[292 / 466] CCryptoBoringSSL
[295 / 466] CCryptoBoringSSL
[296 / 466] CCryptoBoringSSL
[299 / 466] CCryptoBoringSSL
[303 / 466] CCryptoBoringSSL
[304 / 466] CCryptoBoringSSL
[305 / 466] CCryptoBoringSSL
[308 / 466] CCryptoBoringSSL
[310 / 466] CCryptoBoringSSL
[311 / 466] CCryptoBoringSSL
[313 / 466] CCryptoBoringSSL
[317 / 466] CCryptoBoringSSL
[318 / 466] CCryptoBoringSSL
[320 / 466] CCryptoBoringSSL
[323 / 466] CCryptoBoringSSL
[325 / 466] CCryptoBoringSSL
[327 / 466] CCryptoBoringSSL
[328 / 466] CCryptoBoringSSL
[330 / 466] CCryptoBoringSSL
[331 / 466] CCryptoBoringSSL
[334 / 466] CCryptoBoringSSL
[335 / 466] CCryptoBoringSSL
[336 / 466] CCryptoBoringSSL
[337 / 466] CCryptoBoringSSL
[341 / 466] CCryptoBoringSSL
[343 / 466] CCryptoBoringSSL
[344 / 466] CCryptoBoringSSL
[349 / 466] CCryptoBoringSSL
[353 / 466] CCryptoBoringSSL
[358 / 466] CCryptoBoringSSL
[364 / 466] CCryptoBoringSSL
[366 / 466] CCryptoBoringSSL
[368 / 466] CCryptoBoringSSL
[369 / 466] CCryptoBoringSSL
[372 / 466] CCryptoBoringSSL
[374 / 466] CCryptoBoringSSL
[378 / 466] CCryptoBoringSSL
[379 / 466] CCryptoBoringSSL
[381 / 466] CCryptoBoringSSL
[383 / 466] CCryptoBoringSSL
[386 / 466] CCryptoBoringSSL
[393 / 466] CCryptoBoringSSL
[401 / 466] CCryptoBoringSSL
[410 / 466] CCryptoBoringSSL
[415 / 466] CCryptoBoringSSL
[417 / 466] CCryptoBoringSSL
[419 / 466] CCryptoBoringSSL
[422 / 466] CCryptoBoringSSL
[425 / 466] CCryptoBoringSSL
[426 / 466] CCryptoBoringSSL
[428 / 466] CCryptoBoringSSL
[431 / 466] CryptoBoringWrapper
[431 / 466] CCryptoBoringSSL
[434 / 466] CryptoBoringWrapper
[435 / 466] CryptoBoringWrapper
[435 / 466] Crypto
[436 / 466] Crypto
[438 / 466] CIDR
[439 / 466] CIDR
[440 / 466] CryptoBoringWrapper
[441 / 466] CIDR-product
[443 / 466] CIDR
[446 / 467] CXKCP
[448 / 476] Crypto
[451 / 476] Crypto
[452 / 477] CryptoBoringWrapper
[454 / 477] CryptoBoringWrapper
[456 / 477] Crypto
[457 / 478] Crypto
[458 / 478] CIDR
[463 / 478] Crypto
[474 / 486] CIDRAdmission
[476 / 486] CIDRAdmission
[481 / 486] CIDRAdmission
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: error: missing return in static method expected to return 'Int32'
170 |             Glibc.open(path, flags)
171 |         #endif
172 |     }
    |     `- error: missing return in static method expected to return 'Int32'
173 |
174 |     private static func systemFileStatus(_ descriptor: Int32, _ status: UnsafeMutablePointer<stat>)
/host/spi-builder-workspace/Sources/CIDRAdmission/DetachedSHA256ChecksumVerifier.swift:182:5: error: missing return in static method expected to return 'Int32'
180 |             Glibc.fstat(descriptor, status)
181 |         #endif
182 |     }
    |     `- error: missing return in static method expected to return 'Int32'
183 |
184 |     private static func systemRead(
/host/spi-builder-workspace/Sources/CIDRAdmission/DetachedSHA256ChecksumVerifier.swift:202:5: error: missing return in static method expected to return 'Int32'
200 |             Glibc.close(descriptor)
201 |         #endif
202 |     }
    |     `- error: missing return in static method expected to return 'Int32'
203 |
204 |     private static var currentErrno: Int32 {
/host/spi-builder-workspace/Sources/CIDRAdmission/DetachedSHA256ChecksumVerifier.swift:210:5: error: missing return in getter expected to return 'Int32'
208 |             Glibc.errno
209 |         #endif
210 |     }
    |     `- error: missing return in getter expected to return 'Int32'
211 | }
212 |
/host/spi-builder-workspace/Sources/CIDRAdmission/DetachedSHA256ChecksumVerifier.swift:194:5: error: missing return in static method expected to return 'Int'
192 |             Glibc.read(descriptor, buffer, count)
193 |         #endif
194 |     }
    |     `- error: missing return in static method expected to return 'Int'
195 |
196 |     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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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/CCryptoBoringSSLShims/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/CCryptoBoringSSLShims/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