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 3.5.2 (acfa8e), with Swift 6.1 for Wasm on 17 Jun 2025 03:39:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/outfoxx/potentcodables.git
Reference: 3.5.2
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
 * tag               3.5.2      -> FETCH_HEAD
HEAD is now at acfa8ee Merge pull request #91 from outfoxx/fix/asn1-docs
Cloned https://github.com/outfoxx/potentcodables.git
Revision (git rev-parse @):
acfa8ee4108255c3f60ecfe11df75f70784a17da
SUCCESS checkout https://github.com/outfoxx/potentcodables.git at 3.5.2
========================================
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.3.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.0.4",
            "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"
        ]
      }
    }
  ],
  "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-4609320-1":/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/apple/swift-collections.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/SusanDoggie/Float16.git
[1/1254] Fetching regex
[578/1564] Fetching regex, float16
[988/6371] Fetching regex, float16, bigint
[1229/8453] Fetching regex, float16, bigint, swift-docc-plugin
[7326/25059] Fetching regex, float16, bigint, swift-docc-plugin, swift-collections
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.48s)
[8513/22977] Fetching regex, float16, bigint, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (0.58s)
Fetched https://github.com/attaswift/BigInt.git from cache (0.59s)
[5055/17860] Fetching regex, swift-collections
Fetched https://github.com/sharplet/Regex.git from cache (0.98s)
[11957/16606] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.60s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (3.69s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.51s)
Fetching https://github.com/apple/swift-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.40s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.90s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.6.0 (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.4 (0.57s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3411] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.98s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.64s)
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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
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.4
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/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.6.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/40] Write sources
[10/40] Copying PotentCodables.docc
[10/40] 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.
[16/40] Compiling fy-utf8.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
      |   ^
1 error generated.
[16/40] Compiling fy-blob.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-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
[16/40] Compiling fy-walk.c
[16/40] Compiling xxhash.c
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-types.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, \
      |  ^
[16/40] Compiling fy-types.c
[16/40] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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...
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.
[2/26] Compiling fy-ctype.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>
      |          ^~~~~~~~~~~
[2/26] Compiling fy-utils.c
[2/26] Compiling fy-types.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>
      |          ^~~~~~~~~~~
1 error generated.
[2/26] Compiling fy-utf8.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
      |   ^
[2/26] Compiling fy-blob.c
[2/26] Compiling xxhash.c
[2/26] Compiling fy-walk.c
[2/26] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm