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 ncryptf-swift, reference master (328d8a), with Swift 6.2 (beta) for Wasm on 17 Jun 2025 21:24:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ncryptf/ncryptf-swift.git
Reference: master
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/ncryptf/ncryptf-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 328d8ae Updating README. Fixing Linux tests
Cloned https://github.com/ncryptf/ncryptf-swift.git
Revision (git rev-parse @):
328d8aee02d466fcb67b9ca4b93fa7721cb085e5
SUCCESS checkout https://github.com/ncryptf/ncryptf-swift.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ncryptf/ncryptf-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/Bouke/HKDF
Fetching https://github.com/jedisct1/swift-sodium.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/134] Fetching hkdf
[135/13075] Fetching hkdf, cryptoswift
[394/14271] Fetching hkdf, cryptoswift, rainbow
Fetched https://github.com/Bouke/HKDF from cache (0.44s)
[1874/14137] Fetching cryptoswift, rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.52s)
[1942/12941] Fetching cryptoswift
[3496/17428] Fetching cryptoswift, swift-sodium
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.67s)
[1571/4487] Fetching swift-sodium
Fetched https://github.com/jedisct1/swift-sodium.git from cache (7.49s)
Computing version for https://github.com/Bouke/HKDF
Computed https://github.com/Bouke/HKDF at 3.1.0 (11.41s)
Fetching https://github.com/IBM-Swift/BlueCryptor.git
[1/1654] Fetching bluecryptor
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (0.52s)
Computing version for https://github.com/jedisct1/swift-sodium.git
Computed https://github.com/jedisct1/swift-sodium.git at 0.8.0 (1.28s)
Fetching https://github.com/tiwoc/Clibsodium.git
[1/8] Fetching clibsodium
Fetched https://github.com/tiwoc/Clibsodium.git from cache (0.86s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.0.0 (4.92s)
Computing version for https://github.com/tiwoc/Clibsodium.git
Computed https://github.com/tiwoc/Clibsodium.git at 1.0.0 (0.69s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.64s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.200 (0.64s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.40s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.12s)
Creating working copy for https://github.com/jedisct1/swift-sodium.git
Working copy of https://github.com/jedisct1/swift-sodium.git resolved at 0.8.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.0.0
Creating working copy for https://github.com/tiwoc/Clibsodium.git
Working copy of https://github.com/tiwoc/Clibsodium.git resolved at 1.0.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Creating working copy for https://github.com/Bouke/HKDF
Working copy of https://github.com/Bouke/HKDF resolved at 3.1.0
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/IBM-Swift/BlueCryptor.git
Working copy of https://github.com/IBM-Swift/BlueCryptor.git resolved at 1.0.200
warning: 'clibsodium': ignoring declared target(s) 'Clibsodium' in the system package
warning: you may be able to install libsodium using your system-packager:
    apt-get install libsodium-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install libsodium using your system-packager:
    apt-get install libsodium-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/104] Compiling CryptoSwift BlockModeOptions.swift
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import Clibsodium
  3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[8/104] Compiling CryptoSwift CBC.swift
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import Clibsodium
  3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[9/104] Compiling CryptoSwift CCM.swift
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import Clibsodium
  3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[10/106] Compiling CryptoSwift AEAD.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[11/106] Compiling CryptoSwift AEADChaCha20Poly1305.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[12/106] Compiling Cryptor SSLPointerTricks.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[13/107] Compiling CryptoSwift Rabbit.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[14/107] Compiling CryptoSwift RandomBytesSequence.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[15/107] Compiling CryptoSwift SHA1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[16/107] Compiling CryptoSwift SHA2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[17/107] Compiling CryptoSwift SHA3.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[18/107] Compiling CryptoSwift Scrypt.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[19/107] Compiling CryptoSwift SecureBytes.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[20/107] Compiling CryptoSwift StreamDecryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[21/107] Compiling CryptoSwift StreamEncryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[22/107] Compiling CryptoSwift BlockEncryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[23/107] Compiling CryptoSwift BlockMode.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[27/107] Compiling CryptoSwift CFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[28/107] Compiling CryptoSwift CTR.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[29/107] Compiling CryptoSwift CipherModeWorker.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[30/107] Compiling CryptoSwift ECB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[31/107] Compiling Sodium Stream.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[32/107] Compiling Sodium Utils.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[33/107] Compiling CryptoSwift Cryptors.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[34/107] Compiling CryptoSwift Digest.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[35/107] Compiling CryptoSwift DigestType.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[36/107] Compiling CryptoSwift AES+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[37/107] Compiling CryptoSwift Array+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[38/107] Compiling CryptoSwift Blowfish+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[39/107] Compiling CryptoSwift ChaCha20+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[40/107] Compiling CryptoSwift Data+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[43/116] Compiling CryptoSwift AES.Cryptors.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[44/116] Compiling CryptoSwift AES.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[45/116] Compiling CryptoSwift Array+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[46/116] Compiling CryptoSwift Authenticator.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[47/116] Compiling CryptoSwift BatchedCollection.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[48/116] Compiling CryptoSwift Bit.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/116] Emitting module Cryptor
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[50/116] Compiling CryptoSwift BlockCipher.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[51/116] Compiling CryptoSwift BlockDecryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[52/116] Emitting module CryptoSwift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import Clibsodium
  3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import Clibsodium
  3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import Clibsodium
  3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import Clibsodium
  3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import Clibsodium
  3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import Clibsodium
  3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import Clibsodium
  3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import Clibsodium
  3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import Clibsodium
  3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import Clibsodium
  3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import Clibsodium
  3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[64/116] Compiling Cryptor Status.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[65/116] Compiling Cryptor StreamCryptor.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[66/116] Compiling Cryptor Updatable.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[71/116] Compiling CryptoSwift HMAC+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[72/116] Compiling CryptoSwift Rabbit+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[73/116] Compiling CryptoSwift String+FoundationExtension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[74/116] Compiling CryptoSwift Utils+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[75/116] Compiling CryptoSwift Generics.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[76/116] Compiling CryptoSwift HKDF.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[77/116] Compiling CryptoSwift HMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[78/116] Compiling CryptoSwift Int+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[79/116] Compiling CryptoSwift MD5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[80/116] Compiling CryptoSwift OFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[81/116] Compiling CryptoSwift PCBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[82/116] Compiling CryptoSwift Blowfish.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[83/116] Compiling CryptoSwift CBCMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[84/116] Compiling CryptoSwift CMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[85/116] Compiling CryptoSwift ChaCha20.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[86/116] Compiling CryptoSwift Checksum.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[87/116] Compiling CryptoSwift Cipher.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[88/116] Compiling CryptoSwift Collection+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[89/116] Compiling CryptoSwift CompactMap.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[90/116] Compiling CryptoSwift NoPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[91/116] Compiling CryptoSwift Operators.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[92/116] Compiling CryptoSwift PBKDF1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[93/116] Compiling CryptoSwift PBKDF2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[94/116] Compiling CryptoSwift PKCS5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[95/116] Compiling CryptoSwift PKCS7.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[96/116] Compiling CryptoSwift PKCS7Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[97/116] Compiling CryptoSwift Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[98/116] Compiling CryptoSwift Poly1305.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import Clibsodium
  3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import Clibsodium
  3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[101/116] Compiling CryptoSwift String+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[102/116] Compiling CryptoSwift UInt128.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[103/116] Compiling CryptoSwift UInt16+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[104/116] Compiling CryptoSwift UInt32+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[105/116] Compiling CryptoSwift UInt64+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[106/116] Compiling CryptoSwift UInt8+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[107/116] Compiling CryptoSwift Updatable.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[108/116] Compiling CryptoSwift Utils.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[109/116] Compiling CryptoSwift ZeroPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[110/116] Compiling Cryptor Utilities.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
error: emit-module command failed with exit code 1 (use -v to see invocation)
[111/116] Emitting module Sodium
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import Clibsodium
  3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
BUILD FAILURE 6.2 wasm