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 SwiftCOSE, reference 0.1.15 (c5fc78), with Swift 6.1 for Wasm on 30 Nov 2025 03:23:34 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kingpin-Apps/swift-cose.git
Reference: 0.1.15
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/Kingpin-Apps/swift-cose
 * tag               0.1.15     -> FETCH_HEAD
HEAD is now at c5fc787 bump: version 0.1.14 → 0.1.15
Cloned https://github.com/Kingpin-Apps/swift-cose.git
Revision (git rev-parse @):
c5fc787fddb8cffdcc37bf60c39a05676a990628
SUCCESS checkout https://github.com/Kingpin-Apps/swift-cose.git at 0.1.15
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Kingpin-Apps/swift-cose.git
https://github.com/Kingpin-Apps/swift-cose.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "potentcodables",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.6.0",
            "upper_bound" : "3.7.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/KINGH242/PotentCodables.git"
    },
    {
      "identity" : "digest",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.11.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/leif-ibsen/Digest.git"
    },
    {
      "identity" : "uncommoncrypto.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.1",
            "upper_bound" : "0.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tesseract-one/UncommonCrypto.swift.git"
    },
    {
      "identity" : "swift-certificates",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-certificates.git"
    },
    {
      "identity" : "openssl-package",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.3.2000",
            "upper_bound" : "3.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/OpenSSL-Package.git"
    },
    {
      "identity" : "k1",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.9",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Sajjon/K1.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-curve448",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kingpin-Apps/swift-curve448.git"
    }
  ],
  "manifest_display_name" : "SwiftCOSE",
  "name" : "SwiftCOSE",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftCOSE",
      "targets" : [
        "SwiftCOSE"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftCOSETests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCOSETests",
      "path" : "Tests/SwiftCOSETests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/SwiftCOSETests/data",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AlgorithmsTests/AesCcmTests.swift",
        "AlgorithmsTests/AesGcmTests.swift",
        "AlgorithmsTests/AesKwTests.swift",
        "AlgorithmsTests/AesMacTests.swift",
        "AlgorithmsTests/AlgorithmTests.swift",
        "AlgorithmsTests/EcdhHkdfTests.swift",
        "AlgorithmsTests/EcdsaTests.swift",
        "AlgorithmsTests/EddsaTests.swift",
        "AlgorithmsTests/HashTests.swift",
        "AlgorithmsTests/HmacTests.swift",
        "AlgorithmsTests/RsaTests.swift",
        "ErrorsTests.swift",
        "ExtensionsTests/x509Tests.swift",
        "HeadersTests.swift",
        "KeysTests/CoseKeyTests.swift",
        "KeysTests/CurvesTests.swift",
        "KeysTests/EC2KeyTests.swift",
        "KeysTests/KeyOpsTests.swift",
        "KeysTests/KeyParamTests.swift",
        "KeysTests/KeyTypeTests.swift",
        "KeysTests/OKPKeyTests.swift",
        "KeysTests/RSAKeyTests.swift",
        "KeysTests/SymmetricKeyTests.swift",
        "MessagesTests/ContextTests.swift",
        "MessagesTests/CoseBaseTests.swift",
        "MessagesTests/CoseMessageTests.swift",
        "MessagesTests/Enc0MessageTests.swift",
        "MessagesTests/EncCommonTests.swift",
        "MessagesTests/EncMessageTests.swift",
        "MessagesTests/Mac0MessageTests.swift",
        "MessagesTests/MacCommonTests.swift",
        "MessagesTests/MacMessageTests.swift",
        "MessagesTests/RecipientTests/CoseRecipientTests.swift",
        "MessagesTests/RecipientTests/DirectEncryptionTests.swift",
        "MessagesTests/RecipientTests/DirectKeyAgreementTests.swift",
        "MessagesTests/RecipientTests/KeyAgreementWithKeyWrapTests.swift",
        "MessagesTests/RecipientTests/KeyWrapTests.swift",
        "MessagesTests/Sign1MessageTests.swift",
        "MessagesTests/SignCommonTests.swift",
        "MessagesTests/SignMessageTests.swift",
        "MessagesTests/SignerTests.swift",
        "UtilsTests/CryptoTests.swift",
        "UtilsTests/ExtensionsTests.swift",
        "UtilsTests/UtilsTests.swift"
      ],
      "target_dependencies" : [
        "SwiftCOSE"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftCOSE",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCOSE",
      "path" : "Sources/SwiftCOSE",
      "product_dependencies" : [
        "PotentCodables",
        "Digest",
        "UncommonCrypto",
        "X509",
        "OpenSSL",
        "K1",
        "SwiftCurve448",
        "CryptoSwift"
      ],
      "product_memberships" : [
        "SwiftCOSE"
      ],
      "sources" : [
        "Algorithms/AesCcmAlgorithm.swift",
        "Algorithms/AesGcmAlgorithm.swift",
        "Algorithms/AesKwAlgorithm.swift",
        "Algorithms/AesMacAlgorithm.swift",
        "Algorithms/Algorithms.swift",
        "Algorithms/EcdhHkdfAlgorithm.swift",
        "Algorithms/EcdsaAlgorithm.swift",
        "Algorithms/EddsaAlgorithm.swift",
        "Algorithms/HashAlgorithm.swift",
        "Algorithms/HmacAlgorithm.swift",
        "Algorithms/RsaAlgorithm.swift",
        "Errors.swift",
        "Extensions/x509.swift",
        "Headers.swift",
        "Keys/CoseKey.swift",
        "Keys/Curves.swift",
        "Keys/EC2Key.swift",
        "Keys/KeyOps.swift",
        "Keys/KeyParam.swift",
        "Keys/KeyType.swift",
        "Keys/OKPKey.swift",
        "Keys/RSAKey.swift",
        "Keys/SymmetricKey.swift",
        "Messages/Context.swift",
        "Messages/CoseBase.swift",
        "Messages/CoseMessage.swift",
        "Messages/Enc0Message.swift",
        "Messages/EncCommon.swift",
        "Messages/EncMessage.swift",
        "Messages/Mac0Message.swift",
        "Messages/MacCommon.swift",
        "Messages/MacMessage.swift",
        "Messages/Recipients/CoseRecipient.swift",
        "Messages/Recipients/DirectEncryption.swift",
        "Messages/Recipients/DirectKeyAgreement.swift",
        "Messages/Recipients/KeyAgreementWithKeyWrap.swift",
        "Messages/Recipients/KeyWrap.swift",
        "Messages/Sign1Message.swift",
        "Messages/SignCommon.swift",
        "Messages/SignMessage.swift",
        "Messages/Signer.swift",
        "Utils/Crypto.swift",
        "Utils/Extensions.swift",
        "Utils/Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Sajjon/K1.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/Kingpin-Apps/swift-curve448.git
Fetching https://github.com/krzyzanowskim/OpenSSL-Package.git
Fetching https://github.com/tesseract-one/UncommonCrypto.swift.git
[1/90] Fetching openssl-package
[91/233] Fetching openssl-package, swift-curve448
[234/376] Fetching openssl-package, swift-curve448, uncommoncrypto.swift
[377/4079] Fetching openssl-package, swift-curve448, uncommoncrypto.swift, k1
[2118/11104] Fetching openssl-package, swift-curve448, uncommoncrypto.swift, k1, swift-certificates
[2470/24209] Fetching openssl-package, swift-curve448, uncommoncrypto.swift, k1, swift-certificates, cryptoswift
Fetched https://github.com/tesseract-one/UncommonCrypto.swift.git from cache (0.27s)
[7330/24066] Fetching openssl-package, swift-curve448, k1, swift-certificates, cryptoswift
Fetched https://github.com/krzyzanowskim/OpenSSL-Package.git from cache (0.27s)
[7310/23976] Fetching swift-curve448, k1, swift-certificates, cryptoswift
Fetching https://github.com/leif-ibsen/Digest.git
Fetching https://github.com/KINGH242/PotentCodables.git
[12707/26322] Fetching swift-curve448, k1, swift-certificates, cryptoswift, potentcodables
[13968/28915] Fetching swift-curve448, k1, swift-certificates, cryptoswift, potentcodables, digest
Fetched https://github.com/apple/swift-certificates.git from cache (0.56s)
[7226/21890] Fetching swift-curve448, k1, cryptoswift, potentcodables, digest
Fetched https://github.com/KINGH242/PotentCodables.git from cache (0.50s)
Fetched https://github.com/leif-ibsen/Digest.git from cache (0.52s)
[7516/16951] Fetching swift-curve448, k1, cryptoswift
Fetched https://github.com/Kingpin-Apps/swift-curve448.git from cache (1.53s)
Fetched https://github.com/Sajjon/K1.git from cache (1.53s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.56s)
Computing version for https://github.com/Kingpin-Apps/swift-curve448.git
Computed https://github.com/Kingpin-Apps/swift-curve448.git at 0.1.3 (2.23s)
Fetching https://github.com/apple/swift-crypto.git
[1/17463] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.83s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (4.27s)
Computing version for https://github.com/tesseract-one/UncommonCrypto.swift.git
Computed https://github.com/tesseract-one/UncommonCrypto.swift.git at 0.2.1 (0.58s)
Computing version for https://github.com/KINGH242/PotentCodables.git
Computed https://github.com/KINGH242/PotentCodables.git at 3.6.0 (0.61s)
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/attaswift/BigInt.git
[1/1254] Fetching regex
[27/1564] Fetching regex, float16
[612/6390] Fetching regex, float16, bigint
[5990/24704] Fetching regex, float16, bigint, swift-collections
Fetched https://github.com/attaswift/BigInt.git from cache (0.47s)
[5414/19878] Fetching regex, float16, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (1.28s)
Fetched https://github.com/sharplet/Regex.git from cache (1.30s)
Fetched https://github.com/apple/swift-collections.git from cache (1.31s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (3.00s)
Fetching https://github.com/apple/swift-asn1.git
[1/1663] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.27s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (2.51s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.58s)
Fetching https://github.com/apple/swift-numerics
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.39s)
Computing version for https://github.com/Sajjon/K1.git
Computed https://github.com/Sajjon/K1.git at 0.6.0 (4.73s)
Computing version for https://github.com/krzyzanowskim/OpenSSL-Package.git
Computed https://github.com/krzyzanowskim/OpenSSL-Package.git at 3.3.3001 (0.60s)
Computing version for https://github.com/leif-ibsen/Digest.git
Computed https://github.com/leif-ibsen/Digest.git at 1.13.0 (1.33s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (2.55s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (2.06s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.72s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.02s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.16.0 (0.83s)
Creating working copy for https://github.com/leif-ibsen/Digest.git
Working copy of https://github.com/leif-ibsen/Digest.git resolved at 1.13.0
Creating working copy for https://github.com/SusanDoggie/Float16.git
Working copy of https://github.com/SusanDoggie/Float16.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.16.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/KINGH242/PotentCodables.git
Working copy of https://github.com/KINGH242/PotentCodables.git resolved at 3.6.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
Creating working copy for https://github.com/Kingpin-Apps/swift-curve448.git
Working copy of https://github.com/Kingpin-Apps/swift-curve448.git resolved at 0.1.3
Creating working copy for https://github.com/Sajjon/K1.git
Working copy of https://github.com/Sajjon/K1.git resolved at 0.6.0
Creating working copy for https://github.com/tesseract-one/UncommonCrypto.swift.git
Working copy of https://github.com/tesseract-one/UncommonCrypto.swift.git resolved at 0.2.1
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/krzyzanowskim/OpenSSL-Package.git
Working copy of https://github.com/krzyzanowskim/OpenSSL-Package.git resolved at 3.3.3001
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
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/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.7.0
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Downloading binary artifact https://github.com/krzyzanowskim/OpenSSL/releases/download/3.3.3001/OpenSSL.xcframework.zip
[1369/38024420] Downloading https://github.com/krzyzanowskim/OpenSSL/releases/download/3.3.3001/OpenSSL.xcframework.zip
Downloaded https://github.com/krzyzanowskim/OpenSSL/releases/download/3.3.3001/OpenSSL.xcframework.zip (4.78s)
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-composer.c:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
   19 | #include <termios.h>
      |          ^~~~~~~~~~~
1 error generated.
[0/429] Compiling fy-composer.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-doc.c:23:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
   19 | #include <termios.h>
      |          ^~~~~~~~~~~
[0/429] Compiling fy-doc.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-diag.c:25:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
   19 | #include <termios.h>
      |          ^~~~~~~~~~~
[0/429] Compiling fy-diag.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-input.c:19:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
    2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
      |  ^
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-input.c:28:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
   19 | #include <termios.h>
      |          ^~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-accel.c:17:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
   19 | #include <termios.h>
      |          ^~~~~~~~~~~
[0/429] Compiling fy-input.c
[0/429] Compiling fy-accel.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-atom.c:24:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
   19 | #include <termios.h>
      |          ^~~~~~~~~~~
[0/429] Compiling fy-atom.c
[0/429] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-docbuilder.c:22:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
   19 | #include <termios.h>
      |          ^~~~~~~~~~~
[0/429] Compiling fy-docbuilder.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/429] Write sources
[0/429] Copying PrivacyInfo.xcprivacy
[0/429] Write sources
[10/429] Compiling fiat_p256_adx_sqr.S
[11/429] Compiling fiat_p256_adx_mul.S
[12/429] Compiling md5-x86_64-linux.S
[13/429] Compiling fiat_curve25519_adx_mul.S
[13/429] Compiling fiat_curve25519_adx_square.S
[15/429] Compiling md5-x86_64-apple.S
[16/429] Compiling md5-586-linux.S
[17/429] Compiling ecdh_variants.c
[17/429] Write sources
[17/429] Copying PotentCodables.docc
[22/429] Write sources
[35/429] Compiling lax_der_parsing.c
[36/429] Compiling lax_der_privatekey_parsing.c
[37/429] Compiling precomputed_ecmult_gen.c
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.c:18:10: fatal error: 'termios.h' file not found
   18 | #include <termios.h>
      |          ^~~~~~~~~~~
1 error generated.
[38/429] Compiling fy-utils.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.c:16:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
   19 | #include <termios.h>
      |          ^~~~~~~~~~~
[38/429] Compiling fy-ctype.c
[38/429] Compiling CCryptoBoringSSLShims shims.c
[38/429] Compiling secp256k1.c
[38/429] Compiling xxhash.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.c:16:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
   19 | #include <termios.h>
      |          ^~~~~~~~~~~
[38/429] Compiling fy-utf8.c
[38/429] Compiling precomputed_ecmult.c
[38/429] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm