The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Web5, reference main (734701), with Swift 6.1 for Wasm on 30 May 2025 02:14:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/decentralized-identity/web5-swift.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/decentralized-identity/web5-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 734701a Add specs-report on CI (#64)
Submodule path 'Tests/Web5TestVectors/web5-spec': checked out '35805494018d16bb19194e41fd98184314648315'
Submodule 'web5-spec' (https://github.com/TBD54566975/web5-spec) registered for path 'Tests/Web5TestVectors/web5-spec'
Cloning into '/host/spi-builder-workspace/Tests/Web5TestVectors/web5-spec'...
From https://github.com/TBD54566975/web5-spec
 * branch            35805494018d16bb19194e41fd98184314648315 -> FETCH_HEAD
Cloned https://github.com/decentralized-identity/web5-swift.git
Revision (git rev-parse @):
734701a93b9c615bfac46479997fdfbd9129900b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/decentralized-identity/web5-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/decentralized-identity/web5-swift.git
https://github.com/decentralized-identity/web5-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "secp256k1.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.16.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/GigaBitcoin/secp256k1.swift.git"
    },
    {
      "identity" : "swift-extras-base64",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.7.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-extras/swift-extras-base64.git"
    },
    {
      "identity" : "swift-custom-dump",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-custom-dump.git"
    },
    {
      "identity" : "mocker",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.1",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/WeTransfer/Mocker.git"
    },
    {
      "identity" : "swift-junit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/allegro/swift-junit.git"
    },
    {
      "identity" : "anycodable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.7",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/flight-school/anycodable.git"
    },
    {
      "identity" : "dns",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Bouke/DNS.git"
    },
    {
      "identity" : "sextant",
      "requirement" : {
        "exact" : [
          "0.4.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/KittyMac/Sextant.git"
    },
    {
      "identity" : "jsonschema.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/JSONSchema.swift.git"
    }
  ],
  "manifest_display_name" : "Web5",
  "name" : "Web5",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Web5",
      "targets" : [
        "Web5"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Web5Tests",
      "module_type" : "SwiftTarget",
      "name" : "Web5Tests",
      "path" : "Tests/Web5Tests",
      "product_dependencies" : [
        "CustomDump",
        "Mocker"
      ],
      "sources" : [
        "Common/BencodeTests.swift",
        "Common/ZBase32Tests.swift",
        "Credentials/PresentationExchangeTests.swift",
        "Crypto/Algorithms/Ed25519Tests.swift",
        "Crypto/Algorithms/Secp256k1Tests.swift",
        "Crypto/CryptoTests.swift",
        "Crypto/JOSE/JWSTests.swift",
        "Crypto/JOSE/JWTTests.swift",
        "Crypto/KeyManager/Local/InMemoryKeyManagerTests.swift",
        "Dids/BearerDIDTests.swift",
        "Dids/DIDDHTTests.swift",
        "Dids/DIDJWKTests.swift",
        "Dids/DIDResourceTests.swift",
        "Dids/DIDUniversalResolverTests.swift",
        "Dids/DidDocumentTests.swift"
      ],
      "target_dependencies" : [
        "Web5"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Web5TestVectors",
      "module_type" : "SwiftTarget",
      "name" : "Web5TestVectors",
      "path" : "Tests/Web5TestVectors",
      "product_dependencies" : [
        "CustomDump",
        "Mocker",
        "SwiftTestReporter"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/Web5TestVectors/Resources/did",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/Web5TestVectors/web5-spec/test-vectors",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AAA_JUnitReportInitializer.swift",
        "TestVector.swift",
        "Web5TestVectorsCryptoEd25519.swift",
        "Web5TestVectorsCryptoEs256k.swift",
        "Web5TestVectorsDid.swift",
        "Web5TestVectorsDidJwk.swift",
        "Web5TestVectorsDidWeb.swift",
        "Web5TestVectorsPortableDid.swift",
        "Web5TestVectorsPresentationExchange.swift"
      ],
      "target_dependencies" : [
        "Web5"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Web5",
      "module_type" : "SwiftTarget",
      "name" : "Web5",
      "path" : "Sources/Web5",
      "product_dependencies" : [
        "secp256k1",
        "ExtrasBase64",
        "AnyCodable",
        "DNS",
        "Sextant",
        "JSONSchema"
      ],
      "product_memberships" : [
        "Web5"
      ],
      "sources" : [
        "Common/Base64URL.swift",
        "Common/Bencode.swift",
        "Common/DNS+Extensions.swift",
        "Common/Data+Hex.swift",
        "Common/FlatMap.swift",
        "Common/ISO8601Date.swift",
        "Common/OneOrMany.swift",
        "Common/Regex.swift",
        "Common/ZBase32.swift",
        "Credentials/PresentationExchange.swift",
        "Crypto/Algorithms/Ed25519.swift",
        "Crypto/Algorithms/Secp256k1.swift",
        "Crypto/Crypto.swift",
        "Crypto/CryptoAlgorithm.swift",
        "Crypto/JOSE/JWK.swift",
        "Crypto/JOSE/JWS.swift",
        "Crypto/JOSE/JWT.swift",
        "Crypto/KeyManager/KeyExporter.swift",
        "Crypto/KeyManager/KeyImporter.swift",
        "Crypto/KeyManager/KeyManager.swift",
        "Crypto/KeyManager/Local/InMemoryKeyManager.swift",
        "Crypto/KeyManager/Local/KeychainKeyManager.swift",
        "Crypto/KeyManager/Local/LocalKeyManager.swift",
        "Crypto/KeyManager/Local/LocalKeyStore.swift",
        "Crypto/Primitives/AsymmetricKeyGenerator.swift",
        "Crypto/Primitives/Signer.swift",
        "Crypto/Primitives/Verifier.swift",
        "Dids/BearerDID.swift",
        "Dids/DID.swift",
        "Dids/Methods/DIDDHT.swift",
        "Dids/Methods/DIDIon.swift",
        "Dids/Methods/DIDJWK.swift",
        "Dids/Methods/DIDWeb.swift",
        "Dids/Methods/Protocols/DIDMethod.swift",
        "Dids/Methods/Protocols/DIDMethodResolver.swift",
        "Dids/PortableDID.swift",
        "Dids/Resolution/DIDDereferenceResult.swift",
        "Dids/Resolution/DIDDocument+Context.swift",
        "Dids/Resolution/DIDDocument.swift",
        "Dids/Resolution/DIDResolutionResult.swift",
        "Dids/Resolution/DIDResource.swift",
        "Dids/Resolution/DIDUniversalResolver.swift",
        "Dids/Resolution/Protocols/DIDURIResolve.swift",
        "Dids/Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/kylef/JSONSchema.swift.git
Fetching https://github.com/KittyMac/Sextant.git
Fetching https://github.com/Bouke/DNS.git
Fetching https://github.com/flight-school/anycodable.git
Fetching https://github.com/allegro/swift-junit.git
Fetching https://github.com/WeTransfer/Mocker.git
[1/782] Fetching anycodable
[783/2673] Fetching anycodable, mocker
[1143/4983] Fetching anycodable, mocker, jsonschema.swift
[2380/5218] Fetching anycodable, mocker, jsonschema.swift, swift-junit
[4766/7585] Fetching anycodable, mocker, jsonschema.swift, swift-junit, sextant
[5220/8493] Fetching anycodable, mocker, jsonschema.swift, swift-junit, sextant, dns
Fetched https://github.com/allegro/swift-junit.git from cache (0.44s)
[5021/8258] Fetching anycodable, mocker, jsonschema.swift, sextant, dns
Fetching https://github.com/pointfreeco/swift-custom-dump.git
Fetched https://github.com/flight-school/anycodable.git from cache (0.49s)
[5441/7476] Fetching mocker, jsonschema.swift, sextant, dns
Fetched https://github.com/WeTransfer/Mocker.git from cache (0.49s)
[3692/5585] Fetching jsonschema.swift, sextant, dns
Fetching https://github.com/swift-extras/swift-extras-base64.git
Fetching https://github.com/GigaBitcoin/secp256k1.swift.git
Fetched https://github.com/Bouke/DNS.git from cache (0.55s)
[3541/4677] Fetching jsonschema.swift, sextant
Fetched https://github.com/kylef/JSONSchema.swift.git from cache (0.71s)
Fetched https://github.com/KittyMac/Sextant.git from cache (0.71s)
[1/4581] Fetching swift-custom-dump
[2979/5414] Fetching swift-custom-dump, swift-extras-base64
[5415/10247] Fetching swift-custom-dump, swift-extras-base64, secp256k1.swift
Fetched https://github.com/swift-extras/swift-extras-base64.git from cache (0.34s)
[5935/9414] Fetching swift-custom-dump, secp256k1.swift
Fetched https://github.com/pointfreeco/swift-custom-dump.git from cache (0.42s)
[2900/4833] Fetching secp256k1.swift
Fetched https://github.com/GigaBitcoin/secp256k1.swift.git from cache (0.47s)
Computing version for https://github.com/kylef/JSONSchema.swift.git
Computed https://github.com/kylef/JSONSchema.swift.git at 0.6.0 (4.62s)
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.41s)
Computing version for https://github.com/KittyMac/Sextant.git
Computed https://github.com/KittyMac/Sextant.git at 0.4.0 (4.24s)
Fetching https://github.com/KittyMac/Spanker.git
Fetching https://github.com/KittyMac/Hitch.git
Fetching https://github.com/KittyMac/Chronometer.git
[1/2478] Fetching hitch
[770/3469] Fetching hitch, spanker
[1107/3656] Fetching hitch, spanker, chronometer
Fetched https://github.com/KittyMac/Chronometer.git from cache (0.78s)
Fetched https://github.com/KittyMac/Hitch.git from cache (0.79s)
Fetched https://github.com/KittyMac/Spanker.git from cache (0.81s)
Computing version for https://github.com/Bouke/DNS.git
Computed https://github.com/Bouke/DNS.git at 1.2.0 (4.58s)
Computing version for https://github.com/flight-school/anycodable.git
Computed https://github.com/flight-school/anycodable.git at 0.6.7 (0.74s)
Computing version for https://github.com/allegro/swift-junit.git
Computed https://github.com/allegro/swift-junit.git at 2.1.0 (0.58s)
Fetching https://github.com/alexaubry/HTMLString.git
[1/1631] Fetching htmlstring
Fetched https://github.com/alexaubry/HTMLString.git from cache (0.32s)
Computing version for https://github.com/swift-extras/swift-extras-base64.git
Computed https://github.com/swift-extras/swift-extras-base64.git at 0.7.0 (0.91s)
Computing version for https://github.com/alexaubry/HTMLString.git
Computed https://github.com/alexaubry/HTMLString.git at 5.0.0 (0.59s)
Computing version for https://github.com/WeTransfer/Mocker.git
Computed https://github.com/WeTransfer/Mocker.git at 3.0.2 (0.61s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.58s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.30s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.93s)
Computing version for https://github.com/pointfreeco/swift-custom-dump.git
Computed https://github.com/pointfreeco/swift-custom-dump.git at 1.3.3 (0.59s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5458] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.78s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift.git
Computed https://github.com/GigaBitcoin/secp256k1.swift.git at 0.21.1 (1.42s)
Computing version for https://github.com/KittyMac/Hitch.git
Computed https://github.com/KittyMac/Hitch.git at 0.2.8 (0.58s)
Computing version for https://github.com/KittyMac/Chronometer.git
Computed https://github.com/KittyMac/Chronometer.git at 0.1.12 (0.57s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.55s)
Computing version for https://github.com/KittyMac/Spanker.git
Computed https://github.com/KittyMac/Spanker.git at 0.1.17 (0.88s)
Creating working copy for https://github.com/KittyMac/Sextant.git
Working copy of https://github.com/KittyMac/Sextant.git resolved at 0.4.0
Creating working copy for https://github.com/Bouke/DNS.git
Working copy of https://github.com/Bouke/DNS.git resolved at 1.2.0
Creating working copy for https://github.com/GigaBitcoin/secp256k1.swift.git
Working copy of https://github.com/GigaBitcoin/secp256k1.swift.git resolved at 0.21.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/flight-school/anycodable.git
Working copy of https://github.com/flight-school/anycodable.git resolved at 0.6.7
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/swift-extras/swift-extras-base64.git
Working copy of https://github.com/swift-extras/swift-extras-base64.git resolved at 0.7.0
Creating working copy for https://github.com/KittyMac/Chronometer.git
Working copy of https://github.com/KittyMac/Chronometer.git resolved at 0.1.12
Creating working copy for https://github.com/pointfreeco/swift-custom-dump.git
Working copy of https://github.com/pointfreeco/swift-custom-dump.git resolved at 1.3.3
Creating working copy for https://github.com/kylef/JSONSchema.swift.git
Working copy of https://github.com/kylef/JSONSchema.swift.git resolved at 0.6.0
Creating working copy for https://github.com/KittyMac/Spanker.git
Working copy of https://github.com/KittyMac/Spanker.git resolved at 0.1.17
Creating working copy for https://github.com/alexaubry/HTMLString.git
Working copy of https://github.com/alexaubry/HTMLString.git resolved at 5.0.0
Creating working copy for https://github.com/KittyMac/Hitch.git
Working copy of https://github.com/KittyMac/Hitch.git resolved at 0.2.8
Creating working copy for https://github.com/WeTransfer/Mocker.git
Working copy of https://github.com/WeTransfer/Mocker.git resolved at 3.0.2
Creating working copy for https://github.com/allegro/swift-junit.git
Working copy of https://github.com/allegro/swift-junit.git resolved at 2.1.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
error: 'spi-builder-workspace': product 'secp256k1' required by package 'spi-builder-workspace' target 'Web5' not found in package 'secp256k1.swift'. Did you mean 'libsecp256k1'?
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
error: 'spi-builder-workspace': product 'secp256k1' required by package 'spi-builder-workspace' target 'Web5' not found in package 'secp256k1.swift'. Did you mean 'libsecp256k1'?
BUILD FAILURE 6.1 wasm