The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BusinessMath, reference main (262070), with Swift 6.2 for Wasm on 20 Apr 2026 01:14:07 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jpurnell/BusinessMath.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/jpurnell/BusinessMath
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 262070b feat: add MonteCarloEngine for generic derivative pricing
Cloned https://github.com/jpurnell/BusinessMath.git
Revision (git rev-parse @):
262070b805b97842430fa2f54c44375d8be82eb1
SUCCESS checkout https://github.com/jpurnell/BusinessMath.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/jpurnell/BusinessMath.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-syntax.git
[1/6416] Fetching swift-numerics
[1092/29985] Fetching swift-numerics, swift-collections
[4924/47401] Fetching swift-numerics, swift-collections, swift-crypto
[8462/122384] Fetching swift-numerics, swift-collections, swift-crypto, swift-syntax
Fetched https://github.com/apple/swift-collections.git from cache (3.33s)
[58115/98815] Fetching swift-numerics, swift-crypto, swift-syntax
Fetched https://github.com/apple/swift-numerics from cache (11.55s)
Fetched https://github.com/apple/swift-crypto.git from cache (11.62s)
Fetched https://github.com/apple/swift-syntax.git from cache (11.63s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (12.41s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (1.26s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.25s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.36s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.52s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (5.02s)
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.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
warning: 'spi-builder-workspace': dependency 'swift-syntax' is not used by any target
Building for debugging...
[0/386] Write sources
[13/386] Compiling _NumericsShims _NumericsShims.c
[14/386] Write sources
[14/386] Compiling aes128gcmsiv-x86_64-apple.S
[16/386] Write sources
[18/386] Compiling x86_64-mont-apple.S
[19/386] Compiling x86_64-mont5-linux.S
[20/386] Compiling x86_64-mont5-apple.S
[21/386] Compiling x86_64-mont-linux.S
[22/386] Compiling x86-mont-linux.S
[23/386] Write swift-version-24593BA9C3E375BF.txt
[24/386] Compiling fiat_curve25519_adx_mul.S
[25/386] Compiling md5-x86_64-linux.S
[26/386] Compiling fiat_p256_adx_sqr.S
[27/386] Compiling fiat_p256_adx_mul.S
[28/386] Compiling fiat_curve25519_adx_square.S
[29/386] Compiling md5-586-linux.S
[30/386] Compiling md5-x86_64-apple.S
[31/386] Compiling md5-586-apple.S
[32/393] Compiling chacha20_poly1305_x86_64-linux.S
[33/399] Compiling chacha20_poly1305_x86_64-apple.S
[34/401] Compiling chacha20_poly1305_armv8-win.S
[35/402] Compiling chacha20_poly1305_armv8-apple.S
[36/404] Compiling chacha20_poly1305_armv8-linux.S
[37/419] Compiling chacha-x86_64-linux.S
[38/419] Compiling chacha-x86-linux.S
[39/419] Compiling chacha-x86_64-apple.S
[40/419] Compiling chacha-x86-apple.S
[41/419] Compiling chacha-armv8-win.S
[42/419] Compiling chacha-armv8-linux.S
[43/419] Compiling chacha-armv8-apple.S
[44/419] Compiling chacha-armv4-linux.S
[45/419] Compiling aes128gcmsiv-x86_64-linux.S
[46/419] Compiling x86-mont-apple.S
[47/419] Compiling vpaes-x86_64-linux.S
[48/419] Compiling vpaes-x86_64-apple.S
[49/419] Compiling vpaes-x86-linux.S
[50/419] Compiling vpaes-x86-apple.S
[51/419] Compiling vpaes-armv8-win.S
[52/419] Compiling vpaes-armv8-linux.S
[53/419] Compiling vpaes-armv8-apple.S
[54/419] Compiling vpaes-armv7-linux.S
[55/419] Compiling CCryptoBoringSSLShims shims.c
[56/419] Compiling sha512-x86_64-linux.S
[57/419] Compiling sha512-x86_64-apple.S
[58/419] Compiling sha512-armv8-win.S
[59/419] Compiling sha512-armv8-linux.S
[60/419] Compiling sha512-armv8-apple.S
[61/419] Compiling sha512-armv4-linux.S
[62/419] Compiling sha512-586-linux.S
[63/419] Compiling sha512-586-apple.S
[64/419] Compiling sha256-x86_64-linux.S
[65/419] Compiling sha256-x86_64-apple.S
[66/419] Compiling sha256-armv8-win.S
[67/419] Compiling sha256-armv8-linux.S
[69/419] Emitting module RealModule
[69/419] Compiling sha256-armv8-apple.S
[70/420] Compiling sha256-armv4-linux.S
[71/420] Compiling sha256-586-linux.S
[72/420] Compiling sha256-586-apple.S
[73/420] Compiling sha1-x86_64-linux.S
[74/420] Compiling sha1-x86_64-apple.S
[75/420] Compiling sha1-armv8-win.S
[76/420] Compiling sha1-armv8-linux.S
[77/420] Compiling sha1-armv4-large-linux.S
[78/420] Compiling sha1-armv8-apple.S
[79/420] Compiling sha1-586-linux.S
[79/420] Compiling sha1-586-apple.S
[81/420] Compiling rsaz-avx2-apple.S
[82/420] Compiling rsaz-avx2-linux.S
[83/420] Compiling rdrand-x86_64-linux.S
[84/420] Compiling rdrand-x86_64-apple.S
[85/420] Compiling p256_beeu-x86_64-asm-apple.S
[86/420] Compiling p256_beeu-x86_64-asm-linux.S
[87/420] Compiling p256_beeu-armv8-asm-win.S
[88/420] Compiling p256_beeu-armv8-asm-linux.S
[89/420] Compiling p256-x86_64-asm-linux.S
[90/420] Compiling p256_beeu-armv8-asm-apple.S
[91/420] Compiling p256-x86_64-asm-apple.S
[92/420] Compiling p256-armv8-asm-win.S
[93/420] Compiling p256-armv8-asm-apple.S
[94/420] Compiling p256-armv8-asm-linux.S
[95/420] Compiling ghashv8-armv8-win.S
[96/420] Compiling ghashv8-armv8-linux.S
[97/420] Compiling err_data.cc
[98/420] Compiling ghashv8-armv8-apple.S
[99/420] Compiling ghashv8-armv7-linux.S
[100/420] Compiling ghash-x86_64-linux.S
[101/420] Compiling ghash-x86_64-apple.S
[102/420] Compiling ghash-x86-linux.S
[103/420] Compiling ghash-x86-apple.S
[104/420] Compiling ghash-ssse3-x86_64-linux.S
[105/420] Compiling ghash-ssse3-x86_64-apple.S
[106/420] Compiling ghash-ssse3-x86-apple.S
[107/420] Compiling ghash-neon-armv8-win.S
[108/420] Compiling ghash-ssse3-x86-linux.S
[109/420] Compiling ghash-neon-armv8-linux.S
[110/420] Compiling ghash-armv4-linux.S
[111/420] Compiling ghash-neon-armv8-apple.S
[112/420] Compiling co-586-apple.S
[113/420] Compiling bsaes-armv7-linux.S
[114/420] Compiling co-586-linux.S
[115/420] Compiling bn-armv8-linux.S
[116/420] Compiling bn-armv8-win.S
[117/420] Compiling bn-armv8-apple.S
[118/420] Compiling bn-586-apple.S
[119/420] Compiling bn-586-linux.S
[120/420] Compiling armv8-mont-win.S
[121/420] Compiling armv8-mont-linux.S
[122/420] Compiling armv4-mont-linux.S
[123/420] Compiling armv8-mont-apple.S
[124/420] Compiling aesv8-gcm-armv8-win.S
[125/420] Compiling aesv8-gcm-armv8-linux.S
[126/420] Compiling aesv8-armv8-win.S
[127/420] Compiling aesv8-gcm-armv8-apple.S
[128/420] Compiling aesv8-armv8-linux.S
[129/420] Compiling aesv8-armv8-apple.S
[130/420] Compiling aesni-x86_64-linux.S
[131/420] Compiling aesv8-armv7-linux.S
[132/420] Compiling aesni-x86_64-apple.S
[133/420] Compiling aesni-x86-linux.S
[134/420] Compiling aesni-x86-apple.S
[135/420] Compiling aesni-gcm-x86_64-apple.S
[136/420] Compiling aes-gcm-avx512-x86_64-linux.S
[137/420] Compiling aesni-gcm-x86_64-linux.S
[138/420] Compiling aes-gcm-avx2-x86_64-linux.S
[139/420] Compiling aes-gcm-avx512-x86_64-apple.S
[140/420] Compiling aes-gcm-avx2-x86_64-apple.S
[141/420] Compiling xwing.cc
[142/420] Compiling x_x509a.cc
[143/420] Compiling x_spki.cc
[144/420] Compiling x_x509.cc
[145/420] Compiling x_sig.cc
[146/420] Compiling x_pubkey.cc
[147/420] Compiling x_name.cc
[148/420] Compiling x_req.cc
[149/420] Compiling x_crl.cc
[150/420] Compiling x_exten.cc
[152/420] Compiling InternalCollectionsUtilities Integer rank.swift
[153/420] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[154/420] Compiling RealModule Float80+Real.swift
[155/420] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[156/420] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[157/420] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[158/420] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[159/420] Compiling InternalCollectionsUtilities Debugging.swift
[160/420] Compiling InternalCollectionsUtilities Descriptions.swift
[161/420] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[164/420] Compiling InternalCollectionsUtilities UInt+reversed.swift
[165/422] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[166/422] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[167/422] Compiling InternalCollectionsUtilities Span+Extras.swift
[168/422] Compiling InternalCollectionsUtilities String+Padding.swift
[169/422] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[170/422] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[171/422] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[172/422] Emitting module InternalCollectionsUtilities
[173/422] Compiling RealModule RelaxedArithmetic.swift
[174/422] Compiling RealModule Real.swift
[175/422] Compiling RealModule RealFunctions.swift
[180/422] Compiling RealModule Float16+Real.swift
[181/423] Compiling InternalCollectionsUtilities _SortedCollection.swift
[182/423] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[184/424] Compiling x509spki.cc
[185/424] Compiling x_algor.cc
[186/424] Compiling x_attrib.cc
[187/424] Compiling x509rset.cc
[188/424] Compiling x_all.cc
[190/435] Compiling ComplexModule Complex+StringConvertible.swift
[191/436] Compiling ComplexModule Complex+Hashable.swift
[192/436] Compiling ComplexModule Complex+IntegerLiteral.swift
[193/436] Compiling ComplexModule Complex+Numeric.swift
[194/436] Compiling ComplexModule Polar.swift
[195/436] Compiling ComplexModule Scale.swift
[196/436] Compiling ComplexModule Complex.swift
[197/436] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[198/436] Compiling ComplexModule Complex+AlgebraicField.swift
[199/436] Compiling ComplexModule Complex+Codable.swift
[200/436] Compiling ComplexModule Complex+ElementaryFunctions.swift
[201/436] Emitting module ComplexModule
[202/437] Compiling x509name.cc
[203/437] Compiling x509cset.cc
[204/437] Compiling x509_vpm.cc
[205/566] Compiling x509_v3.cc
[207/571] Emitting module Numerics
[208/571] Compiling Numerics Numerics.swift
[210/572] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[210/572] Compiling x509_txt.cc
[212/572] Compiling HeapModule Heap+Descriptions.swift
[213/627] Compiling TestSupport SeededRNG.swift
/host/spi-builder-workspace/Tests/TestSupport/PlatformSupport.swift:28:8: error: no such module 'Glibc'
26 | import Darwin
27 | #else
28 | import Glibc
   |        `- error: no such module 'Glibc'
29 | #endif
30 |
[214/681] Compiling TestSupport PlatformSupport.swift
/host/spi-builder-workspace/Tests/TestSupport/PlatformSupport.swift:28:8: error: no such module 'Glibc'
26 | import Darwin
27 | #else
28 | import Glibc
   |        `- error: no such module 'Glibc'
