The Swift Package Index logo.Swift Package Index

Build Information

Failed to build IcpKit, reference main (b09420), with Swift 6.1 for Wasm on 1 Oct 2025 12:35:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.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/kosta-bity/IcpKit.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/kosta-bity/IcpKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b094206 fix tests
Cloned https://github.com/kosta-bity/IcpKit.git
Revision (git rev-parse @):
b094206f574da79b6373e20004df2ae74b63f9c3
SUCCESS checkout https://github.com/kosta-bity/IcpKit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kosta-bity/IcpKit.git
https://github.com/kosta-bity/IcpKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "bigint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.7.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/attaswift/BigInt.git"
    },
    {
      "identity" : "potentcodables",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.2.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/outfoxx/PotentCodables.git"
    },
    {
      "identity" : "swift-bases",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-libp2p/swift-bases.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "secp256k1.swift",
      "requirement" : {
        "exact" : [
          "0.10.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/GigaBitcoin/secp256k1.swift.git"
    }
  ],
  "manifest_display_name" : "IcpKit",
  "name" : "IcpKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "IcpKit",
      "targets" : [
        "IcpKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Candid",
      "targets" : [
        "Candid"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DAB",
      "targets" : [
        "DAB"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CodeGenerator",
      "targets" : [
        "CodeGenerator"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "IcpKitTests",
      "module_type" : "SwiftTarget",
      "name" : "IcpKitTests",
      "path" : "Tests/IcpKitTests",
      "sources" : [
        "ICPCertificateTests.swift",
        "ICPCryptographyTests.swift",
        "ICPFunctionTests.swift",
        "ICPHttpRequestTests.swift",
        "ICPIntegrationTests.swift",
        "ICPTransactionHashTests.swift"
      ],
      "target_dependencies" : [
        "IcpKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IcpKit",
      "module_type" : "SwiftTarget",
      "name" : "IcpKit",
      "path" : "Sources/IcpKit",
      "product_dependencies" : [
        "BigInt",
        "secp256k1"
      ],
      "product_memberships" : [
        "IcpKit",
        "DAB"
      ],
      "sources" : [
        "Canisters/ICPLedgerCanister.swift",
        "Canisters/LedgerCanister.swift",
        "Cryptography/ASN1DerSerialiser.swift",
        "Cryptography/EllipticSign.swift",
        "Cryptography/ICPBlock.Transaction+Hash.swift",
        "Cryptography/ICPCBORSerialisation.swift",
        "Cryptography/ICPCryptography+Account.swift",
        "Cryptography/ICPCryptography+Principal.swift",
        "Cryptography/ICPCryptography.swift",
        "Cryptography/ICPDomainSeparator.swift",
        "Cryptography/ICPSignature.swift",
        "Cryptography/SecureRandom.swift",
        "Cryptography/Sha224.swift",
        "Cryptography/Sha256.swift",
        "ICPRequest/ICPFunction.swift",
        "ICPRequest/ICPRequest.swift",
        "ICPRequest/ICPRequestBuilder.swift",
        "ICPRequest/ICPRequestClient.swift",
        "ICPRequest/ICPRequestContent.swift",
        "ICPRequest/ICPRequestEnvelope.swift",
        "ICPRequest/ICPService.swift",
        "ICPRequest/ICPStateCertificate+CBOR.swift",
        "ICPRequest/ICPStateCertificate+Signature.swift",
        "Models/CandidCodingKey.swift",
        "Models/CandidTuple.swift",
        "Models/ICPAccount.swift",
        "Models/ICPBlock.swift",
        "Models/ICPFunctionArgs.swift",
        "Models/ICPFunctionArgsCoder.swift",
        "Models/ICPPrincipal.swift",
        "Models/ICPSigningPrincipal.swift",
        "Models/ICPStateCertificate.swift",
        "Models/ICPStateTreePath.swift",
        "Models/ICPSystemCanisters.swift",
        "Models/ICPTransaction.swift",
        "Utils/Date+NanoSeconds.swift",
        "Utils/HttpClient.swift",
        "Utils/StaticBool.swift",
        "Utils/URL+ExpressibleByStringLiteral.swift",
        "Utils/UrlSessionHttpClient.swift"
      ],
      "target_dependencies" : [
        "Candid"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DABTests",
      "module_type" : "SwiftTarget",
      "name" : "DABTests",
      "path" : "Tests/DABTests",
      "sources" : [
        "DABTests.swift",
        "PublicKeys.swift",
        "SimplePrincipal.swift"
      ],
      "target_dependencies" : [
        "Candid",
        "IcpKit",
        "DAB"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DAB",
      "module_type" : "SwiftTarget",
      "name" : "DAB",
      "path" : "Sources/DAB",
      "product_memberships" : [
        "DAB"
      ],
      "sources" : [
        "DABNftService.swift",
        "DABService.swift",
        "DABTokenService.swift",
        "Nft/Actors/EXTNftActor.swift",
        "Nft/Actors/ICRC7NftActor.swift",
        "Nft/Actors/OrigynNftActor.swift",
        "Nft/Generated/DABNft.did.swift",
        "Nft/Generated/DIP721.did.swift",
        "Nft/Generated/EXT.did.swift",
        "Nft/Generated/ICRC7.did.swift",
        "Nft/Generated/OrigynNFT.did.swift",
        "Nft/ICPNftActor.swift",
        "Nft/ICPNftActorFactory.swift",
        "Nft/ICPNftCollection.swift",
        "Nft/ICPNftDetails.swift",
        "Nft/ICPNftMetadata.swift",
        "Nft/ICPNftStandard.swift",
        "Token/Actors/DIP20TokenActor.swift",
        "Token/Actors/ICRC1TokenActor.swift",
        "Token/Generated/DABTokens.did.swift",
        "Token/Generated/DIP20.did.swift",
        "Token/Generated/ICPIndex.did.swift",
        "Token/Generated/ICRC1.did.swift",
        "Token/Generated/ICRC1Oracle.did.swift",
        "Token/Generated/ICRC2.did.swift",
        "Token/Generated/Index.did.swift",
        "Token/Generated/NNS_SNS_W.did.swift",
        "Token/ICPToken.swift",
        "Token/ICPTokenActor.swift",
        "Token/ICPTokenActorFactory.swift",
        "Token/ICPTokenBalance.swift",
        "Token/ICPTokenMetadata.swift",
        "Token/ICPTokenStandard.swift",
        "Token/ICPTokenTransaction.swift",
        "Token/Index/ICPICRC1IndexTransactionProvider.swift",
        "Token/Index/ICPIndexTransactionProvider.swift",
        "Token/Index/ICPTransactionProvider.swift",
        "Token/Index/ICPTransactionProviderProtocol.swift",
        "TokenOracle.swift"
      ],
      "target_dependencies" : [
        "IcpKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CodeGeneratorTests",
      "module_type" : "SwiftTarget",
      "name" : "CodeGeneratorTests",
      "path" : "Tests/CodeGeneratorTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/DidFiles/EVMProviders.did",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/DidFiles/GoldNFT.did",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/DidFiles/ICRC7.did",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/DidFiles/LedgerCanister.did",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/DidFiles/TestImports.did",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/DidFiles/TestImports2.did",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/Generated/EVMProviders.did.generated_swift",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/Generated/GoldNFT.did.generated_swift",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/Generated/ICRC7.did.generated_swift",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/Generated/LedgerCanister.did.generated_swift",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/Generated/TestCodeGeneration.did.generated_swift",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/Generated/TestImports.did.generated_swift",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "CodeGeneratorTests.swift",
        "Generated/EVMProviders.did.swift",
        "Generated/GoldNFT.did.swift",
        "Generated/ICRC7.did.swift",
        "Generated/LedgerCanister.did.swift",
        "Generated/TestImports.did.swift"
      ],
      "target_dependencies" : [
        "CodeGenerator",
        "Candid",
        "IcpKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CodeGenerator",
      "module_type" : "SwiftTarget",
      "name" : "CodeGenerator",
      "path" : "Sources/CodeGenerator",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "CodeGenerator"
      ],
      "sources" : [
        "CodeGenerator.swift",
        "Generator/CandidCodeGenerator.swift",
        "Generator/CodeGenerationContext.swift",
        "Generator/IndentedString.swift"
      ],
      "target_dependencies" : [
        "Candid"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CandidTests",
      "module_type" : "SwiftTarget",
      "name" : "CandidTests",
      "path" : "Tests/CandidTests",
      "sources" : [
        "CandidEncoderTests.swift",
        "CandidSerialisationTestVectors.swift",
        "CandidSerialisationTests.swift",
        "CandidSuperTypeTests.swift",
        "CandidTypeParserTestVectors.swift",
        "CandidTypeParserTests.swift",
        "CandidValueParserTestVectors.swift",
        "CandidValueParserTests.swift",
        "Leb128Tests.swift"
      ],
      "target_dependencies" : [
        "Candid"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Candid",
      "module_type" : "SwiftTarget",
      "name" : "Candid",
      "path" : "Sources/Candid",
      "product_dependencies" : [
        "PotentCodables",
        "Base32"
      ],
      "product_memberships" : [
        "IcpKit",
        "Candid",
        "DAB",
        "CodeGenerator"
      ],
      "sources" : [
        "CandidType/CandidFunctionSignature.swift",
        "CandidType/CandidKey.swift",
        "CandidType/CandidKeyedType.swift",
        "CandidType/CandidKeyedTypes.swift",
        "CandidType/CandidPrimitiveType.swift",
        "CandidType/CandidServiceSignature.swift",
        "CandidType/CandidType+CustomStringConvertible.swift",
        "CandidType/CandidType+Init.swift",
        "CandidType/CandidType+PrimitiveType.swift",
        "CandidType/CandidType+SuperType.swift",
        "CandidType/CandidType+TypeSyntax.swift",
        "CandidType/CandidType.swift",
        "CandidValue/CandidFunction.swift",
        "CandidValue/CandidKeyedValue.swift",
        "CandidValue/CandidOption.swift",
        "CandidValue/CandidPrincipal.swift",
        "CandidValue/CandidRecord.swift",
        "CandidValue/CandidService.swift",
        "CandidValue/CandidValue+CustomStringConvertible.swift",
        "CandidValue/CandidValue+Init.swift",
        "CandidValue/CandidValue+Value.swift",
        "CandidValue/CandidValue.swift",
        "CandidValue/CandidVariant.swift",
        "CandidValue/CandidVector.swift",
        "Encoding/CandidCodingKey.swift",
        "Encoding/CandidDecoder.swift",
        "Encoding/CandidEncoder.swift",
        "Encoding/CandidFunctionProtocol.swift",
        "Encoding/CandidServiceProtocol.swift",
        "Encoding/IntCodingKey.swift",
        "Parser/CandidInterfaceDefinition.swift",
        "Parser/CandidInterfaceDefinitionProvider.swift",
        "Parser/CandidParser.swift",
        "Parser/CandidParserBase.swift",
        "Parser/CandidParserStream.swift",
        "Parser/CandidParserToken.swift",
        "Parser/CandidTypeParser.swift",
        "Parser/CandidValueParser.swift",
        "Serialisation/ByteInputStream.swift",
        "Serialisation/CandidDeserialiser.swift",
        "Serialisation/CandidSerialiser.swift",
        "Utils/BinaryInteger+Data.swift",
        "Utils/CRC32.swift",
        "Utils/CanonicalText.swift",
        "Utils/Data+Hex.swift",
        "Utils/Leb128.swift",
        "Utils/OrderIndependentHash.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.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/attaswift/BigInt.git
Fetching https://github.com/outfoxx/PotentCodables.git
Fetching https://github.com/GigaBitcoin/secp256k1.swift.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swift-libp2p/swift-bases.git
[1/286] Fetching swift-bases
[76/5112] Fetching swift-bases, bigint
[2459/10455] Fetching swift-bases, bigint, secp256k1.swift
[3042/26969] Fetching swift-bases, bigint, secp256k1.swift, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.00s)
[1/113947] Fetching potentcodables
Fetched https://github.com/swift-libp2p/swift-bases.git from cache (5.66s)
Fetched https://github.com/GigaBitcoin/secp256k1.swift.git from cache (5.66s)
Fetched https://github.com/attaswift/BigInt.git from cache (5.67s)
Fetched https://github.com/outfoxx/PotentCodables.git from cache (5.77s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift.git
Computed https://github.com/GigaBitcoin/secp256k1.swift.git at 0.10.0 (8.38s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.96s)
Computing version for https://github.com/swift-libp2p/swift-bases.git
Computed https://github.com/swift-libp2p/swift-bases.git at 0.0.4 (1.16s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (1.05s)
Computing version for https://github.com/outfoxx/PotentCodables.git
Computed https://github.com/outfoxx/PotentCodables.git at 3.5.3 (2.51s)
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/apple/swift-collections.git
[1/310] Fetching float16
[194/1564] Fetching float16, regex
[1121/19542] Fetching float16, regex, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (2.81s)
Fetched https://github.com/sharplet/Regex.git from cache (2.85s)
Fetched https://github.com/apple/swift-collections.git from cache (2.87s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (7.26s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (1.26s)
Fetching https://github.com/apple/swift-numerics
[1/6371] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.74s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (2.26s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.08s)
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Creating working copy for https://github.com/swift-libp2p/swift-bases.git
Working copy of https://github.com/swift-libp2p/swift-bases.git resolved at 0.0.4
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
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/outfoxx/PotentCodables.git
Working copy of https://github.com/outfoxx/PotentCodables.git resolved at 3.5.3
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/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.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.10.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
warning: 'spi-builder-workspace': found 13 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC1Oracle.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/OrigynNFT.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/Index.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC2.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/DIP20.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/ICRC7.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/NNS_SNS_W.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC1.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/DABNft.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/DABTokens.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/DIP721.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/EXT.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICPIndex.did
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/74] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-path.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.
[3/74] Compiling fy-path.c
[3/74] Compiling precomputed_ecmult_gen.c
[3/74] Compiling secp256k1.c
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>
      |          ^~~~~~~~~~~
[3/74] Compiling fy-accel.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-parse.c:14:
/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-parse.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>
      |          ^~~~~~~~~~~
[3/74] Compiling fy-parse.c
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>
      |          ^~~~~~~~~~~
[3/74] Compiling fy-composer.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>
      |          ^~~~~~~~~~~
[3/74] Compiling fy-atom.c
[3/74] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.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
warning: 'spi-builder-workspace': found 13 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/DABNft.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/EXT.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICPIndex.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/DIP20.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC2.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/OrigynNFT.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/ICRC7.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/Index.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/NNS_SNS_W.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC1.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/DIP721.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC1Oracle.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/DABTokens.did
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/73] Write sources
/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.
[18/73] Compiling fy-utils.c
[18/73] Compiling precomputed_ecmult_gen.c
[18/73] 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>
      |          ^~~~~~~~~~~
[18/73] Compiling fy-utf8.c
[18/73] Compiling Utility.c
[18/73] Compiling precomputed_ecmult.c
[18/73] Compiling secp256k1.c
[18/73] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm