The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-nio-oblivious-http, reference main (c45e16), with Swift 6.1 for Wasm on 21 Nov 2025 18:32:09 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
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 c45e16d Support the 4xx range of Crypto releases (#47)
Cloned https://github.com/apple/swift-nio-oblivious-http.git
Revision (git rev-parse @):
c45e16daf635bba8962cf3eecf3abb939d976abc
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.1
Building package at path:  $PWD
https://github.com/apple/swift-nio-oblivious-http.git
https://github.com/apple/swift-nio-oblivious-http.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.81.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    }
  ],
  "manifest_display_name" : "swift-nio-oblivious-http",
  "name" : "swift-nio-oblivious-http",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14"
    },
    {
      "name" : "ios",
      "version" : "17"
    },
    {
      "name" : "tvos",
      "version" : "17"
    },
    {
      "name" : "watchos",
      "version" : "10"
    }
  ],
  "products" : [
    {
      "name" : "ObliviousHTTP",
      "targets" : [
        "ObliviousHTTP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ObliviousX",
      "targets" : [
        "ObliviousX"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ObliviousDoH",
      "targets" : [
        "ObliviousDoH"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ObliviousXTests",
      "module_type" : "SwiftTarget",
      "name" : "ObliviousXTests",
      "path" : "Tests/ObliviousXTests",
      "product_dependencies" : [
        "Crypto"
      ],
      "sources" : [
        "ObliviousXTests.swift"
      ],
      "target_dependencies" : [
        "ObliviousX"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ObliviousXHelpers",
      "module_type" : "SwiftTarget",
      "name" : "ObliviousXHelpers",
      "path" : "Sources/ObliviousXHelpers",
      "product_dependencies" : [
        "Crypto"
      ],
      "product_memberships" : [
        "ObliviousX",
        "ObliviousDoH"
      ],
      "sources" : [
        "Helpers.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ObliviousX",
      "module_type" : "SwiftTarget",
      "name" : "ObliviousX",
      "path" : "Sources/ObliviousX",
      "product_dependencies" : [
        "Crypto"
      ],
      "product_memberships" : [
        "ObliviousX"
      ],
      "sources" : [
        "Errors.swift",
        "OHTTPEncapsulation.swift"
      ],
      "target_dependencies" : [
        "ObliviousXHelpers"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ObliviousHTTPTests",
      "module_type" : "SwiftTarget",
      "name" : "ObliviousHTTPTests",
      "path" : "Tests/ObliviousHTTPTests",
      "product_dependencies" : [
        "Crypto",
        "NIOCore",
        "NIOHTTP1"
      ],
      "sources" : [
        "BHTTPParserTests.swift",
        "BHTTPSerializerTests.swift"
      ],
      "target_dependencies" : [
        "ObliviousHTTP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ObliviousHTTP",
      "module_type" : "SwiftTarget",
      "name" : "ObliviousHTTP",
      "path" : "Sources/ObliviousHTTP",
      "product_dependencies" : [
        "NIOCore",
        "NIOHTTP1"
      ],
      "product_memberships" : [
        "ObliviousHTTP"
      ],
      "sources" : [
        "BHTTPParser.swift",
        "BHTTPSerializer.swift",
        "Errors.swift",
        "ObliviousHTTPHandler.swift",
        "Varint.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ObliviousDoHTests",
      "module_type" : "SwiftTarget",
      "name" : "ObliviousDoHTests",
      "path" : "Tests/ObliviousDoHTests",
      "product_dependencies" : [
        "Crypto"
      ],
      "sources" : [
        "ObliviousDoHTests.swift"
      ],
      "target_dependencies" : [
        "ObliviousDoH"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ObliviousDoH",
      "module_type" : "SwiftTarget",
      "name" : "ObliviousDoH",
      "path" : "Sources/ObliviousDoH",
      "product_dependencies" : [
        "Crypto"
      ],
      "product_memberships" : [
        "ObliviousDoH"
      ],
      "sources" : [
        "Errors.swift",
        "ODoHRoutine.swift"
      ],
      "target_dependencies" : [
        "ObliviousXHelpers"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-crypto.git
[1/17453] Fetching swift-crypto
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-crypto.git from cache (3.25s)
[1/80438] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (10.26s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.1.0 (19.74s)
Fetching https://github.com/apple/swift-asn1.git
[1/1653] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.53s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (1.74s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.90.0 (1.75s)
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/1820] Fetching swift-atomics
[693/7002] Fetching swift-atomics, swift-system
[4775/25316] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.02s)
Fetched https://github.com/apple/swift-system.git from cache (1.03s)
[4762/18314] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.64s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.85s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (1.20s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.39s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.90.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.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.3.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.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.1.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.6.3
Building for debugging...
[0/399] Write sources
[13/399] Compiling _AtomicsShims.c
[14/399] Compiling CXKCPShims shims.c
[15/399] Compiling SimpleFIPS202.c
[16/399] Compiling KeccakSponge.c
[17/399] Compiling CNIOWindows shim.c
[18/399] Compiling CNIOWindows WSAStartup.c
[19/399] Compiling KeccakHash.c
[20/399] Compiling CNIOWASI CNIOWASI.c
[21/399] Compiling CNIOLinux liburing_shims.c
[22/399] Compiling CNIOLinux shim.c
[23/399] Compiling CNIODarwin shim.c
[24/399] Compiling CNIOLLHTTP c_nio_http.c
[25/399] Compiling CNIOLLHTTP c_nio_api.c
[26/399] Compiling CCryptoBoringSSLShims shims.c
[27/399] Compiling fiat_p256_adx_sqr.S
[28/399] Compiling aes.cc
[29/399] Compiling fiat_p256_adx_mul.S
[30/399] Compiling fiat_curve25519_adx_square.S
[31/399] Compiling fiat_curve25519_adx_mul.S
[32/399] Compiling md5-x86_64-linux.S
[33/399] Compiling md5-x86_64-apple.S
[34/399] Compiling md5-586-linux.S
[35/399] Compiling md5-586-apple.S
[36/399] Compiling chacha20_poly1305_x86_64-linux.S
[37/399] Compiling chacha20_poly1305_x86_64-apple.S
[38/399] Compiling chacha20_poly1305_armv8-win.S
[39/399] Compiling chacha20_poly1305_armv8-linux.S
[40/399] Compiling a_bitstr.cc
[41/399] Write swift-version-24593BA9C3E375BF.txt
[42/399] Compiling chacha-x86_64-linux.S
[43/399] Compiling chacha20_poly1305_armv8-apple.S
[44/421] Compiling err_data.cc
[45/421] Compiling chacha-x86_64-apple.S
[46/421] Compiling chacha-x86-linux.S
[48/421] Emitting module _NIOBase64
[48/421] Compiling chacha-x86-apple.S
[49/421] Compiling chacha-armv8-win.S
[50/421] Compiling chacha-armv8-linux.S
[51/421] Compiling chacha-armv8-apple.S
[53/421] Emitting module _NIODataStructures
[53/421] Compiling chacha-armv4-linux.S
[54/421] Compiling aes128gcmsiv-x86_64-linux.S
[55/421] Compiling aes128gcmsiv-x86_64-apple.S
[56/421] Compiling x86_64-mont5-linux.S
[57/421] Compiling CNIOLLHTTP c_nio_llhttp.c
[58/421] Compiling x86_64-mont5-apple.S
[59/421] Compiling x86_64-mont-linux.S
[60/421] Compiling x86_64-mont-apple.S
[61/421] Compiling x86-mont-linux.S
[62/421] Compiling x86-mont-apple.S
[63/421] Compiling vpaes-x86_64-linux.S
[64/421] Compiling vpaes-x86_64-apple.S
[65/421] Compiling vpaes-x86-linux.S
[66/421] Compiling vpaes-x86-apple.S
[67/421] Compiling vpaes-armv8-win.S
[68/421] Compiling vpaes-armv8-linux.S
[69/421] Compiling vpaes-armv8-apple.S
[70/421] Compiling vpaes-armv7-linux.S
[71/421] Compiling sha512-x86_64-linux.S
[72/421] Compiling sha512-x86_64-apple.S
[73/421] Compiling sha512-armv8-win.S
[74/421] Compiling sha512-armv8-linux.S
[75/421] Compiling sha512-armv8-apple.S
[76/421] Compiling sha512-armv4-linux.S
[77/421] Compiling sha512-586-linux.S
[78/421] Compiling sha512-586-apple.S
[79/421] Compiling sha256-x86_64-linux.S
[80/421] Compiling sha256-x86_64-apple.S
[81/421] Compiling sha256-armv8-win.S
[82/421] Compiling sha256-armv8-linux.S
[83/421] Compiling sha256-armv8-apple.S
[84/421] Compiling sha256-armv4-linux.S
[85/421] Compiling sha256-586-linux.S
[86/421] Compiling sha256-586-apple.S
[87/421] Compiling sha1-x86_64-linux.S
[88/421] Compiling sha1-x86_64-apple.S
[89/421] Compiling sha1-armv8-win.S
[90/421] Compiling sha1-armv8-apple.S
[91/421] Compiling sha1-armv8-linux.S
[92/421] Compiling sha1-armv4-large-linux.S
[93/421] Compiling sha1-586-linux.S
[94/421] Compiling sha1-586-apple.S
[95/421] Compiling rsaz-avx2-linux.S
[96/421] Compiling rsaz-avx2-apple.S
[97/421] Compiling rdrand-x86_64-linux.S
[98/421] Compiling rdrand-x86_64-apple.S
[99/421] Compiling p256_beeu-x86_64-asm-linux.S
[100/421] Compiling p256_beeu-x86_64-asm-apple.S
[101/421] Compiling p256_beeu-armv8-asm-win.S
[102/421] Compiling p256_beeu-armv8-asm-linux.S
[103/421] Compiling p256_beeu-armv8-asm-apple.S
[104/421] Compiling p256-x86_64-asm-linux.S
[105/421] Compiling p256-x86_64-asm-apple.S
[106/421] Compiling p256-armv8-asm-win.S
[107/421] Compiling p256-armv8-asm-linux.S
[108/421] Compiling p256-armv8-asm-apple.S
[109/421] Compiling ghashv8-armv8-win.S
[110/421] Compiling ghashv8-armv8-linux.S
[111/421] Compiling ghashv8-armv7-linux.S
[112/421] Compiling ghashv8-armv8-apple.S
[113/421] Compiling ghash-x86_64-linux.S
[114/421] Compiling ghash-x86_64-apple.S
[115/421] Compiling ghash-x86-linux.S
[116/421] Compiling ghash-x86-apple.S
[117/421] Compiling ghash-ssse3-x86_64-linux.S
[118/421] Compiling ghash-ssse3-x86_64-apple.S
[119/421] Compiling ghash-ssse3-x86-linux.S
[120/421] Compiling c-nioatomics.c
[121/421] Compiling ghash-ssse3-x86-apple.S
[122/421] Compiling ghash-neon-armv8-win.S
[123/421] Compiling ghash-neon-armv8-apple.S
[124/421] Compiling ghash-neon-armv8-linux.S
[125/421] Compiling ghash-armv4-linux.S
[126/421] Compiling co-586-linux.S
[127/421] Compiling co-586-apple.S
[128/421] Compiling bsaes-armv7-linux.S
[129/421] Compiling bn-armv8-win.S
[130/421] Compiling bn-armv8-linux.S
[131/421] Compiling bn-armv8-apple.S
[132/421] Compiling bn-586-linux.S
[133/421] Compiling bn-586-apple.S
[134/421] Compiling armv8-mont-win.S
[135/421] Compiling armv8-mont-linux.S
[136/421] Compiling armv4-mont-linux.S
[137/421] Compiling armv8-mont-apple.S
[138/421] Compiling aesv8-gcm-armv8-win.S
[140/421] Compiling InternalCollectionsUtilities _SortedCollection.swift
[141/421] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[142/423] Compiling _NIODataStructures _TinyArray.swift
[143/423] Compiling _NIODataStructures PriorityQueue.swift
[144/423] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[145/423] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[146/423] Compiling _NIOBase64 Base64.swift
[146/423] Compiling aesv8-gcm-armv8-apple.S
[148/423] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[149/423] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[149/423] Compiling aesv8-gcm-armv8-linux.S
[150/424] Compiling aesv8-armv8-win.S
[152/424] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[153/424] Compiling InternalCollectionsUtilities Integer rank.swift
[154/424] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[155/424] Compiling InternalCollectionsUtilities UInt+reversed.swift
[156/424] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[157/424] Emitting module InternalCollectionsUtilities
[158/424] Compiling InternalCollectionsUtilities Debugging.swift
[159/424] Compiling InternalCollectionsUtilities Descriptions.swift
[160/424] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[161/424] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[161/424] Compiling aesv8-armv8-linux.S
[162/424] Compiling aesv8-armv7-linux.S
[163/424] Compiling aesv8-armv8-apple.S
[164/424] Compiling aesni-x86_64-linux.S
[165/424] Compiling aesni-x86-linux.S
[166/424] Compiling aesni-x86_64-apple.S
[168/424] Compiling aesni-x86-apple.S
[170/424] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[171/424] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[171/424] Compiling aesni-gcm-x86_64-linux.S
[172/425] Compiling aesni-gcm-x86_64-apple.S
[173/425] Compiling aes-gcm-avx512-x86_64-linux.S
[174/425] Compiling aes-gcm-avx512-x86_64-apple.S
[175/425] Compiling aes-gcm-avx2-x86_64-apple.S
[176/425] Compiling aes-gcm-avx2-x86_64-linux.S
[179/425] Compiling _NIODataStructures Heap.swift
[180/426] Compiling c-atomics.c
[182/447] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[183/447] Compiling DequeModule Deque+Equatable.swift
[184/447] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[185/447] Compiling DequeModule Deque+CustomReflectable.swift
[186/447] Compiling DequeModule Deque+Descriptions.swift
[186/449] Compiling xwing.cc
[188/449] Compiling DequeModule _DequeBuffer.swift
[189/449] Compiling DequeModule _DequeBufferHeader.swift
[190/449] Compiling NIOConcurrencyHelpers lock.swift
[191/449] Compiling NIOConcurrencyHelpers NIOLock.swift
[191/449] Compiling x_x509a.cc
[192/449] Compiling x_spki.cc
[193/449] Compiling x_sig.cc
[194/449] Compiling x_x509.cc
[196/449] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[197/449] Emitting module NIOConcurrencyHelpers
[198/449] Compiling DequeModule _DequeSlot.swift
[199/449] Compiling DequeModule _UnsafeWrappedBuffer.swift
[200/449] Compiling NIOConcurrencyHelpers atomics.swift
[202/450] Compiling DequeModule Deque+Testing.swift
[203/450] Compiling DequeModule Deque._Storage.swift
[204/450] Compiling DequeModule Deque._UnsafeHandle.swift
[205/450] Compiling DequeModule Deque.swift
[206/450] Compiling DequeModule Deque+Extras.swift
[207/450] Compiling DequeModule Deque+Hashable.swift
[208/450] Compiling DequeModule Deque+Codable.swift
[209/450] Compiling DequeModule Deque+Collection.swift
[209/450] Compiling KeccakP-1600-opt64.c
[211/450] Emitting module DequeModule
[212/451] Compiling x_req.cc
[213/451] Compiling x_exten.cc
[214/451] Compiling x_name.cc
[215/451] Compiling x_pubkey.cc
[216/451] Compiling x_crl.cc
[217/451] Compiling x_attrib.cc
[218/451] Compiling x_all.cc
[219/451] Compiling x509spki.cc
[220/451] Compiling x_algor.cc
[221/451] Compiling x509rset.cc
[222/451] Compiling x509_vfy.cc
[223/451] Compiling x509name.cc
[224/451] Compiling x509cset.cc
[225/451] Compiling x509_vpm.cc
[226/451] Compiling x509_v3.cc
[227/451] Compiling x509_txt.cc
[228/451] Compiling x509_trs.cc
[229/451] Compiling x509_set.cc
[230/451] Compiling x509_lu.cc
[231/451] Compiling x509_req.cc
[232/451] Compiling x509_obj.cc
[233/451] Compiling x509_ext.cc
[234/451] Compiling x509_def.cc
[235/451] Compiling x509_d2.cc
[236/451] Compiling x509_cmp.cc
[237/451] Compiling x509.cc
[238/451] Compiling x509_att.cc
[239/451] Compiling v3_utl.cc
[240/451] Compiling v3_skey.cc
[241/451] Compiling v3_prn.cc
[242/451] Compiling v3_purp.cc
[243/451] Compiling v3_pmaps.cc
[244/451] Compiling v3_pcons.cc
[245/451] Compiling v3_ocsp.cc
[246/451] Compiling v3_ncons.cc
[247/451] Compiling v3_lib.cc
[248/451] Compiling v3_info.cc
[249/451] Compiling v3_int.cc
[250/451] Compiling v3_ia5.cc
[251/451] Compiling v3_genn.cc
[252/451] Compiling v3_extku.cc
[253/451] Compiling v3_cpols.cc
[254/451] Compiling v3_enum.cc
[255/451] Compiling v3_crld.cc
[256/451] Compiling v3_conf.cc
[257/451] Compiling v3_bitst.cc
[258/451] Compiling v3_bcons.cc
[259/451] Compiling v3_alt.cc
[260/451] Compiling v3_akey.cc
[261/451] Compiling v3_akeya.cc
[262/451] Compiling t_x509a.cc
[263/451] Compiling rsa_pss.cc
[264/451] Compiling t_x509.cc
[265/451] Compiling t_req.cc
[266/451] Compiling t_crl.cc
[267/451] Compiling i2d_pr.cc
[268/451] Compiling policy.cc
[269/451] Compiling asn1_gen.cc
[270/451] Compiling name_print.cc
[271/451] Compiling by_file.cc
[272/451] Compiling by_dir.cc
[273/451] Compiling algorithm.cc
[274/451] Compiling a_verify.cc
[275/451] Compiling a_sign.cc
[276/451] Compiling voprf.cc
[277/451] Compiling thread_win.cc
[278/451] Compiling thread_pthread.cc
[279/451] Compiling trust_token.cc
[280/451] Compiling a_digest.cc
[281/451] Compiling thread_none.cc
[282/451] Compiling pmbtoken.cc
[283/451] Compiling thread.cc
[284/451] Compiling stack.cc
[285/451] Compiling siphash.cc
[286/451] Compiling sha512.cc
[287/451] Compiling slhdsa.cc
[288/451] Compiling spake2plus.cc
[289/451] Compiling sha256.cc
[290/451] Compiling sha1.cc
[291/451] Compiling rsa_print.cc
[292/451] Compiling rsa_extra.cc
[293/451] Compiling rsa_crypt.cc
[294/451] Compiling refcount.cc
[295/451] Compiling rc4.cc
[296/451] Compiling urandom.cc
[297/451] Compiling windows.cc
[298/451] Compiling trusty.cc
[299/451] Compiling rand.cc
[300/451] Compiling rsa_asn1.cc
[301/451] Compiling passive.cc
[302/451] Compiling ios.cc
[303/451] Compiling poly1305_arm_asm.S
[304/451] Compiling getentropy.cc
[305/451] Compiling deterministic.cc
[306/451] Compiling forkunsafe.cc
[307/451] Compiling fork_detect.cc
[308/451] Compiling poly1305_vec.cc
[309/451] Compiling pool.cc
[310/451] Compiling poly1305_arm.cc
[311/451] Compiling poly1305.cc
[312/451] Compiling pkcs7.cc
[313/451] Compiling pkcs7_x509.cc
[314/451] Compiling p5_pbev2.cc
[315/451] Compiling pkcs8.cc
[316/451] Compiling pkcs8_x509.cc
[317/451] Compiling pem_x509.cc
[318/451] Compiling pem_xaux.cc
[319/451] Compiling pem_pkey.cc
[320/451] Compiling pem_pk8.cc
[321/451] Compiling pem_oth.cc
[322/451] Compiling pem_info.cc
[323/451] Compiling pem_lib.cc
[324/451] Compiling pem_all.cc
[325/451] Compiling mlkem.cc
[326/451] Compiling obj_xref.cc
[327/451] Compiling mldsa.cc
[328/451] Compiling poly_rq_mul.S
[329/451] Compiling obj.cc
[330/451] Compiling mem.cc
[331/451] Compiling fips_shared_support.cc
[332/451] Compiling lhash.cc
[333/451] Compiling kyber.cc
[334/451] Compiling fuzzer_mode.cc
[335/451] Compiling md4.cc
[336/451] Compiling hrss.cc
[337/451] Compiling hpke.cc
[338/451] Compiling md5.cc
[339/451] Compiling ex_data.cc
[340/451] Compiling sign.cc
[341/451] Compiling scrypt.cc
[342/451] Compiling print.cc
[343/451] Compiling pbkdf.cc
[344/451] Compiling p_x25519_asn1.cc
[345/451] Compiling p_x25519.cc
[346/451] Compiling p_rsa_asn1.cc
[347/451] Compiling p_hkdf.cc
[348/451] Compiling p_ed25519_asn1.cc
[349/451] Compiling p_ed25519.cc
[350/451] Compiling p_rsa.cc
[351/451] Compiling p_dh_asn1.cc
[352/451] Compiling p_ec_asn1.cc
[353/451] Compiling p_ec.cc
[354/451] Compiling p_dsa_asn1.cc
[355/451] Compiling p_dh.cc
[356/451] Compiling evp_ctx.cc
[357/451] Compiling engine.cc
[358/451] Compiling err.cc
[359/451] Compiling evp_asn1.cc
[360/451] Compiling ecdsa_p1363.cc
[361/451] Compiling evp.cc
[362/451] Compiling ecdh.cc
[363/451] Compiling ec_derive.cc
[364/451] Compiling hash_to_curve.cc
[365/451] Compiling ecdsa_asn1.cc
[366/451] Compiling dsa_asn1.cc
[367/451] Compiling ec_asn1.cc
[368/451] Compiling dh_asn1.cc
[369/451] Compiling dsa.cc
[370/451] Compiling bcm.cc
[371/451] Compiling x25519-asm-arm.S
[372/451] Compiling digest_extra.cc
[373/451] Compiling des.cc
[374/451] Compiling params.cc
[375/451] Compiling curve25519_64_adx.cc
[376/451] Compiling cpu_intel.cc
[377/451] Compiling crypto.cc
[378/451] Compiling cpu_aarch64_win.cc
[379/451] Compiling cpu_aarch64_sysreg.cc
[380/451] Compiling spake25519.cc
[381/451] Compiling cpu_arm_linux.cc
[382/451] Compiling curve25519.cc
[383/451] Compiling cpu_arm_freebsd.cc
[384/451] Compiling cpu_aarch64_openbsd.cc
[385/451] Compiling cpu_aarch64_linux.cc
[386/451] Compiling cpu_aarch64_apple.cc
[387/451] Compiling conf.cc
[388/451] Compiling cpu_aarch64_fuchsia.cc
[389/451] Compiling get_cipher.cc
[390/451] Compiling cms.cc
[391/451] Compiling tls_cbc.cc
[392/451] Compiling e_tls.cc
[393/451] Compiling e_rc2.cc
[394/451] Compiling e_chacha20poly1305.cc
[395/451] Compiling e_rc4.cc
[396/451] Compiling e_null.cc
[397/451] Compiling e_des.cc
[398/451] Compiling e_aesgcmsiv.cc
[399/451] Compiling e_aeseax.cc
[400/451] Compiling derive_key.cc
[401/451] Compiling e_aesctrhmac.cc
[402/451] Compiling chacha.cc
[403/451] Compiling unicode.cc
[404/451] Compiling sqrt.cc
[405/451] Compiling ber.cc
[406/451] Compiling exponentiation.cc
[407/451] Compiling buf.cc
[408/451] Compiling cbb.cc
[409/451] Compiling asn1_compat.cc
[410/451] Compiling cbs.cc
[411/451] Compiling blake2.cc
[412/451] Compiling div.cc
[413/451] Compiling pair.cc
[414/451] Compiling hexdump.cc
[415/451] Compiling printf.cc
[416/451] Compiling bn_asn1.cc
[417/451] Compiling file.cc
[418/451] Compiling convert.cc
[419/451] Compiling fd.cc
[420/451] Compiling errno.cc
[421/451] Compiling bio_mem.cc
[422/451] Compiling bio.cc
[423/451] Compiling base64.cc
[424/451] Compiling tasn_utl.cc
[425/451] Compiling tasn_fre.cc
[426/451] Compiling tasn_typ.cc
[427/451] Compiling tasn_new.cc
[428/451] Compiling tasn_enc.cc
[429/451] Compiling posix_time.cc
[430/451] Compiling f_int.cc
[430/451] Compiling tasn_dec.cc
[432/451] Compiling asn1_par.cc
[433/451] Compiling f_string.cc
[434/451] Compiling asn_pack.cc
[435/451] Compiling asn1_lib.cc
[436/451] Compiling a_octet.cc
[437/451] Compiling a_utctm.cc
[438/451] Compiling a_type.cc
[439/451] Compiling a_time.cc
[440/451] Compiling a_strnid.cc
[441/451] Compiling a_strex.cc
[442/451] Compiling a_object.cc
[443/451] Write sources
[444/467] Compiling a_i2d_fp.cc
[445/469] Compiling a_mbstr.cc
[446/469] Compiling a_dup.cc
[447/469] Compiling a_d2i_fp.cc
[448/469] Compiling a_gentm.cc
[449/469] Compiling a_int.cc
[451/469] Compiling Atomics ManagedAtomic.swift
[452/469] Compiling Atomics ManagedAtomicLazyReference.swift
[453/471] Compiling Atomics UnsafeAtomic.swift
[454/471] Compiling Atomics UnsafeAtomicLazyReference.swift
[454/471] Compiling a_bool.cc
[456/471] Compiling Atomics AtomicMemoryOrderings.swift
[457/471] Compiling Atomics DoubleWord.swift
[458/471] Compiling Atomics AtomicStorage.swift
[459/471] Compiling Atomics AtomicValue.swift
[460/479] Compiling Atomics AtomicInteger.swift
[461/479] Compiling Atomics AtomicOptionalWrappable.swift
[462/479] Compiling Atomics AtomicReference.swift
[463/479] Compiling Atomics IntegerOperations.swift
[464/479] Compiling Atomics Unmanaged extensions.swift
[465/479] Emitting module Atomics
[466/479] Compiling Atomics OptionalRawRepresentable.swift
[467/479] Compiling Atomics RawRepresentable.swift
[468/479] Compiling Atomics AtomicBool.swift
[469/479] Compiling Atomics IntegerConformances.swift
[470/479] Compiling Atomics PointerConformances.swift
[471/479] Compiling Atomics Primitives.native.swift
[473/480] Compiling CryptoBoringWrapper RandomBytes.swift
[474/543] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[475/543] Emitting module CryptoBoringWrapper
[476/543] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[477/543] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[478/543] Compiling CryptoBoringWrapper EllipticCurve.swift
[479/543] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[480/543] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[482/627] Compiling Crypto Curve25519.swift
[483/627] Compiling Crypto Ed25519Keys.swift
[484/627] Compiling Crypto NISTCurvesKeys.swift
[485/627] Compiling Crypto X25519Keys.swift
[486/627] Compiling Crypto SymmetricKeys.swift
[487/627] Compiling Crypto Insecure_HashFunctions.swift
[488/627] Compiling Crypto MLKEM_boring.swift
[489/627] Compiling Crypto MLKEM_wrapper.swift
[490/635] Compiling Crypto HPKE-KeySchedule.swift
[491/635] Compiling Crypto HPKE-Modes.swift
[492/635] Compiling Crypto Insecure.swift
[493/635] Compiling Crypto HKDF.swift
[494/635] Compiling Crypto AESWrap.swift
[495/635] Compiling Crypto AESWrap_boring.swift
[496/635] Compiling Crypto Ed25519_boring.swift
[497/635] Compiling Crypto NISTCurvesKeys_boring.swift
[498/635] Compiling Crypto X25519Keys_boring.swift
[499/635] Compiling Crypto HPKE-LabeledExtract.swift
[500/635] Compiling Crypto HPKE-Utils.swift
[501/635] Compiling Crypto DHKEM.swift
[502/635] Compiling Crypto HPKE-KEM-Curve25519.swift
[503/635] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[504/635] Compiling Crypto HPKE-KEM.swift
[505/635] Compiling Crypto HPKE-Errors.swift
[506/635] Compiling Crypto HPKE.swift
[507/635] Compiling Crypto HPKE-Context.swift
[519/646] Compiling Crypto ArraySliceBigint.swift
[520/646] Compiling Crypto GeneralizedTime.swift
[521/646] Compiling Crypto ObjectIdentifier.swift
[522/646] Compiling Crypto ECDSASignature.swift
[523/646] Compiling Crypto PEMDocument.swift
[524/646] Compiling Crypto PKCS8PrivateKey.swift
[525/646] Compiling Crypto SEC1PrivateKey.swift
[526/646] Compiling Crypto SubjectPublicKeyInfo.swift
[527/646] Compiling Crypto CryptoError_boring.swift
[528/646] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[529/646] Compiling NIOCore SocketAddresses.swift
[530/646] Compiling NIOCore SocketOptionProvider.swift
[531/646] Compiling NIOCore SystemCallHelpers.swift
[532/646] Compiling NIOCore TimeAmount+Duration.swift
[533/646] Compiling NIOCore TypeAssistedChannelHandler.swift
[534/646] Compiling NIOCore UniversalBootstrapSupport.swift
[535/646] Compiling NIOCore Utilities.swift
[536/646] Compiling Crypto AES-GCM.swift
[537/646] Compiling Crypto AES-GCM_boring.swift
[538/646] Compiling Crypto ChaChaPoly_boring.swift
[539/646] Compiling Crypto ChaChaPoly.swift
[540/646] Compiling Crypto Cipher.swift
[541/646] Compiling Crypto Nonces.swift
[542/646] Compiling Crypto ASN1.swift
[543/646] Compiling Crypto ASN1Any.swift
[544/646] Compiling Crypto ASN1BitString.swift
[545/646] Compiling Crypto ASN1Boolean.swift
[546/646] Compiling Crypto ASN1Identifier.swift
[547/646] Compiling Crypto ASN1Integer.swift
[548/646] Compiling Crypto CryptoKitErrors.swift
[549/646] Compiling Crypto Digest_boring.swift
[550/646] Compiling Crypto Digest.swift
[551/646] Compiling Crypto Digests.swift
[552/646] Compiling Crypto HashFunctions.swift
[553/646] Compiling Crypto HashFunctions_SHA2.swift
[554/646] Emitting module Crypto
[555/646] Compiling Crypto MLDSA.swift
[556/646] Compiling Crypto Signature.swift
[557/646] Compiling Crypto CryptoKitErrors_boring.swift
[558/646] Compiling Crypto Optional+withUnsafeBytes_boring.swift
[559/646] Compiling Crypto RNG_boring.swift
[560/646] Compiling Crypto SafeCompare_boring.swift
[561/646] Compiling Crypto Zeroization_boring.swift
[562/646] Compiling Crypto PrettyBytes.swift
[563/646] Compiling Crypto SafeCompare.swift
[564/646] Compiling Crypto SecureBytes.swift
[565/646] Compiling Crypto Zeroization.swift
[584/646] Compiling Crypto HashFunctions_SHA3.swift
[585/646] Compiling Crypto Digest_xkcp.swift
[586/646] Compiling Crypto HPKE-AEAD.swift
[587/646] Compiling Crypto HPKE-Ciphersuite.swift
[588/646] Compiling Crypto HPKE-KDF.swift
[589/646] Compiling Crypto HPKE-KexKeyDerivation.swift
[613/646] Compiling Crypto ANSIx963.swift
[614/646] Compiling Crypto ASN1Null.swift
[615/646] Compiling Crypto ASN1OctetString.swift
[616/646] Compiling Crypto ASN1Strings.swift
[626/646] Compiling Crypto HMAC.swift
[627/646] Compiling Crypto MACFunctions.swift
[628/646] Compiling Crypto MessageAuthenticationCode.swift
[629/646] Compiling Crypto AES.swift
[630/646] Compiling Crypto ECDSASignature_boring.swift
[631/646] Compiling Crypto ECDSA_boring.swift
[632/646] Compiling Crypto EdDSA_boring.swift
[633/646] Compiling Crypto MLDSA_boring.swift
[634/646] Compiling Crypto MLDSA_wrapper.swift
[635/646] Compiling Crypto ECDSA.swift
[636/646] Compiling Crypto Ed25519.swift
[638/647] Emitting module NIOCore
[649/666] Emitting module ObliviousXHelpers
[650/666] Compiling ObliviousXHelpers Helpers.swift
/host/spi-builder-workspace/Sources/ObliviousXHelpers/Helpers.swift:498:29: error: cannot find 'ceil' in scope
496 |     precondition(value >= 0, "I2OSP requires a non-null value.")
497 |
498 |     let requiredBytes = Int(ceil(log2(Double(max(value, 1) + 1)) / 8))
    |                             `- error: cannot find 'ceil' in scope
499 |     precondition(outputByteCount >= requiredBytes)
500 |
/host/spi-builder-workspace/Sources/ObliviousXHelpers/Helpers.swift:498:34: error: cannot find 'log2' in scope
496 |     precondition(value >= 0, "I2OSP requires a non-null value.")
497 |
498 |     let requiredBytes = Int(ceil(log2(Double(max(value, 1) + 1)) / 8))
    |                                  `- error: cannot find 'log2' in scope
499 |     precondition(outputByteCount >= requiredBytes)
500 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/55] Compiling CryptoBoringWrapper RandomBytes.swift
[3/55] Compiling NIOConcurrencyHelpers lock.swift
[4/55] Emitting module CryptoBoringWrapper
[5/55] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[6/55] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[7/57] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[8/57] Emitting module NIOConcurrencyHelpers
[9/57] Compiling CryptoBoringWrapper EllipticCurve.swift
[10/57] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[11/57] Compiling NIOConcurrencyHelpers NIOLock.swift
[12/57] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[13/57] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[14/57] Emitting module InternalCollectionsUtilities
[15/57] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[16/57] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[21/57] Compiling InternalCollectionsUtilities Debugging.swift
[22/57] Compiling InternalCollectionsUtilities Descriptions.swift
[27/59] Compiling InternalCollectionsUtilities _SortedCollection.swift
[28/59] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[29/59] Emitting module _NIOBase64
[30/59] Compiling _NIOBase64 Base64.swift
[31/59] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[32/59] Compiling _NIODataStructures Heap.swift
[33/59] Emitting module _NIODataStructures
[34/60] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[37/60] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[38/60] Compiling _NIODataStructures _TinyArray.swift
[39/60] Compiling _NIODataStructures PriorityQueue.swift
[41/61] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[43/62] Emitting module Atomics
[44/62] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[46/62] Compiling Atomics IntegerOperations.swift
[47/62] Compiling Atomics Unmanaged extensions.swift
[48/62] Compiling InternalCollectionsUtilities UInt+reversed.swift
[49/62] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[50/62] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[52/62] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[53/62] Compiling InternalCollectionsUtilities Integer rank.swift
[54/62] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[55/63] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[56/63] Compiling NIOConcurrencyHelpers atomics.swift
[66/163] Compiling Crypto AES-GCM.swift
[67/163] Compiling Crypto AES-GCM_boring.swift
[68/165] Compiling Crypto CryptoKitErrors.swift
[69/165] Compiling Crypto Digest_boring.swift
[70/165] Compiling Crypto Cipher.swift
[71/165] Compiling Crypto Nonces.swift
[72/165] Compiling Crypto ASN1.swift
[73/165] Compiling Crypto ASN1Any.swift
[74/165] Compiling Crypto ASN1BitString.swift
[75/165] Compiling Crypto ASN1Boolean.swift
[76/165] Compiling Crypto ASN1Identifier.swift
[77/165] Compiling Crypto ASN1Integer.swift
[78/165] Compiling DequeModule _DequeSlot.swift
[79/165] Compiling DequeModule _UnsafeWrappedBuffer.swift
[80/165] Compiling Crypto ChaChaPoly_boring.swift
[81/165] Compiling Crypto ChaChaPoly.swift
[82/165] Emitting module DequeModule
[84/229] Emitting module Crypto
[85/240] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[86/240] Compiling NIOCore ByteBuffer-conversions.swift
[87/240] Compiling NIOCore ByteBuffer-core.swift
[88/240] Compiling NIOCore ByteBuffer-hex.swift
[89/240] Compiling NIOCore ByteBuffer-int.swift
[90/240] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[91/240] Compiling NIOCore CircularBuffer.swift
[92/240] Compiling NIOCore Codec.swift
[93/240] Compiling NIOCore ConvenienceOptionSupport.swift
[94/240] Compiling NIOCore DeadChannel.swift
[95/240] Compiling NIOCore DispatchQueue+WithFuture.swift
[96/240] Compiling NIOCore EventLoop+Deprecated.swift
[97/240] Compiling NIOCore EventLoop+SerialExecutor.swift
[98/240] Compiling NIOCore EventLoop.swift
[99/240] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[100/240] Compiling NIOCore ByteBuffer-multi-int.swift
[101/240] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[102/240] Compiling NIOCore ByteBuffer-views.swift
[103/240] Compiling NIOCore Channel.swift
[104/240] Compiling NIOCore ChannelHandler.swift
[105/240] Compiling NIOCore ChannelHandlers.swift
[106/240] Compiling NIOCore ChannelInvoker.swift
[107/240] Compiling NIOCore ChannelOption.swift
[108/240] Compiling NIOCore ChannelPipeline.swift
[109/240] Compiling NIOCore AddressedEnvelope.swift
[110/240] Compiling NIOCore AsyncAwaitSupport.swift
[111/240] Compiling NIOCore AsyncChannel.swift
[112/240] Compiling NIOCore AsyncChannelHandler.swift
[113/240] Compiling NIOCore AsyncChannelInboundStream.swift
[114/240] Compiling NIOCore AsyncChannelOutboundWriter.swift
[115/240] Compiling NIOCore NIOAsyncSequenceProducer.swift
[116/240] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[117/240] Compiling NIOCore NIOAsyncWriter.swift
[118/240] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[119/240] Compiling NIOCore BSDSocketAPI.swift
[120/240] Compiling NIOCore ByteBuffer-aux.swift
[121/240] Compiling NIOCore NIOCoreSendableMetatype.swift
[122/240] Compiling NIOCore NIODecodedAsyncSequence.swift
[123/240] Compiling NIOCore NIOLoopBound.swift
[124/240] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[125/240] Compiling NIOCore NIOScheduledCallback.swift
[126/240] Compiling NIOCore NIOSendable.swift
[127/240] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[128/240] Compiling NIOCore RecvByteBufferAllocator.swift
[129/248] Compiling NIOCore IPProtocol.swift
[130/248] Compiling NIOCore IntegerBitPacking.swift
[131/248] Compiling NIOCore IntegerTypes.swift
[132/248] Compiling NIOCore Interfaces.swift
[133/248] Compiling NIOCore Linux.swift
[134/248] Compiling NIOCore MarkedCircularBuffer.swift
[135/248] Compiling NIOCore MulticastChannel.swift
[136/248] Compiling NIOCore NIOAny.swift
[137/248] Compiling NIOCore NIOCloseOnErrorHandler.swift
[138/248] Compiling NIOCore EventLoopFuture+Deprecated.swift
[139/248] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[140/248] Compiling NIOCore EventLoopFuture.swift
[141/248] Compiling NIOCore FileDescriptor.swift
[142/248] Compiling NIOCore FileHandle.swift
[143/248] Compiling NIOCore FileRegion.swift
[144/248] Compiling NIOCore GlobalSingletons.swift
[145/248] Compiling NIOCore IO.swift
[146/248] Compiling NIOCore IOData.swift
[147/248] Compiling Crypto MLDSA.swift
[148/248] Compiling Crypto Signature.swift
[149/248] Compiling Crypto CryptoKitErrors_boring.swift
[150/248] Compiling Crypto Optional+withUnsafeBytes_boring.swift
[151/248] Compiling Crypto RNG_boring.swift
[152/248] Compiling Crypto SafeCompare_boring.swift
[153/248] Compiling Crypto Zeroization_boring.swift
[154/248] Compiling Crypto PrettyBytes.swift
[155/248] Compiling Crypto SafeCompare.swift
[156/248] Compiling Crypto SecureBytes.swift
[157/248] Compiling Crypto Zeroization.swift
[182/248] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[183/248] Compiling NIOCore SocketAddresses.swift
[184/248] Compiling NIOCore SocketOptionProvider.swift
[185/248] Compiling NIOCore SystemCallHelpers.swift
[186/248] Compiling NIOCore TimeAmount+Duration.swift
[187/248] Compiling NIOCore TypeAssistedChannelHandler.swift
[188/248] Compiling NIOCore UniversalBootstrapSupport.swift
[189/248] Compiling NIOCore Utilities.swift
[217/248] Compiling Crypto HMAC.swift
[218/248] Compiling Crypto MACFunctions.swift
[219/248] Compiling Crypto MessageAuthenticationCode.swift
[220/248] Compiling Crypto AES.swift
[221/248] Compiling Crypto ECDSASignature_boring.swift
[222/248] Compiling Crypto ECDSA_boring.swift
[223/248] Compiling Crypto EdDSA_boring.swift
[224/248] Compiling Crypto MLDSA_boring.swift
[225/248] Compiling Crypto MLDSA_wrapper.swift
[226/248] Compiling Crypto ECDSA.swift
[227/248] Compiling Crypto Ed25519.swift
[238/248] Compiling Crypto SymmetricKeys.swift
[240/251] Emitting module ObliviousXHelpers
[241/251] Compiling ObliviousXHelpers Helpers.swift
/host/spi-builder-workspace/Sources/ObliviousXHelpers/Helpers.swift:498:29: error: cannot find 'ceil' in scope
496 |     precondition(value >= 0, "I2OSP requires a non-null value.")
497 |
498 |     let requiredBytes = Int(ceil(log2(Double(max(value, 1) + 1)) / 8))
    |                             `- error: cannot find 'ceil' in scope
499 |     precondition(outputByteCount >= requiredBytes)
500 |
/host/spi-builder-workspace/Sources/ObliviousXHelpers/Helpers.swift:498:34: error: cannot find 'log2' in scope
496 |     precondition(value >= 0, "I2OSP requires a non-null value.")
497 |
498 |     let requiredBytes = Int(ceil(log2(Double(max(value, 1) + 1)) / 8))
    |                                  `- error: cannot find 'log2' in scope
499 |     precondition(outputByteCount >= requiredBytes)
500 |
BUILD FAILURE 6.1 wasm