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 PotentCodables, reference main (be0593), with Swift 6.1 for Wasm on 12 Aug 2025 08:07:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/outfoxx/potentcodables.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/outfoxx/potentcodables
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at be0593a Merge pull request #93 from outfoxx/fix/any-value-wrapping
Cloned https://github.com/outfoxx/potentcodables.git
Revision (git rev-parse @):
be0593a39fa3c8203dd10bdbad3803435517c100
SUCCESS checkout https://github.com/outfoxx/potentcodables.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/outfoxx/potentcodables.git
https://github.com/outfoxx/potentcodables.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" : "float16",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SusanDoggie/Float16.git"
    },
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    },
    {
      "identity" : "regex",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sharplet/Regex.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "PotentCodables",
  "name" : "PotentCodables",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "PotentCodables",
      "targets" : [
        "PotentCodables",
        "PotentJSON",
        "PotentCBOR",
        "PotentASN1",
        "PotentYAML",
        "Cfyaml"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "PotentYAML",
      "module_type" : "SwiftTarget",
      "name" : "PotentYAML",
      "path" : "Sources/PotentYAML",
      "product_dependencies" : [
        "BigInt",
        "Collections",
        "Regex"
      ],
      "product_memberships" : [
        "PotentCodables"
      ],
      "sources" : [
        "Errors.swift",
        "Libfyaml.swift",
        "YAML.swift",
        "YAMLDecoder.swift",
        "YAMLEncoder.swift",
        "YAMLReader.swift",
        "YAMLSchema.swift",
        "YAMLSchemaCore.swift",
        "YAMLSerialization.swift",
        "YAMLWriter.swift"
      ],
      "target_dependencies" : [
        "PotentCodables",
        "Cfyaml"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PotentJSON",
      "module_type" : "SwiftTarget",
      "name" : "PotentJSON",
      "path" : "Sources/PotentJSON",
      "product_dependencies" : [
        "BigInt",
        "Collections"
      ],
      "product_memberships" : [
        "PotentCodables"
      ],
      "sources" : [
        "Errors.swift",
        "JSON.swift",
        "JSONDecoder.swift",
        "JSONEncoder.swift",
        "JSONReader.swift",
        "JSONSerialization.swift",
        "JSONWriter.swift"
      ],
      "target_dependencies" : [
        "PotentCodables"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PotentCodablesTests",
      "module_type" : "SwiftTarget",
      "name" : "PotentCodablesTests",
      "path" : "Tests",
      "sources" : [
        "ASN1AnyStringTests.swift",
        "ASN1AnyValueTests.swift",
        "ASN1DERBigIntTests.swift",
        "ASN1DERTests.swift",
        "ASN1DecoderTests.swift",
        "ASN1EncoderTests.swift",
        "ASN1SchemaDecodeTests.swift",
        "ASN1SchemaEncodeTests.swift",
        "ASN1SchemaTests.swift",
        "ASN1Tests.swift",
        "ASN1ValueTests.swift",
        "AnyCodingKeyTests.swift",
        "AnyValueCoderTests.swift",
        "AnyValueTests.swift",
        "Assertions.swift",
        "CBORAnyValueTests.swift",
        "CBORCodableRoundtripTests.swift",
        "CBORDecoderTests.swift",
        "CBOREncoderTests.swift",
        "CBORReaderTests.swift",
        "CBORTests.swift",
        "CBORValueTests.swift",
        "CBORWriterTests.swift",
        "ConfigurationTests.swift",
        "Datas.swift",
        "Dates.swift",
        "JSONAnyValueTests.swift",
        "JSONDecoderTests.swift",
        "JSONEncoderTests.swift",
        "JSONOrderTests.swift",
        "JSONReaderTests.swift",
        "JSONValueTests.swift",
        "JSONWriterTests.swift",
        "RefTests.swift",
        "TimeZoneTests.swift",
        "UnkeyedCodingContainerTests.swift",
        "ValueCoderTests.swift",
        "ValueTransformerProvidingTests.swift",
        "ValueTransformerTests.swift",
        "YAMLAnyValueTests.swift",
        "YAMLDecoderTests.swift",
        "YAMLEncoderTests.swift",
        "YAMLErrorTests.swift",
        "YAMLOrderTests.swift",
        "YAMLReaderTests.swift",
        "YAMLSchemaTests.swift",
        "YAMLTests.swift",
        "YAMLValueTests.swift",
        "YAMLWriterTests.swift"
      ],
      "target_dependencies" : [
        "PotentCodables",
        "PotentJSON",
        "PotentCBOR",
        "PotentASN1",
        "PotentYAML"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PotentCodables",
      "module_type" : "SwiftTarget",
      "name" : "PotentCodables",
      "path" : "Sources/PotentCodables",
      "product_dependencies" : [
        "BigInt",
        "Collections",
        "Float16",
        "Regex"
      ],
      "product_memberships" : [
        "PotentCodables"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/PotentCodables/PotentCodables.docc",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AnyCodingKey.swift",
        "AnyValue/AnyValue.swift",
        "AnyValue/AnyValueDecoder.swift",
        "AnyValue/AnyValueEncoder.swift",
        "DecoderSupport.swift",
        "EncoderSupport.swift",
        "Errors.swift",
        "Float16.swift",
        "KeyStrategy.swift",
        "KeyedNestedDecoder.swift",
        "KeyedNestedEncoder.swift",
        "Refs.swift",
        "Regexes.swift",
        "TimeZone.swift",
        "TopLevel.swift",
        "TreeValueDecodingContainer.swift",
        "Value.swift",
        "ValueDecoder.swift",
        "ValueEncoder.swift",
        "ValueTransformer.swift",
        "ValueTransformerProviding.swift",
        "ZonedDate.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PotentCBOR",
      "module_type" : "SwiftTarget",
      "name" : "PotentCBOR",
      "path" : "Sources/PotentCBOR",
      "product_dependencies" : [
        "BigInt",
        "Collections"
      ],
      "product_memberships" : [
        "PotentCodables"
      ],
      "sources" : [
        "CBOR.swift",
        "CBORDecoder.swift",
        "CBOREncoder.swift",
        "CBORReader.swift",
        "CBORSerialization.swift",
        "CBORStream.swift",
        "CBORWriter.swift"
      ],
      "target_dependencies" : [
        "PotentCodables"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PotentASN1",
      "module_type" : "SwiftTarget",
      "name" : "PotentASN1",
      "path" : "Sources/PotentASN1",
      "product_dependencies" : [
        "BigInt",
        "Collections"
      ],
      "product_memberships" : [
        "PotentCodables"
      ],
      "sources" : [
        "ASN1.swift",
        "ASN1DERReader.swift",
        "ASN1DERWriter.swift",
        "ASN1Decoder.swift",
        "ASN1Encoder.swift",
        "ASN1Serialization.swift",
        "AnyString.swift",
        "AnyTime.swift",
        "BigInts.swift",
        "BitString.swift",
        "Dates.swift",
        "ObjectIdentifier.swift",
        "Schema.swift",
        "SchemaSpecified.swift",
        "SchemaState.swift",
        "Tagged.swift",
        "TaggedValue.swift"
      ],
      "target_dependencies" : [
        "PotentCodables"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Cfyaml",
      "module_type" : "ClangTarget",
      "name" : "Cfyaml",
      "path" : "Sources/Cfyaml",
      "product_memberships" : [
        "PotentCodables"
      ],
      "sources" : [
        "src/lib/fy-accel.c",
        "src/lib/fy-atom.c",
        "src/lib/fy-composer.c",
        "src/lib/fy-diag.c",
        "src/lib/fy-doc.c",
        "src/lib/fy-docbuilder.c",
        "src/lib/fy-docstate.c",
        "src/lib/fy-dump.c",
        "src/lib/fy-emit.c",
        "src/lib/fy-event.c",
        "src/lib/fy-input.c",
        "src/lib/fy-parse.c",
        "src/lib/fy-path.c",
        "src/lib/fy-token.c",
        "src/lib/fy-types.c",
        "src/lib/fy-walk.c",
        "src/util/fy-blob.c",
        "src/util/fy-ctype.c",
        "src/util/fy-utf8.c",
        "src/util/fy-utils.c",
        "src/xxhash/xxhash.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/apple/swift-collections.git
[1/1254] Fetching regex
[716/3348] Fetching regex, swift-docc-plugin
[922/8174] Fetching regex, swift-docc-plugin, bigint
[1317/8484] Fetching regex, swift-docc-plugin, bigint, float16
[4960/25437] Fetching regex, swift-docc-plugin, bigint, float16, swift-collections
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.44s)
[8208/23343] Fetching regex, bigint, float16, swift-collections
Fetched https://github.com/attaswift/BigInt.git from cache (0.86s)
[12075/18517] Fetching regex, float16, swift-collections
Fetched https://github.com/sharplet/Regex.git from cache (0.87s)
[11160/17263] Fetching float16, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (1.22s)
Fetched https://github.com/apple/swift-collections.git from cache (1.24s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (3.48s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.83s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.60s)
Fetching https://github.com/apple/swift-numerics
[1/5906] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.46s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.95s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.60s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (0.55s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3450] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.38s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.99s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.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/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/40] Write sources
[13/40] Copying PotentCodables.docc
[13/40] Write sources
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-ctype.c:16:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
   19 | #include <termios.h>
      |          ^~~~~~~~~~~
1 error generated.
[16/40] Compiling fy-ctype.c
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-blob.c:18:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-blob.h:47:
/host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-endian.h:24:3: error: unsupported platform
   24 | # error unsupported platform
      |   ^
[16/40] Compiling fy-blob.c
[16/40] Compiling fy-types.c
[16/40] Compiling fy-walk.c
[16/40] Compiling xxhash.c
/host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utils.c:18:10: fatal error: 'termios.h' file not found
   18 | #include <termios.h>
      |          ^~~~~~~~~~~
[16/40] Compiling fy-utils.c
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utf8.c:16:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
   19 | #include <termios.h>
      |          ^~~~~~~~~~~
[16/40] Compiling fy-utf8.c
[16/40] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/26] Write sources
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utf8.c:16:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
   19 | #include <termios.h>
      |          ^~~~~~~~~~~
1 error generated.
[4/26] Compiling fy-utf8.c
[4/26] Compiling fy-blob.c
[4/26] Compiling fy-types.c
[4/26] Compiling fy-ctype.c
[4/26] Compiling fy-walk.c
/host/spi-builder-workspace/Sources/Cfyaml/src/util/fy-utils.c:18:10: fatal error: 'termios.h' file not found
   18 | #include <termios.h>
      |          ^~~~~~~~~~~
[4/26] Compiling fy-utils.c
[4/26] Compiling xxhash.c
[4/26] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm