The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of swift-multihash, reference main (5eacb3), with Swift 6.0 for Linux on 28 Feb 2025 22:45:23 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-libp2p/swift-multihash.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/swift-libp2p/swift-multihash
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5eacb30 Merge pull request #10 from swift-libp2p/soundness
Cloned https://github.com/swift-libp2p/swift-multihash.git
Revision (git rev-parse @):
5eacb30248808ca6da86d2dec45d7b9a9957227a
SUCCESS checkout https://github.com/swift-libp2p/swift-multihash.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
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"
      ],
      "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.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/swift-libp2p/swift-multibase.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/swift-libp2p/swift-varint.git
Fetching https://github.com/swift-libp2p/swift-multicodec.git
[1/285] Fetching swift-multicodec
[286/445] Fetching swift-multicodec, swift-multibase
[293/553] Fetching swift-multicodec, swift-multibase, swift-varint
[554/13485] Fetching swift-multicodec, swift-multibase, swift-varint, cryptoswift
Fetched https://github.com/swift-libp2p/swift-varint.git from cache (1.04s)
Fetched https://github.com/swift-libp2p/swift-multibase.git from cache (1.04s)
Fetched https://github.com/swift-libp2p/swift-multicodec.git from cache (1.04s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.06s)
Computing version for https://github.com/swift-libp2p/swift-varint.git
Computed https://github.com/swift-libp2p/swift-varint.git at 0.0.2 (0.51s)
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.51s)
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.17s)
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.51s)
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.52s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (0.52s)
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-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-varint.git
Working copy of https://github.com/swift-libp2p/swift-varint.git resolved at 0.0.2
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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Building for debugging...
[0/12] Write sources
[1/12] Copying PrivacyInfo.xcprivacy
[2/12] Write sources
[11/12] Write swift-version-24593BA9C3E375BF.txt
[13/134] Emitting module VarInt
[14/134] Emitting module Base64
[15/134] Compiling Base32 BlockDecoding.swift
[16/134] Compiling Base8 Quintets.swift
[17/134] Compiling Base32 BlockEncoding.swift
[18/134] Compiling Base32 Quintets.swift
[19/134] Compiling Base8 BlockEncoding.swift
[20/134] Compiling Base8 BlockDecoding.swift
[21/134] Compiling CryptoSwift BlockEncryptor.swift
[22/134] Compiling CryptoSwift BlockMode.swift
[23/134] Compiling CryptoSwift BlockModeOptions.swift
[24/134] Compiling CryptoSwift CBC.swift
[25/134] Compiling CryptoSwift CCM.swift
[26/134] Compiling CryptoSwift CFB.swift
[27/134] Compiling CryptoSwift CTR.swift
[28/134] Compiling CryptoSwift CipherModeWorker.swift
[29/134] Compiling CryptoSwift ECB.swift
[30/134] Compiling CryptoSwift GCM.swift
[31/134] Compiling CryptoSwift OCB.swift
[32/134] Compiling CryptoSwift OFB.swift
[33/134] Compiling CryptoSwift PCBC.swift
[34/134] Compiling CryptoSwift Blowfish.swift
[35/134] Compiling CryptoSwift CBCMAC.swift
[36/148] Compiling Base64 Base64.swift
[37/149] Compiling Base8 Base8.swift
[38/149] Compiling CryptoSwift XChaCha20+Foundation.swift
[39/149] Compiling CryptoSwift Generics.swift
[40/149] Compiling CryptoSwift HKDF.swift
[41/149] Compiling CryptoSwift HMAC.swift
[42/149] Compiling CryptoSwift ISO10126Padding.swift
[43/149] Compiling CryptoSwift ISO78164Padding.swift
[44/149] Compiling CryptoSwift Int+Extension.swift
[45/149] Compiling CryptoSwift MD5.swift
[46/149] Compiling CryptoSwift NoPadding.swift
[47/149] Compiling CryptoSwift Operators.swift
[48/149] Compiling CryptoSwift DER.swift
[49/149] Compiling CryptoSwift PBKDF1.swift
[50/149] Compiling CryptoSwift PBKDF2.swift
[51/149] Compiling CryptoSwift PKCS1v15.swift
[52/149] Emitting module BaseX
[53/149] Compiling BaseX BaseX.swift
[54/150] Compiling CryptoSwift CompactMap.swift
[55/150] Compiling CryptoSwift Cryptor.swift
[56/150] Compiling CryptoSwift Cryptors.swift
[57/150] Compiling CryptoSwift Digest.swift
[58/150] Compiling CryptoSwift DigestType.swift
[59/150] Compiling CryptoSwift AES+Foundation.swift
[60/150] Compiling CryptoSwift Array+Foundation.swift
[61/150] Compiling CryptoSwift Blowfish+Foundation.swift
[62/150] Compiling CryptoSwift ChaCha20+Foundation.swift
[63/150] Compiling CryptoSwift Data+Extension.swift
[64/150] Compiling CryptoSwift HMAC+Foundation.swift
[65/150] Compiling CryptoSwift Rabbit+Foundation.swift
[66/150] Compiling CryptoSwift String+FoundationExtension.swift
[67/150] Compiling CryptoSwift Utils+Foundation.swift
[68/150] Compiling VarInt VarInt.swift
[70/150] Emitting module Base8
[71/150] Compiling Base8 Alphabet.swift
[73/151] Compiling CryptoSwift IntegerConversion.swift
[74/151] Compiling CryptoSwift Multiplication.swift
[75/151] Compiling CryptoSwift PrimeTest.swift
[76/151] Compiling CryptoSwift Random.swift
[77/151] Compiling CryptoSwift Shifts.swift
[78/151] Compiling CryptoSwift SquareRoot.swift
[79/151] Compiling CryptoSwift Strideable.swift
[80/151] Compiling CryptoSwift StringConversion.swift
[81/151] Compiling CryptoSwift Subtraction.swift
[82/151] Compiling CryptoSwift WordsAndBits.swift
[83/151] Compiling CryptoSwift ChaCha20.swift
[84/151] Compiling CryptoSwift Checksum.swift
[85/151] Compiling CryptoSwift Cipher.swift
[86/151] Compiling CryptoSwift Collection+Extension.swift
[87/151] Compiling Base32 Alphabets.swift
[88/151] Compiling CryptoSwift CMAC.swift
[89/151] Compiling CryptoSwift Addition.swift
[90/151] Compiling CryptoSwift BigInt.swift
[91/151] Compiling CryptoSwift BigUInt.swift
[92/151] Compiling CryptoSwift BitwiseOps.swift
[93/151] Compiling CryptoSwift CS.swift
[94/151] Compiling CryptoSwift Codable.swift
[95/151] Compiling CryptoSwift Comparable.swift
[96/151] Compiling CryptoSwift DataConversion.swift
[97/151] Compiling CryptoSwift Division.swift
[98/151] Compiling CryptoSwift Exponentiation.swift
[99/151] Compiling CryptoSwift FloatingPointConversion.swift
[100/151] Compiling CryptoSwift GCD.swift
[101/151] Compiling CryptoSwift Hashable.swift
[102/151] Emitting module Base32
[103/151] Compiling VarInt BinaryEncoder.swift
[104/152] Compiling Base32 Base32.swift
[105/153] Emitting module CryptoSwift
[106/153] Compiling CryptoSwift AEAD.swift
[107/153] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[108/153] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[109/153] Compiling CryptoSwift AES.Cryptors.swift
[110/153] Compiling CryptoSwift AES.swift
[111/153] Compiling CryptoSwift ASN1.swift
[112/153] Compiling CryptoSwift ASN1Decoder.swift
[113/153] Compiling CryptoSwift ASN1Encoder.swift
[114/153] Compiling CryptoSwift ASN1Scanner.swift
[115/153] Compiling CryptoSwift Array+Extension.swift
[116/153] Compiling CryptoSwift Authenticator.swift
[117/153] Compiling CryptoSwift BatchedCollection.swift
[118/153] Compiling CryptoSwift Bit.swift
[119/153] Compiling CryptoSwift BlockCipher.swift
[120/153] Compiling CryptoSwift BlockDecryptor.swift
[122/153] Compiling Base2 Base2.swift
[123/153] Emitting module Base2
[127/160] Compiling CryptoSwift PKCS5.swift
[128/160] Compiling CryptoSwift PKCS7.swift
[129/160] Compiling CryptoSwift PKCS7Padding.swift
[130/160] Compiling CryptoSwift Padding.swift
[131/160] Compiling CryptoSwift Poly1305.swift
[132/160] Compiling CryptoSwift RSA+Cipher.swift
[133/160] Compiling CryptoSwift RSA+Signature.swift
[134/160] Compiling CryptoSwift RSA.swift
[135/160] Compiling CryptoSwift Rabbit.swift
[136/160] Compiling CryptoSwift SHA1.swift
[137/160] Compiling CryptoSwift SHA2.swift
[138/160] Compiling CryptoSwift SHA3.swift
[139/160] Compiling CryptoSwift Scrypt.swift
[140/160] Compiling CryptoSwift SecureBytes.swift
[141/160] Emitting module Multibase
[142/160] Compiling Multibase Multibase.swift
[144/161] Compiling CryptoSwift Signature.swift
[145/161] Compiling CryptoSwift StreamDecryptor.swift
[146/161] Compiling CryptoSwift StreamEncryptor.swift
[147/161] Compiling CryptoSwift String+Extension.swift
[148/161] Compiling CryptoSwift UInt128.swift
[149/161] Compiling CryptoSwift UInt16+Extension.swift
[150/161] Compiling CryptoSwift UInt32+Extension.swift
[151/161] Compiling CryptoSwift UInt64+Extension.swift
[152/161] Compiling CryptoSwift UInt8+Extension.swift
[153/161] Compiling CryptoSwift Updatable.swift
[154/161] Compiling CryptoSwift Utils.swift
[155/161] Compiling CryptoSwift XChaCha20.swift
[156/161] Compiling CryptoSwift ZeroPadding.swift
[157/161] Compiling CryptoSwift resource_bundle_accessor.swift
[159/162] Compiling Multicodec Multicodec.swift
[160/162] Emitting module Multicodec
[161/162] Compiling Multicodec Codecs+Equatable.swift
[162/162] Compiling Multicodec Codecs.swift
[164/165] Emitting module Multihash
[165/165] Compiling Multihash Multihash.swift
Build complete! (27.20s)
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"
      ],
      "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.5"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.