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.0.4 (7ea5a9), with Swift 6.1 for Wasm on 29 May 2025 09:19:54 UTC.

Swift 6 data race errors: 0

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 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-libp2p/swift-multihash.git
Reference: 0.0.4
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.0.4      -> FETCH_HEAD
HEAD is now at 7ea5a98 Commented out print statements
Cloned https://github.com/swift-libp2p/swift-multihash.git
Revision (git rev-parse @):
7ea5a9866bd341601fa61647d521880944139353
SUCCESS checkout https://github.com/swift-libp2p/swift-multihash.git at 0.0.4
========================================
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.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-libp2p/swift-varint.git"
    },
    {
      "identity" : "swift-multibase",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-libp2p/swift-multibase.git"
    },
    {
      "identity" : "swift-multicodec",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-libp2p/swift-multicodec.git"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.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" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "Multihash",
      "targets" : [
        "Multihash"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MultihashTests",
      "module_type" : "SwiftTarget",
      "name" : "MultihashTests",
      "path" : "Tests/MultihashTests",
      "sources" : [
        "MultihashTests.swift",
        "TestValues.swift",
        "XCTestManifests.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" : "5.1"
}
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/swift-libp2p/swift-varint.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/swift-libp2p/swift-multicodec.git
Fetching https://github.com/swift-libp2p/swift-multibase.git
[1/163] Fetching swift-multibase
[140/452] Fetching swift-multibase, swift-multicodec
[453/560] Fetching swift-multibase, swift-multicodec, swift-varint
[558/13501] Fetching swift-multibase, swift-multicodec, swift-varint, cryptoswift
Fetched https://github.com/swift-libp2p/swift-multibase.git from cache (0.37s)
Fetched https://github.com/swift-libp2p/swift-multicodec.git from cache (0.38s)
Fetched https://github.com/swift-libp2p/swift-varint.git from cache (0.38s)
[1942/12941] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.70s)
Computing version for https://github.com/swift-libp2p/swift-varint.git
Computed https://github.com/swift-libp2p/swift-varint.git at 0.0.2 (2.29s)
Computing version for https://github.com/swift-libp2p/swift-multibase.git
Computed https://github.com/swift-libp2p/swift-multibase.git at 0.0.3 (0.58s)
Fetching https://github.com/swift-libp2p/swift-bases.git
[1/286] Fetching swift-bases
Fetched https://github.com/swift-libp2p/swift-bases.git from cache (0.26s)
Computing version for https://github.com/swift-libp2p/swift-bases.git
Computed https://github.com/swift-libp2p/swift-bases.git at 0.0.4 (0.82s)
Computing version for https://github.com/swift-libp2p/swift-multicodec.git
Computed https://github.com/swift-libp2p/swift-multicodec.git at 0.0.8 (0.59s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (0.61s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
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.0.3
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.0.4
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.0.8
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.0.2
Building for debugging...
[0/12] Write sources
[9/12] Copying PrivacyInfo.xcprivacy
[10/12] Write sources
[11/12] Write swift-version-24593BA9C3E375BF.txt
[13/134] Emitting module Base2
[14/134] Emitting module Base8
[15/134] Compiling Base8 Quintets.swift
[16/134] Compiling Base8 BlockEncoding.swift
[17/134] Compiling Base8 BlockDecoding.swift
[18/134] Compiling Base32 BlockEncoding.swift
[19/134] Compiling Base32 BlockDecoding.swift
[20/134] Compiling Base32 Quintets.swift
[21/134] Compiling Base8 Alphabet.swift
[22/134] Emitting module Base64
[23/134] Compiling Base64 Base64.swift
[24/135] Compiling CryptoSwift IntegerConversion.swift
[25/135] Compiling CryptoSwift Multiplication.swift
[26/135] Compiling CryptoSwift PrimeTest.swift
[27/135] Compiling CryptoSwift Random.swift
[28/135] Compiling CryptoSwift Shifts.swift
[29/135] Compiling CryptoSwift SquareRoot.swift
[30/135] Compiling CryptoSwift Strideable.swift
[31/135] Compiling CryptoSwift StringConversion.swift
[32/135] Compiling CryptoSwift Subtraction.swift
[33/135] Compiling CryptoSwift WordsAndBits.swift
[34/135] Compiling CryptoSwift ChaCha20.swift
[35/135] Compiling CryptoSwift Checksum.swift
[36/135] Compiling CryptoSwift Cipher.swift
[37/135] Compiling CryptoSwift Collection+Extension.swift
[38/149] Compiling VarInt VarInt.swift
[39/149] Compiling Base32 Base32.swift
[40/149] Emitting module BaseX
[41/149] Compiling BaseX BaseX.swift
[42/150] Compiling Base8 Base8.swift
[43/150] Compiling Base2 Base2.swift
[44/150] Emitting module Base32
[45/150] Compiling Base32 Alphabets.swift
[46/153] Emitting module VarInt
[47/153] Compiling VarInt BinaryEncoder.swift
[54/154] Compiling CryptoSwift CMAC.swift
[55/154] Compiling CryptoSwift Addition.swift
[56/154] Compiling CryptoSwift BigInt.swift
[57/154] Compiling CryptoSwift BigUInt.swift
[58/154] Compiling CryptoSwift BitwiseOps.swift
[59/154] Compiling CryptoSwift CS.swift
[60/154] Compiling CryptoSwift Codable.swift
[61/154] Compiling CryptoSwift Comparable.swift
[62/154] Compiling CryptoSwift DataConversion.swift
[63/154] Compiling CryptoSwift Division.swift
[64/154] Compiling CryptoSwift Exponentiation.swift
[65/154] Compiling CryptoSwift FloatingPointConversion.swift
[66/154] Compiling CryptoSwift GCD.swift
[67/154] Compiling CryptoSwift Hashable.swift
[68/160] Emitting module Multibase
[69/160] Compiling Multibase Multibase.swift
[70/160] Compiling Multicodec Multicodec.swift
[72/161] Emitting module CryptoSwift
[73/161] Compiling CryptoSwift AEAD.swift
[74/161] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[75/161] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[76/161] Compiling CryptoSwift AES.Cryptors.swift
[77/161] Compiling CryptoSwift AES.swift
[78/161] Compiling CryptoSwift ASN1.swift
[79/161] Compiling CryptoSwift ASN1Decoder.swift
[80/161] Compiling CryptoSwift ASN1Encoder.swift
[81/161] Compiling CryptoSwift ASN1Scanner.swift
[82/161] Compiling CryptoSwift Array+Extension.swift
[83/161] Compiling CryptoSwift Authenticator.swift
[84/161] Compiling CryptoSwift BatchedCollection.swift
[85/161] Compiling CryptoSwift Bit.swift
[86/161] Compiling CryptoSwift BlockCipher.swift
[87/161] Compiling CryptoSwift BlockDecryptor.swift
[88/161] Compiling CryptoSwift BlockEncryptor.swift
[89/161] Compiling CryptoSwift BlockMode.swift
[90/161] Compiling CryptoSwift BlockModeOptions.swift
[91/161] Compiling CryptoSwift CBC.swift
[92/161] Compiling CryptoSwift CCM.swift
[93/161] Compiling CryptoSwift CFB.swift
[94/161] Compiling CryptoSwift CTR.swift
[95/161] Compiling CryptoSwift CipherModeWorker.swift
[96/161] Compiling CryptoSwift ECB.swift
[97/161] Compiling CryptoSwift GCM.swift
[98/161] Compiling CryptoSwift OCB.swift
[99/161] Compiling CryptoSwift OFB.swift
[100/161] Compiling CryptoSwift PCBC.swift
[101/161] Compiling CryptoSwift Blowfish.swift
[102/161] Compiling CryptoSwift CBCMAC.swift
[103/161] Compiling CryptoSwift Signature.swift
[104/161] Compiling CryptoSwift StreamDecryptor.swift
[105/161] Compiling CryptoSwift StreamEncryptor.swift
[106/161] Compiling CryptoSwift String+Extension.swift
[107/161] Compiling CryptoSwift UInt128.swift
[108/161] Compiling CryptoSwift UInt16+Extension.swift
[109/161] Compiling CryptoSwift UInt32+Extension.swift
[110/161] Compiling CryptoSwift UInt64+Extension.swift
[111/161] Compiling CryptoSwift UInt8+Extension.swift
[112/161] Compiling CryptoSwift Updatable.swift
[113/161] Compiling CryptoSwift Utils.swift
[114/161] Compiling CryptoSwift XChaCha20.swift
[115/161] Compiling CryptoSwift ZeroPadding.swift
[116/161] Compiling CryptoSwift resource_bundle_accessor.swift
[117/161] Compiling Multicodec Codecs+Equatable.swift
[118/161] Emitting module Multicodec
[119/161] Compiling Multicodec Codecs.swift
[121/162] Compiling CryptoSwift CompactMap.swift
[122/162] Compiling CryptoSwift Cryptor.swift
[123/162] Compiling CryptoSwift Cryptors.swift
[124/162] Compiling CryptoSwift Digest.swift
[125/162] Compiling CryptoSwift DigestType.swift
[126/162] Compiling CryptoSwift AES+Foundation.swift
[127/162] Compiling CryptoSwift Array+Foundation.swift
[128/162] Compiling CryptoSwift Blowfish+Foundation.swift
[129/162] Compiling CryptoSwift ChaCha20+Foundation.swift
[130/162] Compiling CryptoSwift Data+Extension.swift
[131/162] Compiling CryptoSwift HMAC+Foundation.swift
[132/162] Compiling CryptoSwift Rabbit+Foundation.swift
[133/162] Compiling CryptoSwift String+FoundationExtension.swift
[134/162] Compiling CryptoSwift Utils+Foundation.swift
[135/162] Compiling CryptoSwift PKCS5.swift
[136/162] Compiling CryptoSwift PKCS7.swift
[137/162] Compiling CryptoSwift PKCS7Padding.swift
[138/162] Compiling CryptoSwift Padding.swift
[139/162] Compiling CryptoSwift Poly1305.swift
[140/162] Compiling CryptoSwift RSA+Cipher.swift
[141/162] Compiling CryptoSwift RSA+Signature.swift
[142/162] Compiling CryptoSwift RSA.swift
[143/162] Compiling CryptoSwift Rabbit.swift
[144/162] Compiling CryptoSwift SHA1.swift
[145/162] Compiling CryptoSwift SHA2.swift
[146/162] Compiling CryptoSwift SHA3.swift
[147/162] Compiling CryptoSwift Scrypt.swift
[148/162] Compiling CryptoSwift SecureBytes.swift
[149/162] Compiling CryptoSwift XChaCha20+Foundation.swift
[150/162] Compiling CryptoSwift Generics.swift
[151/162] Compiling CryptoSwift HKDF.swift
[152/162] Compiling CryptoSwift HMAC.swift
[153/162] Compiling CryptoSwift ISO10126Padding.swift
[154/162] Compiling CryptoSwift ISO78164Padding.swift
[155/162] Compiling CryptoSwift Int+Extension.swift
[156/162] Compiling CryptoSwift MD5.swift
[157/162] Compiling CryptoSwift NoPadding.swift
[158/162] Compiling CryptoSwift Operators.swift
[159/162] Compiling CryptoSwift DER.swift
[160/162] Compiling CryptoSwift PBKDF1.swift
[161/162] Compiling CryptoSwift PBKDF2.swift
[162/162] Compiling CryptoSwift PKCS1v15.swift
[164/165] Compiling Multihash Multihash.swift
[165/165] Emitting module Multihash
Build complete! (43.98s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-varint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-libp2p/swift-varint.git"
    },
    {
      "identity" : "swift-multibase",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-libp2p/swift-multibase.git"
    },
    {
      "identity" : "swift-multicodec",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-libp2p/swift-multicodec.git"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.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" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "Multihash",
      "targets" : [
        "Multihash"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MultihashTests",
      "module_type" : "SwiftTarget",
      "name" : "MultihashTests",
      "path" : "Tests/MultihashTests",
      "sources" : [
        "MultihashTests.swift",
        "TestValues.swift",
        "XCTestManifests.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" : "5.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
Done.