29 | #endif
30 |
[215/681] Compiling ContainersPreview RandomAccessContainer.swift
[216/681] Compiling ContainersPreview RangeExpression2.swift
[217/681] Compiling ContainersPreview RangeReplaceableContainer.swift
[218/681] Compiling ContainersPreview Drain+Map.swift
[219/685] Compiling ContainersPreview Container.swift
[220/685] Compiling ContainersPreview ContainerIterator.swift
[221/685] Compiling ContainersPreview DynamicContainer.swift
[222/685] Compiling ContainersPreview MutableContainer.swift
[223/685] Compiling ContainersPreview PermutableContainer.swift
[224/685] Compiling ContainersPreview Drain+Reduce.swift
[225/685] Compiling ContainersPreview Drain.swift
[226/685] Compiling ContainersPreview Producer+Collect.swift
[227/685] Compiling ContainersPreview Producer+Filter.swift
[228/685] Compiling ContainersPreview Producer+Map.swift
[229/685] Compiling ContainersPreview Producer+Reduce.swift
[230/685] Compiling ContainersPreview Producer.swift
[231/685] Compiling ContainersPreview Borrow.swift
[232/685] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[233/685] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[234/685] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[235/685] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[236/685] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[237/685] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[238/685] Compiling ContainersPreview BorrowingSequence.swift
[239/685] Compiling ContainersPreview BidirectionalContainer.swift
[240/685] Compiling ContainersPreview Container+Filter.swift
[241/685] Compiling ContainersPreview Container+SpanwiseZip.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[242/685] Emitting module TestSupport
/host/spi-builder-workspace/Tests/TestSupport/PlatformSupport.swift:28:8: error: no such module 'Glibc'
26 | import Darwin
27 | #else
28 | import Glibc
   |        `- error: no such module 'Glibc'
29 | #endif
30 |
[243/685] Compiling TestSupport ConditionTraits.swift
/host/spi-builder-workspace/Tests/TestSupport/PlatformSupport.swift:28:8: error: no such module 'Glibc'
26 | import Darwin
27 | #else
28 | import Glibc
   |        `- error: no such module 'Glibc'
29 | #endif
30 |
[243/685] Compiling x509_trs.cc
[243/685] Compiling x509_vfy.cc
BUILD FAILURE 6.2 wasm