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-multicodec, reference main (f79e85), with Swift 5.9 for Linux on 2 Mar 2025 00:59:29 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-libp2p/swift-multicodec.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-multicodec
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f79e854 Added license file
Cloned https://github.com/swift-libp2p/swift-multicodec.git
Revision (git rev-parse @):
f79e8540d38995857b7941737143f68ea9252871
SUCCESS checkout https://github.com/swift-libp2p/swift-multicodec.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/swift-libp2p/swift-multicodec.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/swift-libp2p/swift-varint.git
[1/108] Fetching swift-varint
Fetched https://github.com/swift-libp2p/swift-varint.git (0.21s)
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.37s)
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...
[1/7] Compiling VarInt VarInt.swift
[2/7] Compiling VarInt BinaryEncoder.swift
[3/7] Emitting module VarInt
[5/9] Compiling Updater main.swift
[6/9] Emitting module Updater
[9/15] Wrapping AST for Updater for debugging
[10/15] Linking update-codecs
[12/15] Compiling Multicodec Codecs+Equatable.swift
[13/15] Compiling Multicodec Multicodec.swift
[14/15] Emitting module Multicodec
[15/15] Compiling Multicodec Codecs.swift
Build complete! (7.92s)
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"
    }
  ],
  "manifest_display_name" : "swift-multicodec",
  "name" : "swift-multicodec",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "update-codecs",
      "targets" : [
        "Updater"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Multicodec",
      "targets" : [
        "Multicodec"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Updater",
      "module_type" : "SwiftTarget",
      "name" : "Updater",
      "path" : "Sources/Updater",
      "product_memberships" : [
        "update-codecs"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MulticodecTests",
      "module_type" : "SwiftTarget",
      "name" : "MulticodecTests",
      "path" : "Tests/MulticodecTests",
      "sources" : [
        "MulticodecTests.swift"
      ],
      "target_dependencies" : [
        "Multicodec"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Multicodec",
      "module_type" : "SwiftTarget",
      "name" : "Multicodec",
      "path" : "Sources/Multicodec",
      "product_dependencies" : [
        "VarInt"
      ],
      "product_memberships" : [
        "Multicodec"
      ],
      "sources" : [
        "Codecs+Equatable.swift",
        "Codecs.swift",
        "Multicodec.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Done.