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.1 for Wasm on 2 Nov 2025 01:31:10 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 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.1
Building package at path:  $PWD
https://github.com/swift-libp2p/swift-multihash.git
https://github.com/swift-libp2p/swift-multihash.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/swift-libp2p/swift-varint.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/swift-libp2p/swift-multibase.git
Fetching https://github.com/swift-libp2p/swift-multicodec.git
[1/195] Fetching swift-multibase
[196/318] Fetching swift-multibase, swift-varint
[200/662] Fetching swift-multibase, swift-varint, swift-multicodec
Fetched https://github.com/swift-libp2p/swift-multibase.git from cache (0.29s)
Fetched https://github.com/swift-libp2p/swift-multicodec.git from cache (0.30s)
[5/13228] Fetching swift-varint, cryptoswift
Fetched https://github.com/swift-libp2p/swift-varint.git from cache (1.97s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.00s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (4.13s)
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.52s)
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.50s)
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.53s)
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.21s)
Computing version for https://github.com/swift-libp2p/swift-bases.git
Computed https://github.com/swift-libp2p/swift-bases.git at 0.2.0 (0.79s)
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-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-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-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/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] Compiling Base8 BlockDecoding.swift
[14/134] Compiling Base32 BlockEncoding.swift
[15/134] Compiling Base32 Quintets.swift
[16/134] Compiling Base8 BlockEncoding.swift
[17/134] Compiling Base8 Quintets.swift
[18/134] Compiling Base32 BlockDecoding.swift
[19/134] Emitting module Base8
[20/134] Compiling Base8 Alphabet.swift
[21/134] Compiling Base8 Base8.swift
[22/135] Emitting module Base2
[23/135] Compiling Base2 Base2.swift
[24/135] Emitting module VarInt
[25/135] Compiling VarInt BinaryEncoder.swift
[26/135] Compiling VarInt VarInt.swift
[27/137] Compiling Base64 Base64.swift
[28/137] Emitting module Base64
[29/138] Emitting module BaseX
[30/138] Compiling BaseX BaseX.swift
[32/139] Compiling Base32 Alphabets.swift
[33/139] Compiling Base32 Base32.swift
[34/139] Emitting module Base32
[40/140] Compiling CryptoSwift CMAC.swift
[41/140] Compiling CryptoSwift Addition.swift
[42/140] Compiling CryptoSwift BigInt.swift
[43/140] Compiling CryptoSwift BigUInt.swift
[44/140] Compiling CryptoSwift BitwiseOps.swift
[45/140] Compiling CryptoSwift CS.swift
[46/140] Compiling CryptoSwift Codable.swift
[47/140] Compiling CryptoSwift Comparable.swift
[48/140] Compiling CryptoSwift DataConversion.swift
[49/140] Compiling CryptoSwift Division.swift
[50/140] Compiling CryptoSwift Exponentiation.swift
[51/140] Compiling CryptoSwift FloatingPointConversion.swift
[52/140] Compiling CryptoSwift GCD.swift
[53/140] Compiling CryptoSwift Hashable.swift
[54/160] Compiling Multicodec Multicodec.swift
[55/160] Compiling Multibase Multibase.swift
[56/160] Emitting module Multibase
[58/161] Compiling CryptoSwift IntegerConversion.swift
[59/161] Compiling CryptoSwift Multiplication.swift
[60/161] Compiling CryptoSwift PrimeTest.swift
[61/161] Compiling CryptoSwift Random.swift
[62/161] Compiling CryptoSwift Shifts.swift
[63/161] Compiling CryptoSwift SquareRoot.swift
[64/161] Compiling CryptoSwift Strideable.swift
[65/161] Compiling CryptoSwift StringConversion.swift
[66/161] Compiling CryptoSwift Subtraction.swift
[67/161] Compiling CryptoSwift WordsAndBits.swift
[68/161] Compiling CryptoSwift ChaCha20.swift
[69/161] Compiling CryptoSwift Checksum.swift
[70/161] Compiling CryptoSwift Cipher.swift
[71/161] Compiling CryptoSwift Collection+Extension.swift
[72/161] Compiling CryptoSwift BlockEncryptor.swift
[73/161] Compiling CryptoSwift BlockMode.swift
[74/161] Compiling CryptoSwift BlockModeOptions.swift
[75/161] Compiling CryptoSwift CBC.swift
[76/161] Compiling CryptoSwift CCM.swift
[77/161] Compiling CryptoSwift CFB.swift
[78/161] Compiling CryptoSwift CTR.swift
[79/161] Compiling CryptoSwift CipherModeWorker.swift
[80/161] Compiling CryptoSwift ECB.swift
[81/161] Compiling CryptoSwift GCM.swift
[82/161] Compiling CryptoSwift OCB.swift
[83/161] Compiling CryptoSwift OFB.swift
[84/161] Compiling CryptoSwift PCBC.swift
[85/161] Compiling CryptoSwift Blowfish.swift
[86/161] Compiling CryptoSwift CBCMAC.swift
[87/161] Compiling Multicodec Codecs+Equatable.swift
[88/161] Compiling Multicodec Codecs.swift
[89/161] Emitting module Multicodec
[91/162] Compiling CryptoSwift Signature.swift
[92/162] Compiling CryptoSwift StreamDecryptor.swift
[93/162] Compiling CryptoSwift StreamEncryptor.swift
[94/162] Compiling CryptoSwift String+Extension.swift
[95/162] Compiling CryptoSwift UInt128.swift
[96/162] Compiling CryptoSwift UInt16+Extension.swift
[97/162] Compiling CryptoSwift UInt32+Extension.swift
[98/162] Compiling CryptoSwift UInt64+Extension.swift
[99/162] Compiling CryptoSwift UInt8+Extension.swift
[100/162] Compiling CryptoSwift Updatable.swift
[101/162] Compiling CryptoSwift Utils.swift
[102/162] Compiling CryptoSwift XChaCha20.swift
[103/162] Compiling CryptoSwift ZeroPadding.swift
[104/162] Compiling CryptoSwift resource_bundle_accessor.swift
[105/162] Compiling CryptoSwift XChaCha20+Foundation.swift
[106/162] Compiling CryptoSwift Generics.swift
[107/162] Compiling CryptoSwift HKDF.swift
[108/162] Compiling CryptoSwift HMAC.swift
[109/162] Compiling CryptoSwift ISO10126Padding.swift
[110/162] Compiling CryptoSwift ISO78164Padding.swift
[111/162] Compiling CryptoSwift Int+Extension.swift
[112/162] Compiling CryptoSwift MD5.swift
[113/162] Compiling CryptoSwift NoPadding.swift
[114/162] Compiling CryptoSwift Operators.swift
[115/162] Compiling CryptoSwift DER.swift
[116/162] Compiling CryptoSwift PBKDF1.swift
[117/162] Compiling CryptoSwift PBKDF2.swift
[118/162] Compiling CryptoSwift PKCS1v15.swift
[119/162] Emitting module CryptoSwift
[120/162] Compiling CryptoSwift CompactMap.swift
[121/162] Compiling CryptoSwift Cryptor.swift
[122/162] Compiling CryptoSwift Cryptors.swift
[123/162] Compiling CryptoSwift Digest.swift
[124/162] Compiling CryptoSwift DigestType.swift
[125/162] Compiling CryptoSwift AES+Foundation.swift
[126/162] Compiling CryptoSwift Array+Foundation.swift
[127/162] Compiling CryptoSwift Blowfish+Foundation.swift
[128/162] Compiling CryptoSwift ChaCha20+Foundation.swift
[129/162] Compiling CryptoSwift Data+Extension.swift
[130/162] Compiling CryptoSwift HMAC+Foundation.swift
[131/162] Compiling CryptoSwift Rabbit+Foundation.swift
[132/162] Compiling CryptoSwift String+FoundationExtension.swift
[133/162] Compiling CryptoSwift Utils+Foundation.swift
[134/162] Compiling CryptoSwift AEAD.swift
[135/162] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[136/162] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[137/162] Compiling CryptoSwift AES.Cryptors.swift
[138/162] Compiling CryptoSwift AES.swift
[139/162] Compiling CryptoSwift ASN1.swift
[140/162] Compiling CryptoSwift ASN1Decoder.swift
[141/162] Compiling CryptoSwift ASN1Encoder.swift
[142/162] Compiling CryptoSwift ASN1Scanner.swift
[143/162] Compiling CryptoSwift Array+Extension.swift
[144/162] Compiling CryptoSwift Authenticator.swift
[145/162] Compiling CryptoSwift BatchedCollection.swift
[146/162] Compiling CryptoSwift Bit.swift
[147/162] Compiling CryptoSwift BlockCipher.swift
[148/162] Compiling CryptoSwift BlockDecryptor.swift
[149/162] Compiling CryptoSwift PKCS5.swift
[150/162] Compiling CryptoSwift PKCS7.swift
[151/162] Compiling CryptoSwift PKCS7Padding.swift
[152/162] Compiling CryptoSwift Padding.swift
[153/162] Compiling CryptoSwift Poly1305.swift
[154/162] Compiling CryptoSwift RSA+Cipher.swift
[155/162] Compiling CryptoSwift RSA+Signature.swift
[156/162] Compiling CryptoSwift RSA.swift
[157/162] Compiling CryptoSwift Rabbit.swift
[158/162] Compiling CryptoSwift SHA1.swift
[159/162] Compiling CryptoSwift SHA2.swift
[160/162] Compiling CryptoSwift SHA3.swift
[161/162] Compiling CryptoSwift Scrypt.swift
[162/162] Compiling CryptoSwift SecureBytes.swift
[164/165] Emitting module Multihash
[165/165] Compiling Multihash Multihash.swift
Build complete! (57.62s)
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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.