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 jose-swift, reference 6.0.1 (f25da1), with Swift 6.1 for Wasm on 15 Nov 2025 17:46:04 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/beatt83/jose-swift.git
Reference: 6.0.1
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/beatt83/jose-swift
 * tag               6.0.1      -> FETCH_HEAD
HEAD is now at f25da1b chore: update minimum versions
Cloned https://github.com/beatt83/jose-swift.git
Revision (git rev-parse @):
f25da1bf75b9a2b803bb7c40bdd6ace85f4df3ce
SUCCESS checkout https://github.com/beatt83/jose-swift.git at 6.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/beatt83/jose-swift.git
https://github.com/beatt83/jose-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    },
    {
      "identity" : "secp256k1.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.15.0",
            "upper_bound" : "0.16.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/GigaBitcoin/secp256k1.swift.git"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.9.0",
            "upper_bound" : "1.10.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
    },
    {
      "identity" : "swift-certificates",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.7.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-certificates.git"
    },
    {
      "identity" : "zlib",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/DLTAStudio/zlib.git"
    },
    {
      "identity" : "swift-asn1",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-asn1.git"
    }
  ],
  "manifest_display_name" : "jose-swift",
  "name" : "jose-swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "jose-swift",
      "targets" : [
        "JSONWebKey",
        "JSONWebAlgorithms",
        "JSONWebEncryption",
        "JSONWebSignature",
        "JSONWebToken"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "jose-swift-docs",
      "targets" : [
        "jose-swift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "jose_swift",
      "module_type" : "SwiftTarget",
      "name" : "jose-swift",
      "path" : "Sources/jose-swift",
      "product_memberships" : [
        "jose-swift-docs"
      ],
      "sources" : [
        "JoseDocs.swift"
      ],
      "target_dependencies" : [
        "JSONWebKey",
        "JSONWebSignature",
        "JSONWebAlgorithms",
        "JSONWebEncryption",
        "JSONWebToken"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Tools",
      "module_type" : "SwiftTarget",
      "name" : "Tools",
      "path" : "Sources/Tools",
      "product_memberships" : [
        "jose-swift",
        "jose-swift-docs"
      ],
      "sources" : [
        "Base64URL.swift",
        "DataRepresentable.swift",
        "HelperExtensions.swift",
        "JSONEncoder+JoseEncoder.swift",
        "JWTCodable.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "JWTTests",
      "module_type" : "SwiftTarget",
      "name" : "JWTTests",
      "path" : "Tests/JWTTests",
      "sources" : [
        "JWTTests.swift",
        "Mock/JWK+Testing.swift",
        "Mock/MockExampleClaims.swift",
        "X5CValidatorTests.swift"
      ],
      "target_dependencies" : [
        "JSONWebToken",
        "Tools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JWSTests",
      "module_type" : "SwiftTarget",
      "name" : "JWSTests",
      "path" : "Tests/JWSTests",
      "sources" : [
        "JWSJsonTests.swift",
        "JWSTests.swift",
        "Mocks/JWK+Testing.swift",
        "RFC7515Tests.swift"
      ],
      "target_dependencies" : [
        "JSONWebSignature",
        "Tools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JWKTests",
      "module_type" : "SwiftTarget",
      "name" : "JWKTests",
      "path" : "Tests/JWKTests",
      "sources" : [
        "JWKPEMTests.swift",
        "JWKThumbprintTests.swift"
      ],
      "target_dependencies" : [
        "JSONWebKey",
        "JSONWebAlgorithms",
        "Tools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JWETests",
      "module_type" : "SwiftTarget",
      "name" : "JWETests",
      "path" : "Tests/JWETests",
      "sources" : [
        "AESTests.swift",
        "DirectTests.swift",
        "ECDH1PUTests.swift",
        "ECDHESTests.swift",
        "Mocks/JWK+Testing.swift",
        "PBES2Tests.swift",
        "RFC7516Tests.swift",
        "RFC7520Tests.swift",
        "RSATests.swift"
      ],
      "target_dependencies" : [
        "JSONWebEncryption",
        "Tools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JWATests",
      "module_type" : "SwiftTarget",
      "name" : "JWATests",
      "path" : "Tests/JWATests",
      "sources" : [
        "C20PTests.swift",
        "ES256KTests.swift",
        "EdDSATests.swift",
        "Mocks/JWK+Testing.swift",
        "XC20PTests.swift"
      ],
      "target_dependencies" : [
        "JSONWebAlgorithms",
        "Tools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSONWebToken",
      "module_type" : "SwiftTarget",
      "name" : "JSONWebToken",
      "path" : "Sources/JSONWebToken",
      "product_dependencies" : [
        "X509"
      ],
      "product_memberships" : [
        "jose-swift",
        "jose-swift-docs"
      ],
      "sources" : [
        "Claims/ArrayClaim.swift",
        "Claims/AudienceClaim.swift",
        "Claims/BoolClaim.swift",
        "Claims/Claims+Codable.swift",
        "Claims/Claims.swift",
        "Claims/DateClaim.swift",
        "Claims/ExpirationTimeClaim.swift",
        "Claims/IssuedAtClaim.swift",
        "Claims/IssuerClaim.swift",
        "Claims/JWTClaimsBuilder.swift",
        "Claims/JWTIdentifierClaim.swift",
        "Claims/NotBeforeClaim.swift",
        "Claims/NumericClaim.swift",
        "Claims/ObjectClaim.swift",
        "Claims/StringClaim.swift",
        "Claims/SubjectClaim.swift",
        "DefaultJWTClaims+Codable.swift",
        "JWT+Encryption.swift",
        "JWT+Error.swift",
        "JWT+Signing.swift",
        "JWT+Verification.swift",
        "JWT.swift",
        "JWTRegisteredFieldsClaims.swift",
        "Validators/ClaimValidator.swift",
        "Validators/ExpectedAudienceValidator.swift",
        "Validators/ExpirationTimeValidator.swift",
        "Validators/IssuedAtValidator.swift",
        "Validators/IssuerValidator.swift",
        "Validators/NotBeforeTimeValidator.swift",
        "Validators/SubjectValidator.swift",
        "Validators/X5CValidator.swift"
      ],
      "target_dependencies" : [
        "JSONWebKey",
        "JSONWebSignature",
        "JSONWebEncryption",
        "Tools"
      ],
      "type" : "library"
    },
    {
      "c99name" : "JSONWebSignature",
      "module_type" : "SwiftTarget",
      "name" : "JSONWebSignature",
      "path" : "Sources/JSONWebSignature",
      "product_memberships" : [
        "jose-swift",
        "jose-swift-docs"
      ],
      "sources" : [
        "DefaultJWSHeaderImpl+Codable.swift",
        "JWK+SigningAlgorithm.swift",
        "JWS+Error.swift",
        "JWS+Helper.swift",
        "JWS+Json.swift",
        "JWS+JsonFlattened.swift",
        "JWS+Sign.swift",
        "JWS+Verify.swift",
        "JWS.swift",
        "JWSRegisteredFieldsHeader.swift"
      ],
      "target_dependencies" : [
        "JSONWebKey",
        "JSONWebAlgorithms"
      ],
      "type" : "library"
    },
    {
      "c99name" : "JSONWebKey",
      "module_type" : "SwiftTarget",
      "name" : "JSONWebKey",
      "path" : "Sources/JSONWebKey",
      "product_dependencies" : [
        "CryptoSwift",
        "secp256k1",
        "Crypto",
        "_CryptoExtras",
        "SwiftASN1"
      ],
      "product_memberships" : [
        "jose-swift",
        "jose-swift-docs"
      ],
      "sources" : [
        "JWK+Codable.swift",
        "JWK+Error.swift",
        "JWK+PEM.swift",
        "JWK+Thumbprint.swift",
        "JWK.swift",
        "JWKSet.swift"
      ],
      "target_dependencies" : [
        "Tools"
      ],
      "type" : "library"
    },
    {
      "c99name" : "JSONWebEncryption",
      "module_type" : "SwiftTarget",
      "name" : "JSONWebEncryption",
      "path" : "Sources/JSONWebEncryption",
      "product_dependencies" : [
        "CryptoSwift"
      ],
      "product_memberships" : [
        "jose-swift",
        "jose-swift-docs"
      ],
      "sources" : [
        "DefaultJWEHeaderImpl+Codable.swift",
        "EncryptionModule/Decryptors/AESDecryptor.swift",
        "EncryptionModule/Decryptors/DirectDecryptor.swift",
        "EncryptionModule/Decryptors/ECDH1PUDecryptor.swift",
        "EncryptionModule/Decryptors/ECDHDecryptor.swift",
        "EncryptionModule/Decryptors/JWEDecryptor.swift",
        "EncryptionModule/Decryptors/MultiDecryptor.swift",
        "EncryptionModule/Decryptors/PasswordBasedDecryptor.swift",
        "EncryptionModule/Decryptors/RSADecryptor.swift",
        "EncryptionModule/Encryptors/AESEncryptor.swift",
        "EncryptionModule/Encryptors/DirectEncrypter.swift",
        "EncryptionModule/Encryptors/ECDH1PUEncrypter.swift",
        "EncryptionModule/Encryptors/ECDHEncrypter.swift",
        "EncryptionModule/Encryptors/JWEEncrypter.swift",
        "EncryptionModule/Encryptors/MultiEncryptor.swift",
        "EncryptionModule/Encryptors/PasswordBasedEncrypter.swift",
        "EncryptionModule/Encryptors/RSAEncrypter.swift",
        "EncryptionModule/JWE+EncryptionModule.swift",
        "EncryptionModule/JWEEncryptionModule.swift",
        "Helpers/AAD.swift",
        "Helpers/JWEHelpers.swift",
        "Helpers/JWERegisteredFieldsHeader+Helpers.swift",
        "JWE+Decrypt.swift",
        "JWE+Encrypt.swift",
        "JWE+Error.swift",
        "JWE+Json.swift",
        "JWE.swift",
        "JWEParts.swift",
        "JWERegisteredFieldsHeader.swift",
        "KeyManagementAlgorithm+Family.swift"
      ],
      "target_dependencies" : [
        "JSONWebAlgorithms",
        "JSONWebKey"
      ],
      "type" : "library"
    },
    {
      "c99name" : "JSONWebAlgorithms",
      "module_type" : "SwiftTarget",
      "name" : "JSONWebAlgorithms",
      "path" : "Sources/JSONWebAlgorithms",
      "product_dependencies" : [
        "secp256k1",
        "CryptoSwift",
        "Crypto",
        "_CryptoExtras",
        "Zlib"
      ],
      "product_memberships" : [
        "jose-swift",
        "jose-swift-docs"
      ],
      "sources" : [
        "Compression/ContentCompressionAlgorithm.swift",
        "Compression/ContentCompressor.swift",
        "Compression/ZIP/Zip+ContentCompressor.swift",
        "ContentEncryption/AES/AES128GCM+ContentEncryptor.swift",
        "ContentEncryption/AES/AES192GCM+ContentEncryptor.swift",
        "ContentEncryption/AES/AES256GCM+ContentEncryptor.swift",
        "ContentEncryption/AES/AESCBC_SHA256+ContentEncryptor.swift",
        "ContentEncryption/AES/AESCBC_SHA384+ContentEncryptor.swift",
        "ContentEncryption/AES/AESCBC_SHA512+ContentEncryptor.swift",
        "ContentEncryption/ChaChaPoly/C20P+ContentEncryption.swift",
        "ContentEncryption/ChaChaPoly/XC20P+ContentEncryption.swift",
        "ContentEncryption/ContentDecryptor.swift",
        "ContentEncryption/ContentEncryptionAlgorithm.swift",
        "ContentEncryption/ContentEncryptor.swift",
        "ContentEncryption/MockContentEncryptor.swift",
        "CryptoError.swift",
        "CryptoImplementation/AES/AESCBC_SHA.swift",
        "CryptoImplementation/AES/AESGCM.swift",
        "CryptoImplementation/ConcatKDF/ConcatKDF.swift",
        "CryptoImplementation/ECDH/ECDH1PU.swift",
        "CryptoImplementation/ECDH/ECDHES.swift",
        "CryptoImplementation/JWKCryptoPresentation.swift",
        "CryptoImplementation/KeyAgreement/Curve25519/Curve25519+KeyAgreement.swift",
        "CryptoImplementation/KeyAgreement/EC/P256+KeyAgreement.swift",
        "CryptoImplementation/KeyAgreement/EC/P384+KeyAgreement.swift",
        "CryptoImplementation/KeyAgreement/EC/P521+KeyAgreement.swift",
        "CryptoImplementation/KeyAgreement/EC/secp256k1+KeyAgreement.swift",
        "CryptoImplementation/KeyAgreement/JWK+KeyAgreement.swift",
        "CryptoImplementation/KeyAgreement/SharedKeyAgreement.swift",
        "CryptoImplementation/KeyGeneration/Curve25519/Curve25519+KeyGeneration.swift",
        "CryptoImplementation/KeyGeneration/EC/P256+KeyGeneration.swift",
        "CryptoImplementation/KeyGeneration/EC/P384+KeyGeneration.swift",
        "CryptoImplementation/KeyGeneration/EC/P521+KeyGeneration.swift",
        "CryptoImplementation/KeyGeneration/EC/secp256k1+KeyGeneration.swift",
        "CryptoImplementation/KeyGeneration/JWK+KeyGeneration.swift",
        "CryptoImplementation/KeyGeneration/KeyGeneration.swift",
        "CryptoImplementation/SecureRandom/SecureRandom.swift",
        "JWARegisteredFieldsHeader.swift",
        "KeyManagement/JWKRepresentable.swift",
        "KeyManagement/KeyAgreement/ECDH/ECDH1PU+KeyAgreementZ.swift",
        "KeyManagement/KeyAgreement/ECDH/ECDHES+KeyAgreementZ.swift",
        "KeyManagement/KeyAgreement/KeyAgreementZ.swift",
        "KeyManagement/KeyAgreement/MockKeyAgreementZ.swift",
        "KeyManagement/KeyDerivation/ECDH/ECDH1PU+KeyDerivation.swift",
        "KeyManagement/KeyDerivation/ECDH/ECDHES+KeyDerivation.swift",
        "KeyManagement/KeyDerivation/KeyDerivation.swift",
        "KeyManagement/KeyDerivation/MockKeyDerivation.swift",
        "KeyManagement/KeyDerivation/PBES2/PBE2_SHA256_A128KW+KeyEncryption.swift",
        "KeyManagement/KeyDerivation/PBES2/PBE2_SHA384_A192KW+KeyEncryption.swift",
        "KeyManagement/KeyDerivation/PBES2/PBE2_SHA512_A256KW+KeyEncryption.swift",
        "KeyManagement/KeyDerivation/PBES2/PBES2SHA.swift",
        "KeyManagement/KeyEncryption/AES/AES128GCM+KeyEncryption.swift",
        "KeyManagement/KeyEncryption/AES/AES192GCM+KeyEncryption.swift",
        "KeyManagement/KeyEncryption/AES/AES256GCM+KeyEncryption.swift",
        "KeyManagement/KeyEncryption/AES/AESGCM+KeyUnwrap.swift",
        "KeyManagement/KeyEncryption/AES/AESKeyUnwrap+KeyUnwrap.swift",
        "KeyManagement/KeyEncryption/AES/AESKeyWrap+KeyEncryption.swift",
        "KeyManagement/KeyEncryption/KeyUnwrap.swift",
        "KeyManagement/KeyEncryption/KeyWrapping.swift",
        "KeyManagement/KeyEncryption/MockKeyEncryption.swift",
        "KeyManagement/KeyEncryption/RSA/RSA15KeyUnwrap+KeyUnwrapping.swift",
        "KeyManagement/KeyEncryption/RSA/RSA15KeyWrapper+KeyEncryption.swift",
        "KeyManagement/KeyEncryption/RSA/RSAOAEP256KeyUnwrap+KeyUnwrapping.swift",
        "KeyManagement/KeyEncryption/RSA/RSAOAEP256KeyWrap+KeyEncryption.swift",
        "KeyManagement/KeyEncryption/RSA/RSAOAEPKeyUnwrap+KeyUnwrapping.swift",
        "KeyManagement/KeyEncryption/RSA/RSAOAEPKeyWrap+KeyEncryption.swift",
        "KeyManagement/KeyEncryptionAlgorithm.swift",
        "KeyManagement/KeyRepresentable/DataKey.swift",
        "KeyManagement/KeyRepresentable/KeyRepresentable.swift",
        "KeyManagement/KeyRepresentable/SecKeyExtended.swift",
        "Signatures/Curve25519/EdDSASigner.swift",
        "Signatures/Curve25519/EdDSAVerifier.swift",
        "Signatures/EC/Signers/ES256KSigner.swift",
        "Signatures/EC/Signers/ES256Signer.swift",
        "Signatures/EC/Signers/ES384Signer.swift",
        "Signatures/EC/Signers/ES521Signer.swift",
        "Signatures/EC/Verifiers/ES256KVerifier.swift",
        "Signatures/EC/Verifiers/ES256Verifier.swift",
        "Signatures/EC/Verifiers/ES384Verifier.swift",
        "Signatures/EC/Verifiers/ES521Verifier.swift",
        "Signatures/HMAC/Signers/HS256Signer.swift",
        "Signatures/HMAC/Signers/HS384Signer.swift",
        "Signatures/HMAC/Signers/HS512Signer.swift",
        "Signatures/HMAC/Verifiers/HS256Verifier.swift",
        "Signatures/HMAC/Verifiers/HS384Verifier.swift",
        "Signatures/HMAC/Verifiers/HS512Verifier.swift",
        "Signatures/MockedSigner.swift",
        "Signatures/MockedVerifier.swift",
        "Signatures/RSA/Helpers/RSA+Security.swift",
        "Signatures/RSA/Signers/PS256Signer.swift",
        "Signatures/RSA/Signers/PS384Signer.swift",
        "Signatures/RSA/Signers/PS512Signer.swift",
        "Signatures/RSA/Signers/RS256Signer.swift",
        "Signatures/RSA/Signers/RS384Signer.swift",
        "Signatures/RSA/Signers/RS512Signer.swift",
        "Signatures/RSA/Verifiers/PS256Verifier.swift",
        "Signatures/RSA/Verifiers/PS384Verifier.swift",
        "Signatures/RSA/Verifiers/PS512Verifier.swift",
        "Signatures/RSA/Verifiers/RS256Verifier.swift",
        "Signatures/RSA/Verifiers/RS384Verifier.swift",
        "Signatures/RSA/Verifiers/RS512Verifier.swift",
        "Signatures/Signer.swift",
        "Signatures/SigningAlgorithm.swift",
        "Signatures/Verifier.swift"
      ],
      "target_dependencies" : [
        "JSONWebKey"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ExampleTests",
      "module_type" : "SwiftTarget",
      "name" : "ExampleTests",
      "path" : "Tests/ExampleTests",
      "sources" : [
        "ExampleTests.swift"
      ],
      "target_dependencies" : [
        "JSONWebToken",
        "JSONWebKey",
        "JSONWebEncryption",
        "JSONWebSignature",
        "Tools"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/DLTAStudio/zlib.git
Fetching https://github.com/GigaBitcoin/secp256k1.swift.git
Fetching https://github.com/apple/swift-certificates.git
[1/56] Fetching zlib
[57/1709] Fetching zlib, swift-asn1
[851/7211] Fetching zlib, swift-asn1, secp256k1.swift
[2074/20316] Fetching zlib, swift-asn1, secp256k1.swift, cryptoswift
[5277/27250] Fetching zlib, swift-asn1, secp256k1.swift, cryptoswift, swift-certificates
Fetched https://github.com/GigaBitcoin/secp256k1.swift.git from cache (0.55s)
Fetched https://github.com/DLTAStudio/zlib.git from cache (0.55s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.55s)
[3750/14758] Fetching swift-asn1, cryptoswift
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/apple/swift-asn1.git from cache (1.70s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.73s)
[1/17442] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.24s)
Computing version for https://github.com/DLTAStudio/zlib.git
Computed https://github.com/DLTAStudio/zlib.git at 1.0.1 (6.53s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (0.53s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift.git
Computed https://github.com/GigaBitcoin/secp256k1.swift.git at 0.15.0 (0.52s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (2.33s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.15.1 (0.68s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (3.58s)
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.15.1
Creating working copy for https://github.com/GigaBitcoin/secp256k1.swift.git
Working copy of https://github.com/GigaBitcoin/secp256k1.swift.git resolved at 0.15.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/DLTAStudio/zlib.git
Working copy of https://github.com/DLTAStudio/zlib.git resolved at 1.0.1
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
Building for debugging...
[0/390] Write sources
[14/390] Compiling Utility.c
[15/390] Write sources
[16/390] Write swift-version-24593BA9C3E375BF.txt
[16/390] Copying PrivacyInfo.xcprivacy
[16/390] Write sources
/host/spi-builder-workspace/.build/checkouts/zlib/Sources/ZlibShims/ZlibShim.c:12:10: fatal error: 'zlib.h' file not found
   12 | #include <zlib.h>
      |          ^~~~~~~~
1 error generated.
[19/390] Compiling ZlibShims ZlibShim.c
[19/390] Compiling x_all.cc
[19/390] Compiling x_attrib.cc
[19/390] Compiling precomputed_ecmult.c
[19/390] Compiling secp256k1.c
[19/390] Compiling x_crl.cc
[19/390] Compiling CCryptoBoringSSLShims shims.c
[19/390] Compiling precomputed_ecmult_gen.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
/host/spi-builder-workspace/.build/checkouts/zlib/Sources/ZlibShims/ZlibShim.c:12:10: fatal error: 'zlib.h' file not found
   12 | #include <zlib.h>
      |          ^~~~~~~~
1 error generated.
[0/372] Compiling ZlibShims ZlibShim.c
[0/372] Compiling md5-x86_64-apple.S
[0/372] Compiling md5-x86_64-linux.S
[0/372] Compiling fiat_curve25519_adx_square.S
[0/372] Compiling fiat_p256_adx_sqr.S
[0/372] Compiling fiat_p256_adx_mul.S
[0/372] Compiling CCryptoBoringSSLShims shims.c
[0/372] Compiling fiat_curve25519_adx_mul.S
BUILD FAILURE 6.1 wasm