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 Rosalind, reference main (34c35d), with Swift 6.2 for Wasm on 16 Dec 2025 22:50:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tuist/Rosalind.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/tuist/Rosalind
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 34c35d0 [Release] Rosalind 0.6.100
Cloned https://github.com/tuist/Rosalind.git
Revision (git rev-parse @):
34c35d0ea1d518066f41674acf50b765094beb01
SUCCESS checkout https://github.com/tuist/Rosalind.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tuist/Rosalind.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:ea378e7d7954b9ce813c0ebc8f6bc113436e2b3d5aa4fd45225da8bf07e6be73
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/p-x9/MachOKit
Fetching https://github.com/tuist/Command.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/Kolos65/Mockable
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/tuist/FileSystem.git
[1/1976] Fetching command
[258/4724] Fetching command, filesystem
[286/22189] Fetching command, filesystem, swift-crypto
[369/24073] Fetching command, filesystem, swift-crypto, mockable
[2994/30177] Fetching command, filesystem, swift-crypto, mockable, machokit
Fetched https://github.com/tuist/FileSystem.git from cache (1.01s)
[9931/27429] Fetching command, swift-crypto, mockable, machokit
Fetching https://github.com/tuist/Path.git
[10839/43062] Fetching command, swift-crypto, mockable, machokit, swift-snapshot-testing
Fetched https://github.com/tuist/Command.git from cache (1.41s)
[10012/41086] Fetching swift-crypto, mockable, machokit, swift-snapshot-testing
Fetched https://github.com/p-x9/MachOKit from cache (1.42s)
[4082/34982] Fetching swift-crypto, mockable, swift-snapshot-testing
[4083/35363] Fetching swift-crypto, mockable, swift-snapshot-testing, path
Fetched https://github.com/tuist/Path.git from cache (0.54s)
[4257/34982] Fetching swift-crypto, mockable, swift-snapshot-testing
Fetched https://github.com/Kolos65/Mockable from cache (4.66s)
Fetched https://github.com/apple/swift-crypto.git from cache (4.74s)
[13445/15633] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (6.63s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.5.0 (7.64s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5600] Fetching xctest-dynamic-overlay
[3473/78765] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (11.93s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (12.08s)
Computing version for https://github.com/p-x9/MachOKit
warning: 'machokit': /Package.swift:77:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
75 | }
76 |
77 | extension SwiftSetting: CaseIterable {
   | |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
78 |     public static var allCases: [Self] {
79 |         [
Computed https://github.com/p-x9/MachOKit at 0.43.0 (12.98s)
Fetching https://github.com/p-x9/swift-fileio.git
[1/209] Fetching swift-fileio
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.35s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (5.28s)
Fetching https://github.com/apple/swift-asn1.git
[1/1667] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.46s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.7 (1.38s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4651] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.88s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.13.0 (1.69s)
Fetching https://github.com/apple/swift-log
[1/5755] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.80s)
Computing version for https://github.com/tuist/Path.git
Computed https://github.com/tuist/Path.git at 0.3.8 (1.62s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.82s)
Computing version for https://github.com/tuist/FileSystem.git
Computed https://github.com/tuist/FileSystem.git at 0.14.3 (0.86s)
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/tuist/ZIPFoundation
[1/4875] Fetching zipfoundation
[2829/85670] Fetching zipfoundation, swift-nio
Fetched https://github.com/tuist/ZIPFoundation from cache (1.23s)
[5656/80795] Fetching swift-nio
Fetched https://github.com/apple/swift-nio from cache (12.11s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.8.0 (12.98s)
Computing version for https://github.com/tuist/ZIPFoundation
Computed https://github.com/tuist/ZIPFoundation at 0.9.20 (0.70s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.92.0 (1.60s)
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/1820] Fetching swift-atomics
[693/20198] Fetching swift-atomics, swift-collections
[712/25419] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (1.12s)
[11470/23599] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (2.59s)
Fetched https://github.com/apple/swift-collections.git from cache (2.66s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.12.0 (3.48s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.81s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.0 (0.79s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (3.95s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (1.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.09s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (2.05s)
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/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.7
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.92.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/p-x9/swift-fileio.git
Working copy of https://github.com/p-x9/swift-fileio.git resolved at 0.12.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.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.1
Creating working copy for https://github.com/p-x9/MachOKit
Working copy of https://github.com/p-x9/MachOKit resolved at 0.43.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.8.0
Creating working copy for https://github.com/tuist/Command.git
Working copy of https://github.com/tuist/Command.git resolved at 0.13.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.8.0
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/tuist/FileSystem.git
Working copy of https://github.com/tuist/FileSystem.git resolved at 0.14.3
Creating working copy for https://github.com/tuist/Path.git
Working copy of https://github.com/tuist/Path.git resolved at 0.3.8
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
Creating working copy for https://github.com/tuist/ZIPFoundation
Working copy of https://github.com/tuist/ZIPFoundation resolved at 0.9.20
Creating working copy for https://github.com/Kolos65/Mockable
Working copy of https://github.com/Kolos65/Mockable resolved at 0.5.0
warning: 'machokit': /host/spi-builder-workspace/.build/checkouts/MachOKit/Package.swift:77:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
75 | }
76 |
77 | extension SwiftSetting: CaseIterable {
   | |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
78 |     public static var allCases: [Self] {
79 |         [
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.85s)
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/435] Write sources
[22/435] Compiling MachOKitC mach-o-linux.c
[23/435] Compiling CNIODarwin shim.c
[24/435] Compiling CSystem shims.c
[25/435] Compiling CNIOLinux liburing_shims.c
[26/435] Compiling _AtomicsShims.c
[27/435] Compiling CNIOWindows shim.c
[27/435] Compiling CNIOWASI CNIOWASI.c
[29/435] Compiling CNIOPosix event_loop_id.c
[30/435] Compiling CNIOWindows WSAStartup.c
[31/435] Compiling CNIOOpenBSD shim.c
[32/435] Compiling CNIOLinux shim.c
[33/435] Compiling fiat_p256_adx_sqr.S
[34/435] Compiling fiat_curve25519_adx_square.S
[35/435] Compiling fiat_p256_adx_mul.S
[36/435] Compiling fiat_curve25519_adx_mul.S
[37/435] Compiling md5-x86_64-linux.S
[38/435] Compiling md5-586-linux.S
[39/435] Compiling md5-x86_64-apple.S
[40/435] Compiling md5-586-apple.S
[41/435] Compiling chacha20_poly1305_x86_64-linux.S
[42/435] Compiling chacha20_poly1305_x86_64-apple.S
[43/435] Compiling chacha20_poly1305_armv8-linux.S
[44/435] Compiling chacha20_poly1305_armv8-win.S
[45/435] Compiling chacha20_poly1305_armv8-apple.S
[46/435] Compiling chacha-x86_64-linux.S
[47/435] Compiling chacha-x86_64-apple.S
[48/435] Compiling chacha-x86-linux.S
[49/435] Compiling chacha-x86-apple.S
[50/435] Compiling chacha-armv8-win.S
[51/435] Compiling chacha-armv8-linux.S
[52/435] Compiling chacha-armv8-apple.S
[53/435] Compiling chacha-armv4-linux.S
[54/435] Compiling aes128gcmsiv-x86_64-linux.S
[55/435] Compiling aes128gcmsiv-x86_64-apple.S
[56/435] Compiling CCryptoBoringSSLShims shims.c
[57/435] Compiling x86_64-mont5-linux.S
[58/435] Compiling x86_64-mont5-apple.S
[59/435] Compiling x86_64-mont-apple.S
[60/435] Compiling x86_64-mont-linux.S
[61/435] Compiling x86-mont-linux.S
[62/435] Compiling vpaes-x86_64-linux.S
[63/435] Compiling x86-mont-apple.S
[64/435] Compiling vpaes-x86_64-apple.S
[65/435] Compiling vpaes-x86-linux.S
[66/435] Compiling vpaes-x86-apple.S
[67/435] Compiling vpaes-armv8-win.S
[68/435] Compiling vpaes-armv8-linux.S
[69/435] Compiling vpaes-armv8-apple.S
[70/435] Compiling err_data.cc
[71/435] Compiling vpaes-armv7-linux.S
[72/435] Compiling sha512-x86_64-linux.S
[73/435] Compiling sha512-x86_64-apple.S
[74/435] Compiling sha512-armv8-linux.S
[75/435] Compiling sha512-586-linux.S
[76/435] Compiling sha512-armv8-win.S
[76/435] Compiling sha512-armv4-linux.S
[78/435] Compiling sha512-armv8-apple.S
[79/435] Compiling sha256-x86_64-apple.S
[80/435] Compiling sha256-armv8-linux.S
[81/435] Compiling sha256-x86_64-linux.S
[82/435] Compiling sha512-586-apple.S
[83/435] Compiling sha256-armv8-win.S
[84/435] Compiling sha256-armv4-linux.S
[85/435] Compiling sha256-armv8-apple.S
[86/435] Compiling sha256-586-linux.S
[87/435] Compiling sha256-586-apple.S
[88/435] Compiling sha1-x86_64-linux.S
[89/435] Compiling sha1-x86_64-apple.S
[90/435] Compiling sha1-armv8-win.S
[91/435] Compiling sha1-armv8-linux.S
[92/435] Compiling sha1-armv8-apple.S
[93/435] Compiling sha1-586-linux.S
[94/435] Compiling sha1-armv4-large-linux.S
[95/435] Compiling rsaz-avx2-linux.S
[96/435] Compiling rsaz-avx2-apple.S
[97/435] Compiling sha1-586-apple.S
[98/435] Compiling rdrand-x86_64-apple.S
[99/435] Compiling rdrand-x86_64-linux.S
[100/435] Compiling p256_beeu-armv8-asm-win.S
[101/435] Compiling p256_beeu-x86_64-asm-apple.S
[102/435] Compiling p256_beeu-x86_64-asm-linux.S
[103/435] Compiling p256-x86_64-asm-linux.S
[104/435] Compiling p256-x86_64-asm-apple.S
[105/435] Compiling p256_beeu-armv8-asm-linux.S
[106/435] Compiling p256_beeu-armv8-asm-apple.S
[107/435] Compiling p256-armv8-asm-win.S
[108/435] Compiling ghashv8-armv8-win.S
[109/435] Compiling p256-armv8-asm-apple.S
[110/435] Compiling p256-armv8-asm-linux.S
[111/435] Compiling ghashv8-armv8-linux.S
[112/435] Compiling ghashv8-armv7-linux.S
[113/435] Compiling ghash-x86_64-linux.S
[114/435] Compiling ghashv8-armv8-apple.S
[115/435] Compiling ghash-x86_64-apple.S
[116/435] Compiling ghash-x86-linux.S
[117/435] Compiling ghash-x86-apple.S
[118/435] Compiling ghash-ssse3-x86_64-linux.S
[119/435] Compiling ghash-ssse3-x86_64-apple.S
[120/435] Compiling ghash-ssse3-x86-apple.S
[121/435] Compiling ghash-ssse3-x86-linux.S
[122/435] Compiling ghash-neon-armv8-win.S
[123/435] Compiling ghash-neon-armv8-apple.S
[124/435] Compiling ghash-neon-armv8-linux.S
[125/435] Compiling co-586-linux.S
[126/435] Compiling ghash-armv4-linux.S
[127/435] Compiling bsaes-armv7-linux.S
[128/435] Compiling co-586-apple.S
[129/435] Compiling bn-armv8-win.S
[130/435] Compiling bn-armv8-linux.S
[131/435] Compiling bn-586-apple.S
[132/435] Compiling bn-armv8-apple.S
[133/435] Compiling armv8-mont-win.S
[134/435] Compiling bn-586-linux.S
[135/435] Compiling armv8-mont-linux.S
[136/435] Compiling armv8-mont-apple.S
[137/435] Compiling aesv8-gcm-armv8-win.S
[138/435] Compiling aesv8-gcm-armv8-linux.S
[139/435] Compiling armv4-mont-linux.S
[140/435] Compiling aesv8-gcm-armv8-apple.S
[140/435] Compiling aesv8-armv8-win.S
[142/435] Compiling aesv8-armv8-linux.S
[143/435] Compiling aesv8-armv8-apple.S
[144/435] Compiling aesv8-armv7-linux.S
[145/435] Compiling aesni-x86_64-linux.S
[146/435] Compiling aesni-x86_64-apple.S
[147/435] Compiling aesni-x86-linux.S
[148/435] Compiling aesni-x86-apple.S
[149/435] Compiling aesni-gcm-x86_64-linux.S
[150/435] Compiling aesni-gcm-x86_64-apple.S
[151/435] Compiling aes-gcm-avx512-x86_64-linux.S
[152/435] Compiling aes-gcm-avx2-x86_64-linux.S
[153/435] Compiling aes-gcm-avx512-x86_64-apple.S
[154/435] Compiling aes-gcm-avx2-x86_64-apple.S
[155/435] Compiling xwing.cc
[156/435] Compiling x_sig.cc
[157/435] Compiling x_x509a.cc
[158/435] Compiling x_spki.cc
[159/435] Compiling x_x509.cc
[160/435] Write swift-version-24593BA9C3E375BF.txt
[161/435] Compiling c-nioatomics.c
[162/437] Compiling x_req.cc
[163/437] Compiling x_pubkey.cc
[164/441] Compiling x_name.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[166/441] Emitting module _NIODataStructures
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:27:8: error: The Heap module was unable to identify your C library.
 25 | @preconcurrency import Bionic
 26 | #else
 27 | #error("The Heap module was unable to identify your C library.")
    |        `- error: The Heap module was unable to identify your C library.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:170:47: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
168 |             return "<empty heap>"
169 |         }
170 |         let descriptions = self.storage.map { String(describing: $0) }
    |                                               `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
171 |         let maxLen: Int = descriptions.map { $0.count }.max()!  // storage checked non-empty above
172 |         let paddedDescs = descriptions.map { (desc: String) -> String in
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
  |        `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:208:21: error: cannot find 'log2' in scope
206 |
207 |             func height(index: Int) -> Int {
208 |                 Int(log2(Double(index + 1)))
    |                     `- error: cannot find 'log2' in scope
209 |             }
210 |             let myHeight = height(index: index)
[167/443] Compiling _NIODataStructures Heap.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:27:8: error: The Heap module was unable to identify your C library.
 25 | @preconcurrency import Bionic
 26 | #else
 27 | #error("The Heap module was unable to identify your C library.")
    |        `- error: The Heap module was unable to identify your C library.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:170:47: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
168 |             return "<empty heap>"
169 |         }
170 |         let descriptions = self.storage.map { String(describing: $0) }
    |                                               `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
171 |         let maxLen: Int = descriptions.map { $0.count }.max()!  // storage checked non-empty above
172 |         let paddedDescs = descriptions.map { (desc: String) -> String in
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
  |        `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:208:21: error: cannot find 'log2' in scope
206 |
207 |             func height(index: Int) -> Int {
208 |                 Int(log2(Double(index + 1)))
    |                     `- error: cannot find 'log2' in scope
209 |             }
210 |             let myHeight = height(index: index)
[167/443] Compiling x_attrib.cc
[167/443] Compiling x_crl.cc
[167/443] Compiling x_exten.cc
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:27:8: error: Unsupported Platform
25 | import Bionic
26 | #else
27 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
28 | #endif
29 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Constants.swift:30:8: error: Unsupported Platform
 28 | import Android
 29 | #else
 30 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 31 | #endif
 32 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Exports.swift:32:8: error: Unsupported Platform
 30 | import Android
 31 | #else
 32 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 33 | #endif
 34 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:24:8: error: Unsupported Platform
 22 | import Android
 23 | #else
 24 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 25 | #endif
 26 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:14:15: error: type 'Errno' does not conform to protocol 'Decodable'
  12 | @frozen
  13 | @available(System 0.0.1, *)
  14 | public struct Errno: RawRepresentable, Error, Hashable, Codable {
     |               `- error: type 'Errno' does not conform to protocol 'Decodable'
  15 |   /// The raw C error number.
  16 |   @_alwaysEmitIntoClient
  17 |   public let rawValue: CInt
     |              `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
  18 |
  19 |   /// Creates a strongly typed error number from a raw C error number.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:14:57: error: 'Codable' is unavailable: unavailable in embedded Swift
  12 | @frozen
  13 | @available(System 0.0.1, *)
  14 | public struct Errno: RawRepresentable, Error, Hashable, Codable {
     |                                                         `- error: 'Codable' is unavailable: unavailable in embedded Swift
  15 |   /// The raw C error number.
  16 |   @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:14:15: error: type 'Errno' does not conform to protocol 'Encodable'
  12 | @frozen
  13 | @available(System 0.0.1, *)
  14 | public struct Errno: RawRepresentable, Error, Hashable, Codable {
     |               `- error: type 'Errno' does not conform to protocol 'Encodable'
  15 |   /// The raw C error number.
  16 |   @_alwaysEmitIntoClient
  17 |   public let rawValue: CInt
     |              `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
  18 |
  19 |   /// Creates a strongly typed error number from a raw C error number.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:14:15: error: type 'Errno' does not conform to protocol 'Decodable'
  12 | @frozen
  13 | @available(System 0.0.1, *)
  14 | public struct Errno: RawRepresentable, Error, Hashable, Codable {
     |               `- error: type 'Errno' does not conform to protocol 'Decodable'
  15 |   /// The raw C error number.
  16 |   @_alwaysEmitIntoClient
  17 |   public let rawValue: CInt
     |              `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
  18 |
  19 |   /// Creates a strongly typed error number from a raw C error number.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:1532:27: error: cannot find 'system_errno' in scope
1530 |   /// The corresponding C global variable is `errno`.
1531 |   internal static var current: Errno {
1532 |     get { Errno(rawValue: system_errno) }
     |                           `- error: cannot find 'system_errno' in scope
1533 |     set { system_errno = newValue.rawValue }
1534 |   }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Errno.swift:1533:11: error: cannot find 'system_errno' in scope
1531 |   internal static var current: Errno {
1532 |     get { Errno(rawValue: system_errno) }
1533 |     set { system_errno = newValue.rawValue }
     |           `- error: cannot find 'system_errno' in scope
1534 |   }
1535 | }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:18:15: error: type 'FileDescriptor' does not conform to protocol 'Decodable'
 16 | @frozen
 17 | @available(System 0.0.1, *)
 18 | public struct FileDescriptor: RawRepresentable, Hashable, Codable {
    |               `- error: type 'FileDescriptor' does not conform to protocol 'Decodable'
 19 |   /// The raw C file handle.
 20 |   @_alwaysEmitIntoClient
 21 |   public let rawValue: CInt
    |              `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
 22 |
 23 |   /// Creates a strongly-typed file handle from a raw C file handle.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:18:59: error: 'Codable' is unavailable: unavailable in embedded Swift
 16 | @frozen
 17 | @available(System 0.0.1, *)
 18 | public struct FileDescriptor: RawRepresentable, Hashable, Codable {
    |                                                           `- error: 'Codable' is unavailable: unavailable in embedded Swift
 19 |   /// The raw C file handle.
 20 |   @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:18:15: error: type 'FileDescriptor' does not conform to protocol 'Encodable'
 16 | @frozen
 17 | @available(System 0.0.1, *)
 18 | public struct FileDescriptor: RawRepresentable, Hashable, Codable {
    |               `- error: type 'FileDescriptor' does not conform to protocol 'Encodable'
 19 |   /// The raw C file handle.
 20 |   @_alwaysEmitIntoClient
 21 |   public let rawValue: CInt
    |              `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
 22 |
 23 |   /// Creates a strongly-typed file handle from a raw C file handle.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:49:17: error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Decodable'
 47 |   @frozen
 48 |   @available(System 0.0.1, *)
 49 |   public struct AccessMode: RawRepresentable, Sendable, Hashable, Codable {
    |                 `- error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Decodable'
 50 |     /// The raw C access mode.
 51 |     @_alwaysEmitIntoClient
 52 |     public var rawValue: CInt
    |                `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
 53 |
 54 |     /// Creates a strongly-typed access mode from a raw C access mode.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:49:67: error: 'Codable' is unavailable: unavailable in embedded Swift
 47 |   @frozen
 48 |   @available(System 0.0.1, *)
 49 |   public struct AccessMode: RawRepresentable, Sendable, Hashable, Codable {
    |                                                                   `- error: 'Codable' is unavailable: unavailable in embedded Swift
 50 |     /// The raw C access mode.
 51 |     @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:49:17: error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Encodable'
 47 |   @frozen
 48 |   @available(System 0.0.1, *)
 49 |   public struct AccessMode: RawRepresentable, Sendable, Hashable, Codable {
    |                 `- error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Encodable'
 50 |     /// The raw C access mode.
 51 |     @_alwaysEmitIntoClient
 52 |     public var rawValue: CInt
    |                `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
 53 |
 54 |     /// Creates a strongly-typed access mode from a raw C access mode.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:92:17: error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Decodable'
 90 |   @frozen
 91 |   @available(System 0.0.1, *)
 92 |   public struct OpenOptions: OptionSet, Sendable, Hashable, Codable {
    |                 `- error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Decodable'
 93 |     /// The raw C options.
 94 |     @_alwaysEmitIntoClient
 95 |     public var rawValue: CInt
    |                `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
 96 |
 97 |     /// Create a strongly-typed options value from raw C options.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:92:61: error: 'Codable' is unavailable: unavailable in embedded Swift
 90 |   @frozen
 91 |   @available(System 0.0.1, *)
 92 |   public struct OpenOptions: OptionSet, Sendable, Hashable, Codable {
    |                                                             `- error: 'Codable' is unavailable: unavailable in embedded Swift
 93 |     /// The raw C options.
 94 |     @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:92:17: error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Encodable'
 90 |   @frozen
 91 |   @available(System 0.0.1, *)
 92 |   public struct OpenOptions: OptionSet, Sendable, Hashable, Codable {
    |                 `- error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Encodable'
 93 |     /// The raw C options.
 94 |     @_alwaysEmitIntoClient
 95 |     public var rawValue: CInt
    |                `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
 96 |
 97 |     /// Create a strongly-typed options value from raw C options.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:330:17: error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Decodable'
328 |   @frozen
329 |   @available(System 0.0.1, *)
330 |   public struct SeekOrigin: RawRepresentable, Sendable, Hashable, Codable {
    |                 `- error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Decodable'
331 |     /// The raw C value.
332 |     @_alwaysEmitIntoClient
333 |     public var rawValue: CInt
    |                `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
334 |
335 |     /// Create a strongly-typed seek origin from a raw C value.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:330:67: error: 'Codable' is unavailable: unavailable in embedded Swift
328 |   @frozen
329 |   @available(System 0.0.1, *)
330 |   public struct SeekOrigin: RawRepresentable, Sendable, Hashable, Codable {
    |                                                                   `- error: 'Codable' is unavailable: unavailable in embedded Swift
331 |     /// The raw C value.
332 |     @_alwaysEmitIntoClient
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:330:17: error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Encodable'
328 |   @frozen
329 |   @available(System 0.0.1, *)
330 |   public struct SeekOrigin: RawRepresentable, Sendable, Hashable, Codable {
    |                 `- error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Encodable'
331 |     /// The raw C value.
332 |     @_alwaysEmitIntoClient
333 |     public var rawValue: CInt
    |                `- note: cannot automatically synthesize 'Encodable' because 'CInt' does not conform to 'Encodable'
334 |
335 |     /// Create a strongly-typed seek origin from a raw C value.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:18:15: error: type 'FileDescriptor' does not conform to protocol 'Decodable'
 16 | @frozen
 17 | @available(System 0.0.1, *)
 18 | public struct FileDescriptor: RawRepresentable, Hashable, Codable {
    |               `- error: type 'FileDescriptor' does not conform to protocol 'Decodable'
 19 |   /// The raw C file handle.
 20 |   @_alwaysEmitIntoClient
 21 |   public let rawValue: CInt
    |              `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
 22 |
 23 |   /// Creates a strongly-typed file handle from a raw C file handle.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:49:17: error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Decodable'
 47 |   @frozen
 48 |   @available(System 0.0.1, *)
 49 |   public struct AccessMode: RawRepresentable, Sendable, Hashable, Codable {
    |                 `- error: type 'FileDescriptor.AccessMode' does not conform to protocol 'Decodable'
 50 |     /// The raw C access mode.
 51 |     @_alwaysEmitIntoClient
 52 |     public var rawValue: CInt
    |                `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
 53 |
 54 |     /// Creates a strongly-typed access mode from a raw C access mode.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:92:17: error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Decodable'
 90 |   @frozen
 91 |   @available(System 0.0.1, *)
 92 |   public struct OpenOptions: OptionSet, Sendable, Hashable, Codable {
    |                 `- error: type 'FileDescriptor.OpenOptions' does not conform to protocol 'Decodable'
 93 |     /// The raw C options.
 94 |     @_alwaysEmitIntoClient
 95 |     public var rawValue: CInt
    |                `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
 96 |
 97 |     /// Create a strongly-typed options value from raw C options.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileDescriptor.swift:330:17: error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Decodable'
328 |   @frozen
329 |   @available(System 0.0.1, *)
330 |   public struct SeekOrigin: RawRepresentable, Sendable, Hashable, Codable {
    |                 `- error: type 'FileDescriptor.SeekOrigin' does not conform to protocol 'Decodable'
331 |     /// The raw C value.
332 |     @_alwaysEmitIntoClient
333 |     public var rawValue: CInt
    |                `- note: cannot automatically synthesize 'Decodable' because 'CInt' does not conform to 'Decodable'
334 |
335 |     /// Create a strongly-typed seek origin from a raw C value.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:50:27: error: cannot find type 'mode_t' in scope
48 |   public typealias Mode = CInt
49 | #else
50 |   public typealias Mode = mode_t
   |                           `- error: cannot find type 'mode_t' in scope
51 | #endif
52 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:41:27: error: cannot find type 'mode_t' in scope
39 | /// The C `mode_t` type.
40 | @available(System 0.0.1, *)
41 | public typealias CModeT = mode_t
   |                           `- error: cannot find type 'mode_t' in scope
42 | #endif
43 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FileOperations.swift:89:53: error: extra argument in call
 87 |     let descOrError: Result<CInt, Errno> = valueOrErrno(retryOnInterrupt: retryOnInterrupt) {
 88 |       if let permissions = permissions {
 89 |         return system_open(path, oFlag, permissions.rawValue)
    |                                                     `- error: extra argument in call
 90 |       }
 91 |       precondition(!options.contains(.create),
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:93:6: error: cannot find type 'off_t' in scope
 91 | internal func system_lseek(
 92 |   _ fd: Int32, _ off: off_t, _ whence: Int32
 93 | ) -> off_t {
    |      `- error: cannot find type 'off_t' in scope
 94 | #if ENABLE_MOCKING
 95 |   if mockingEnabled { return _mockOffT(fd, off, whence) }
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:92:23: error: cannot find type 'off_t' in scope
 90 | // lseek
 91 | internal func system_lseek(
 92 |   _ fd: Int32, _ off: off_t, _ whence: Int32
    |                       `- error: cannot find type 'off_t' in scope
 93 | ) -> off_t {
 94 | #if ENABLE_MOCKING
[167/443] Compiling c-atomics.c
BUILD FAILURE 6.2 wasm