Build Information
Failed to build Paseto with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aidantwoods/swift-paseto.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/aidantwoods/swift-paseto
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 811e258 Merge pull request #18 from frederikbosch/patch-2
Cloned https://github.com/aidantwoods/swift-paseto.git
Revision (git rev-parse @):
811e2589a7eb65c16a39e64841034e11daa803a2
SUCCESS checkout https://github.com/aidantwoods/swift-paseto.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/aidantwoods/swift-paseto.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/aidantwoods/swift-sodium.git
[1/3508] Fetching swift-sodium
Fetched https://github.com/aidantwoods/swift-sodium.git from cache (3.36s)
Fetching https://github.com/aidantwoods/TypedJSON.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/84] Fetching typedjson
[76/12640] Fetching typedjson, cryptoswift
Fetched https://github.com/aidantwoods/TypedJSON.git from cache (1.26s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.29s)
Computing version for https://github.com/aidantwoods/TypedJSON.git
Computed https://github.com/aidantwoods/TypedJSON.git at 0.1.2 (0.44s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.1 (0.49s)
Creating working copy for https://github.com/aidantwoods/TypedJSON.git
Working copy of https://github.com/aidantwoods/TypedJSON.git resolved at 0.1.2
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.1
Creating working copy for https://github.com/aidantwoods/swift-sodium.git
Working copy of https://github.com/aidantwoods/swift-sodium.git resolved at full-clibsodium-build (eeb18f6)
warning: you may be able to install libsodium using your system-packager:
apt-get install libsodium-dev
Building for debugging...
[0/6] Write sources
[2/6] Copying PrivacyInfo.xcprivacy
[2/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/132] Compiling CryptoSwift CBC.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[8/132] Compiling CryptoSwift CCM.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[9/132] Compiling CryptoSwift AES.Cryptors.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[10/132] Compiling CryptoSwift AES.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[11/132] Compiling CryptoSwift ASN1.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[12/134] Compiling CryptoSwift ASN1Decoder.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[13/134] Compiling CryptoSwift ASN1Encoder.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[14/134] Compiling CryptoSwift ASN1Scanner.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[15/134] Compiling CryptoSwift XChaCha20+Foundation.swift
[16/134] Compiling CryptoSwift Generics.swift
[17/134] Compiling CryptoSwift HKDF.swift
[18/134] Compiling CryptoSwift HMAC.swift
[19/134] Compiling CryptoSwift ISO10126Padding.swift
[20/134] Compiling CryptoSwift ISO78164Padding.swift
[21/134] Compiling CryptoSwift Int+Extension.swift
[22/134] Compiling CryptoSwift MD5.swift
[23/134] Compiling CryptoSwift NoPadding.swift
[24/134] Compiling CryptoSwift Operators.swift
[25/134] Compiling CryptoSwift DER.swift
[26/134] Compiling CryptoSwift PBKDF1.swift
[27/134] Compiling CryptoSwift PBKDF2.swift
[28/134] Compiling CryptoSwift PKCS1v15.swift
[29/148] Compiling TypedJSON Value.swift
[30/148] Compiling TypedJSON Container.swift
[31/148] Emitting module TypedJSON
[32/148] Compiling TypedJSON JSON.swift
[33/148] Compiling CryptoSwift CompactMap.swift
[34/148] Compiling CryptoSwift Cryptor.swift
[35/148] Compiling CryptoSwift Cryptors.swift
[36/148] Compiling CryptoSwift Digest.swift
[37/148] Compiling CryptoSwift DigestType.swift
[38/148] Compiling CryptoSwift AES+Foundation.swift
[39/148] Compiling CryptoSwift Array+Foundation.swift
[40/148] Compiling CryptoSwift Blowfish+Foundation.swift
[41/148] Compiling CryptoSwift ChaCha20+Foundation.swift
[42/148] Compiling CryptoSwift Data+Extension.swift
[43/148] Compiling CryptoSwift HMAC+Foundation.swift
[44/148] Compiling CryptoSwift Rabbit+Foundation.swift
[45/148] Compiling CryptoSwift String+FoundationExtension.swift
[46/148] Compiling CryptoSwift Utils+Foundation.swift
[48/149] Compiling Sodium Utils.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[49/149] Compiling Sodium Version.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[50/149] Compiling CryptoSwift CMAC.swift
[51/149] Compiling CryptoSwift Addition.swift
[52/149] Compiling CryptoSwift BigInt.swift
[53/149] Compiling CryptoSwift BigUInt.swift
[54/149] Compiling CryptoSwift Bitwise Ops.swift
[55/149] Compiling CryptoSwift CS.swift
[56/149] Compiling CryptoSwift Codable.swift
[57/149] Compiling CryptoSwift Comparable.swift
[58/149] Compiling CryptoSwift Data Conversion.swift
[59/149] Compiling CryptoSwift Division.swift
[60/149] Compiling CryptoSwift Exponentiation.swift
[61/149] Compiling CryptoSwift Floating Point Conversion.swift
[62/149] Compiling CryptoSwift GCD.swift
[63/149] Compiling CryptoSwift Hashable.swift
[64/149] Compiling CryptoSwift AEAD.swift
[65/149] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[66/149] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[73/149] Compiling CryptoSwift Array+Extension.swift
[74/149] Compiling CryptoSwift Authenticator.swift
[75/149] Compiling CryptoSwift BatchedCollection.swift
[76/149] Compiling CryptoSwift Bit.swift
[77/149] Compiling CryptoSwift BlockCipher.swift
[78/149] Compiling CryptoSwift BlockDecryptor.swift
[79/149] Emitting module CryptoSwift
[80/149] Compiling CryptoSwift BlockEncryptor.swift
[81/149] Compiling CryptoSwift BlockMode.swift
[82/149] Compiling CryptoSwift BlockModeOptions.swift
[87/149] Compiling CryptoSwift CipherModeWorker.swift
[88/149] Compiling CryptoSwift ECB.swift
[89/149] Compiling CryptoSwift GCM.swift
[90/149] Compiling CryptoSwift OCB.swift
[91/149] Compiling CryptoSwift OFB.swift
[92/149] Compiling CryptoSwift PCBC.swift
[93/149] Compiling CryptoSwift Blowfish.swift
[94/149] Compiling CryptoSwift CBCMAC.swift
[95/149] Compiling CryptoSwift Signature.swift
[96/149] Compiling CryptoSwift StreamDecryptor.swift
[97/149] Compiling CryptoSwift StreamEncryptor.swift
[98/149] Compiling CryptoSwift String+Extension.swift
[99/149] Compiling CryptoSwift UInt128.swift
[100/149] Compiling CryptoSwift UInt16+Extension.swift
[101/149] Compiling CryptoSwift UInt32+Extension.swift
[102/149] Compiling CryptoSwift UInt64+Extension.swift
[103/149] Compiling CryptoSwift UInt8+Extension.swift
[104/149] Compiling CryptoSwift Updatable.swift
[105/149] Compiling CryptoSwift Utils.swift
[106/149] Compiling CryptoSwift XChaCha20.swift
[107/149] Compiling CryptoSwift ZeroPadding.swift
[108/149] Compiling CryptoSwift resource_bundle_accessor.swift
[109/149] Compiling CryptoSwift Integer Conversion.swift
[110/149] Compiling CryptoSwift Multiplication.swift
[111/149] Compiling CryptoSwift Prime Test.swift
[112/149] Compiling CryptoSwift Random.swift
[113/149] Compiling CryptoSwift Shifts.swift
[114/149] Compiling CryptoSwift Square Root.swift
[115/149] Compiling CryptoSwift Strideable.swift
[116/149] Compiling CryptoSwift String Conversion.swift
[117/149] Compiling CryptoSwift Subtraction.swift
[118/149] Compiling CryptoSwift Words and Bits.swift
[119/149] Compiling CryptoSwift ChaCha20.swift
[120/149] Compiling CryptoSwift Checksum.swift
[121/149] Compiling CryptoSwift Cipher.swift
[122/149] Compiling CryptoSwift Collection+Extension.swift
[123/149] Compiling CryptoSwift PKCS5.swift
[124/149] Compiling CryptoSwift PKCS7.swift
[125/149] Compiling CryptoSwift PKCS7Padding.swift
[126/149] Compiling CryptoSwift Padding.swift
[127/149] Compiling CryptoSwift Poly1305.swift
[128/149] Compiling CryptoSwift RSA+Cipher.swift
[129/149] Compiling CryptoSwift RSA+Signature.swift
[130/149] Compiling CryptoSwift RSA.swift
[131/149] Compiling CryptoSwift Rabbit.swift
[132/149] Compiling CryptoSwift SHA1.swift
[133/149] Compiling CryptoSwift SHA2.swift
[134/149] Compiling CryptoSwift SHA3.swift
[135/149] Compiling CryptoSwift Scrypt.swift
[136/149] Compiling CryptoSwift SecureBytes.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[147/150] Emitting module Sodium
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
error: fatalError
warning: you may be able to install libsodium using your system-packager:
apt-get install libsodium-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/22] Compiling Sodium Bytes.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[3/22] Compiling Sodium ExitCode.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[4/22] Compiling Sodium KeyPairGenerator.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/24] Emitting module Sodium
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[6/24] Compiling Sodium Utils.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[7/24] Compiling Sodium Version.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[8/24] Compiling Sodium Sodium.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[9/24] Compiling Sodium Stream.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[10/24] Compiling Sodium GenericHash.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[11/24] Compiling Sodium KeyDerivation.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[12/24] Compiling Sodium KeyExchange.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[13/24] Compiling Sodium SecretStream.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[14/24] Compiling Sodium ShortHash.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[15/24] Compiling Sodium Sign.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[16/24] Compiling Sodium KeyPairProtocol.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[17/24] Compiling Sodium NonceGenerator.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[18/24] Compiling Sodium SecretKeyGenerator.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[19/24] Compiling Sodium PWHash.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[20/24] Compiling Sodium RandomBytes.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[21/24] Compiling Sodium SecretBox.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[22/24] Compiling Sodium Aead.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[23/24] Compiling Sodium Auth.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
[24/24] Compiling Sodium Box.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
#include <sodium.h>
^
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
import Clibsodium
^
error: fatalError
BUILD FAILURE 5.10 linux