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

Successful build of swift-multihash, reference 0.2.1 (3f96de), with Swift 6.2 for Wasm on 2 Nov 2025 01:33:03 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-libp2p/swift-multihash.git
Reference: 0.2.1
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/swift-libp2p/swift-multihash
 * tag               0.2.1      -> FETCH_HEAD
HEAD is now at 3f96ded move mh from class to sendable struct (#12)
Cloned https://github.com/swift-libp2p/swift-multihash.git
Revision (git rev-parse @):
3f96ded8e8af0787bfc7b90fbb54db28d3a28302
SUCCESS checkout https://github.com/swift-libp2p/swift-multihash.git at 0.2.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swift-libp2p/swift-multihash.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/swift-libp2p/swift-multibase.git
Fetching https://github.com/swift-libp2p/swift-multicodec.git
Fetching https://github.com/swift-libp2p/swift-varint.git
[1/344] Fetching swift-multicodec
[5/467] Fetching swift-multicodec, swift-varint
[241/662] Fetching swift-multicodec, swift-varint, swift-multibase
Fetched https://github.com/swift-libp2p/swift-varint.git from cache (0.45s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetched https://github.com/swift-libp2p/swift-multicodec.git from cache (0.49s)
Fetched https://github.com/swift-libp2p/swift-multibase.git from cache (0.49s)
[1/13105] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.51s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (7.31s)
Computing version for https://github.com/swift-libp2p/swift-varint.git
Computed https://github.com/swift-libp2p/swift-varint.git at 0.2.0 (0.61s)
Computing version for https://github.com/swift-libp2p/swift-multicodec.git
Computed https://github.com/swift-libp2p/swift-multicodec.git at 0.2.1 (0.67s)
Computing version for https://github.com/swift-libp2p/swift-multibase.git
Computed https://github.com/swift-libp2p/swift-multibase.git at 0.2.1 (0.61s)
Fetching https://github.com/swift-libp2p/swift-bases.git
[1/302] Fetching swift-bases
Fetched https://github.com/swift-libp2p/swift-bases.git from cache (0.42s)
Computing version for https://github.com/swift-libp2p/swift-bases.git
Computed https://github.com/swift-libp2p/swift-bases.git at 0.2.0 (1.18s)
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.2.0
Creating working copy for https://github.com/swift-libp2p/swift-multicodec.git
Working copy of https://github.com/swift-libp2p/swift-multicodec.git resolved at 0.2.1
Creating working copy for https://github.com/swift-libp2p/swift-varint.git
Working copy of https://github.com/swift-libp2p/swift-varint.git resolved at 0.2.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
Creating working copy for https://github.com/swift-libp2p/swift-multibase.git
Working copy of https://github.com/swift-libp2p/swift-multibase.git resolved at 0.2.1
Building for debugging...
[0/12] Write sources
[4/12] Copying PrivacyInfo.xcprivacy
[4/12] Write sources
[11/12] Write swift-version-24593BA9C3E375BF.txt
[13/134] Emitting module Base2
[14/134] Emitting module Base8
[15/134] Compiling Base32 Quintets.swift
[16/134] Compiling Base32 BlockDecoding.swift
[17/134] Compiling Base8 BlockEncoding.swift
[18/134] Compiling Base8 Quintets.swift
[19/134] Compiling Base8 BlockDecoding.swift
[20/134] Compiling Base32 BlockEncoding.swift
[21/134] Compiling Base32 Alphabets.swift
[22/134] Emitting module Base32
[23/134] Compiling Base32 Base32.swift
[25/135] Compiling Base8 Base8.swift
[26/135] Emitting module BaseX
[27/135] Compiling BaseX BaseX.swift
[28/135] Compiling Base8 Alphabet.swift
[29/137] Compiling CryptoSwift BlockEncryptor.swift
[30/137] Compiling CryptoSwift BlockMode.swift
[31/137] Compiling CryptoSwift BlockModeOptions.swift
[32/137] Compiling CryptoSwift CBC.swift
[33/137] Compiling CryptoSwift CCM.swift
[34/137] Compiling CryptoSwift CFB.swift
[35/137] Compiling CryptoSwift CTR.swift
[36/137] Compiling CryptoSwift CipherModeWorker.swift
[37/137] Compiling CryptoSwift ECB.swift
[38/137] Compiling CryptoSwift GCM.swift
[39/137] Compiling CryptoSwift OCB.swift
[40/137] Compiling CryptoSwift OFB.swift
[41/137] Compiling CryptoSwift PCBC.swift
[42/137] Compiling CryptoSwift Blowfish.swift
[43/137] Compiling CryptoSwift CBCMAC.swift
[45/140] Emitting module VarInt
[46/142] Compiling VarInt VarInt.swift
[47/142] Compiling VarInt BinaryEncoder.swift
[48/152] Compiling CryptoSwift CompactMap.swift
[49/152] Compiling CryptoSwift Cryptor.swift
[50/152] Compiling CryptoSwift Cryptors.swift
[51/152] Compiling CryptoSwift Digest.swift
[52/152] Compiling CryptoSwift DigestType.swift
[53/152] Compiling CryptoSwift AES+Foundation.swift
[54/152] Compiling CryptoSwift Array+Foundation.swift
[55/152] Compiling CryptoSwift Blowfish+Foundation.swift
[56/152] Compiling CryptoSwift ChaCha20+Foundation.swift
[57/152] Compiling CryptoSwift Data+Extension.swift
[58/152] Compiling CryptoSwift HMAC+Foundation.swift
[59/152] Compiling CryptoSwift Rabbit+Foundation.swift
[60/152] Compiling CryptoSwift String+FoundationExtension.swift
[61/152] Compiling CryptoSwift Utils+Foundation.swift
[62/152] Compiling CryptoSwift CMAC.swift
[63/152] Compiling CryptoSwift Addition.swift
[64/152] Compiling CryptoSwift BigInt.swift
[65/152] Compiling CryptoSwift BigUInt.swift
[66/152] Compiling CryptoSwift BitwiseOps.swift
[67/152] Compiling CryptoSwift CS.swift
[68/152] Compiling CryptoSwift Codable.swift
[69/152] Compiling CryptoSwift Comparable.swift
[70/152] Compiling CryptoSwift DataConversion.swift
[71/152] Compiling CryptoSwift Division.swift
[72/152] Compiling CryptoSwift Exponentiation.swift
[73/152] Compiling CryptoSwift FloatingPointConversion.swift
[74/152] Compiling CryptoSwift GCD.swift
[75/152] Compiling CryptoSwift Hashable.swift
[76/152] Compiling CryptoSwift XChaCha20+Foundation.swift
[77/152] Compiling CryptoSwift Generics.swift
[78/152] Compiling CryptoSwift HKDF.swift
[79/152] Compiling CryptoSwift HMAC.swift
[80/152] Compiling CryptoSwift ISO10126Padding.swift
[81/152] Compiling CryptoSwift ISO78164Padding.swift
[82/152] Compiling CryptoSwift Int+Extension.swift
[83/152] Compiling CryptoSwift MD5.swift
[84/152] Compiling CryptoSwift NoPadding.swift
[85/152] Compiling CryptoSwift Operators.swift
[86/152] Compiling CryptoSwift DER.swift
[87/152] Compiling CryptoSwift PBKDF1.swift
[88/152] Compiling CryptoSwift PBKDF2.swift
[89/152] Compiling CryptoSwift PKCS1v15.swift
[90/152] Compiling CryptoSwift IntegerConversion.swift
[91/152] Compiling CryptoSwift Multiplication.swift
[92/152] Compiling CryptoSwift PrimeTest.swift
[93/152] Compiling CryptoSwift Random.swift
[94/152] Compiling CryptoSwift Shifts.swift
[95/152] Compiling CryptoSwift SquareRoot.swift
[96/152] Compiling CryptoSwift Strideable.swift
[97/152] Compiling CryptoSwift StringConversion.swift
[98/152] Compiling CryptoSwift Subtraction.swift
[99/152] Compiling CryptoSwift WordsAndBits.swift
[100/152] Compiling CryptoSwift ChaCha20.swift
[101/152] Compiling CryptoSwift Checksum.swift
[102/152] Compiling CryptoSwift Cipher.swift
[103/152] Compiling CryptoSwift Collection+Extension.swift
[104/152] Compiling Base2 Base2.swift
[108/153] Emitting module Base64
[109/153] Compiling Base64 Base64.swift
[111/158] Compiling Multicodec Codecs+Equatable.swift
[112/158] Compiling Multicodec Multicodec.swift
[113/160] Compiling CryptoSwift AEAD.swift
[114/160] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[115/160] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[116/160] Compiling CryptoSwift AES.Cryptors.swift
[117/160] Compiling CryptoSwift AES.swift
[118/160] Compiling CryptoSwift ASN1.swift
[119/160] Compiling CryptoSwift ASN1Decoder.swift
[120/160] Compiling CryptoSwift ASN1Encoder.swift
[121/160] Compiling CryptoSwift ASN1Scanner.swift
[122/160] Compiling CryptoSwift Array+Extension.swift
[123/160] Compiling CryptoSwift Authenticator.swift
[124/160] Compiling CryptoSwift BatchedCollection.swift
[125/160] Compiling CryptoSwift Bit.swift
[126/160] Compiling CryptoSwift BlockCipher.swift
[127/160] Compiling CryptoSwift BlockDecryptor.swift
[128/160] Emitting module CryptoSwift
[129/160] Emitting module Multicodec
[130/160] Compiling Multibase Multibase.swift
[131/160] Emitting module Multibase
[133/161] Compiling Multicodec Codecs.swift
[134/161] Compiling CryptoSwift PKCS5.swift
[135/161] Compiling CryptoSwift PKCS7.swift
[136/161] Compiling CryptoSwift PKCS7Padding.swift
[137/161] Compiling CryptoSwift Padding.swift
[138/161] Compiling CryptoSwift Poly1305.swift
[139/161] Compiling CryptoSwift RSA+Cipher.swift
[140/161] Compiling CryptoSwift RSA+Signature.swift
[141/161] Compiling CryptoSwift RSA.swift
[142/161] Compiling CryptoSwift Rabbit.swift
[143/161] Compiling CryptoSwift SHA1.swift
[144/161] Compiling CryptoSwift SHA2.swift
[145/161] Compiling CryptoSwift SHA3.swift
[146/161] Compiling CryptoSwift Scrypt.swift
[147/161] Compiling CryptoSwift SecureBytes.swift
[149/162] Compiling CryptoSwift Signature.swift
[150/162] Compiling CryptoSwift StreamDecryptor.swift
[151/162] Compiling CryptoSwift StreamEncryptor.swift
[152/162] Compiling CryptoSwift String+Extension.swift
[153/162] Compiling CryptoSwift UInt128.swift
[154/162] Compiling CryptoSwift UInt16+Extension.swift
[155/162] Compiling CryptoSwift UInt32+Extension.swift
[156/162] Compiling CryptoSwift UInt64+Extension.swift
[157/162] Compiling CryptoSwift UInt8+Extension.swift
[158/162] Compiling CryptoSwift Updatable.swift
[159/162] Compiling CryptoSwift Utils.swift
[160/162] Compiling CryptoSwift XChaCha20.swift
[161/162] Compiling CryptoSwift ZeroPadding.swift
[162/162] Compiling CryptoSwift resource_bundle_accessor.swift
[164/165] Emitting module Multihash
[165/165] Compiling Multihash Multihash.swift
Build complete! (43.60s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-varint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "0.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-libp2p/swift-varint.git"
    },
    {
      "identity" : "swift-multibase",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "0.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-libp2p/swift-multibase.git"
    },
    {
      "identity" : "swift-multicodec",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "0.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-libp2p/swift-multicodec.git"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.9.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
    }
  ],
  "manifest_display_name" : "swift-multihash",
  "name" : "swift-multihash",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Multihash",
      "targets" : [
        "Multihash"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MultihashTests",
      "module_type" : "SwiftTarget",
      "name" : "MultihashTests",
      "path" : "Tests/MultihashTests",
      "sources" : [
        "MultihashTests.swift",
        "TestValues.swift"
      ],
      "target_dependencies" : [
        "Multihash"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Multihash",
      "module_type" : "SwiftTarget",
      "name" : "Multihash",
      "path" : "Sources/Multihash",
      "product_dependencies" : [
        "VarInt",
        "Multibase",
        "Multicodec",
        "CryptoSwift"
      ],
      "product_memberships" : [
        "Multihash"
      ],
      "sources" : [
        "Multihash.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Done.