The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PotentCodables, reference 3.5.3 (be0593), with Swift 6.1 for Wasm on 12 Aug 2025 15:49:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 3.5.3
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.3      -> FETCH_HEAD
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 3.5.3
========================================
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-3":/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/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/sharplet/Regex.git
[1/2094] Fetching swift-docc-plugin
[22/2404] Fetching swift-docc-plugin, float16
[215/3658] Fetching swift-docc-plugin, float16, regex
[1123/8484] Fetching swift-docc-plugin, float16, regex, bigint
[3795/25437] Fetching swift-docc-plugin, float16, regex, bigint, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (2.33s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (2.33s)
[15574/23033] Fetching regex, bigint, swift-collections
Fetched https://github.com/sharplet/Regex.git from cache (2.36s)
[14659/21779] Fetching bigint, swift-collections
Fetched https://github.com/attaswift/BigInt.git from cache (3.22s)
Fetched https://github.com/apple/swift-collections.git from cache (3.30s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (7.80s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.34s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (1.00s)
Fetching https://github.com/apple/swift-numerics
[1/5906] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.77s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (1.82s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (1.15s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (1.15s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3451] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.69s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.87s)
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-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.1
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/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.7.0
[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-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.
[2/40] Compiling fy-blob.c
[2/40] Compiling xxhash.c
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-walk.c:24:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-parse.h:21:
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>
      |          ^~~~~~~~~~~
[2/40] Compiling fy-walk.c
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-dump.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/Sources/Cfyaml/src/lib/fy-dump.c:27:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-parse.h:21:
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>
      |          ^~~~~~~~~~~
[2/40] Compiling fy-dump.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>
      |          ^~~~~~~~~~~
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-docstate.c:21:
In file included from /host/spi-builder-workspace/Sources/Cfyaml/src/lib/fy-parse.h:21:
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>
      |          ^~~~~~~~~~~
[2/40] Compiling fy-docstate.c
[2/40] Compiling fy-utf8.c
In file included from /host/spi-builder-workspace/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 [2/40] Compiling fy-input.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>
      |          ^~~~~~~~~~~
[2/40] Compiling fy-ctype.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/40] Write sources
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.
[15/40] Compiling fy-blob.c
[15/40] Compiling fy-types.c
[15/40] Compiling xxhash.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>
      |          ^~~~~~~~~~~
[15/40] Compiling fy-utf8.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>
      |          ^~~~~~~~~~~
[15/40] Compiling fy-utils.c
[15/40] Compiling fy-walk.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[15/40] Compiling fy-ctype.c
[15/40] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm