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-varint, reference main (1ea4cd), with Swift 6.0 for macOS (SPM) on 28 Feb 2025 06:44:27 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-libp2p/swift-varint.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swift-libp2p/swift-varint
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1ea4cd2 Merge pull request #1 from swift-libp2p/soundness
Cloned https://github.com/swift-libp2p/swift-varint.git
Revision (git rev-parse @):
1ea4cd2ea5f1c74527600de659f0805d2e12fa6b
SUCCESS checkout https://github.com/swift-libp2p/swift-varint.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-varint",
      "name": "swift-varint",
      "url": "https://github.com/swift-libp2p/swift-varint.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-varint",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/swift-libp2p/swift-varint.git
[1/108] Fetching swift-varint
Fetched https://github.com/swift-libp2p/swift-varint.git from cache (0.69s)
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 main (1ea4cd2)
warning: '.resolve-product-dependencies': dependency 'swift-varint' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/swift-libp2p/swift-varint.git
https://github.com/swift-libp2p/swift-varint.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-varint",
  "name" : "swift-varint",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "VarInt",
      "targets" : [
        "VarInt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VarIntTests",
      "module_type" : "SwiftTarget",
      "name" : "VarIntTests",
      "path" : "Tests/VarIntTests",
      "sources" : [
        "VarIntTests.swift"
      ],
      "target_dependencies" : [
        "VarInt"
      ],
      "type" : "test"
    },
    {
      "c99name" : "VarInt",
      "module_type" : "SwiftTarget",
      "name" : "VarInt",
      "path" : "Sources/VarInt",
      "product_memberships" : [
        "VarInt"
      ],
      "sources" : [
        "BinaryEncoder.swift",
        "VarInt.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/5] Compiling VarInt VarInt.swift
[4/5] Emitting module VarInt
[5/5] Compiling VarInt BinaryEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/VarInt/BinaryEncoder.swift:53:17: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 51 |     private mutating func append(contentsOf bufferPointer: UnsafeBufferPointer<UInt8>) {
 52 |         let count = bufferPointer.count
 53 |         pointer.assign(from: bufferPointer.baseAddress!, count: count)
    |                 |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
    |                 `- note: use 'update(from:count:)' instead
 54 |         pointer = pointer.advanced(by: count)
 55 |     }
Build complete! (6.15s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-varint",
  "name" : "swift-varint",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "VarInt",
      "targets" : [
        "VarInt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VarIntTests",
      "module_type" : "SwiftTarget",
      "name" : "VarIntTests",
      "path" : "Tests/VarIntTests",
      "sources" : [
        "VarIntTests.swift"
      ],
      "target_dependencies" : [
        "VarInt"
      ],
      "type" : "test"
    },
    {
      "c99name" : "VarInt",
      "module_type" : "SwiftTarget",
      "name" : "VarInt",
      "path" : "Sources/VarInt",
      "product_memberships" : [
        "VarInt"
      ],
      "sources" : [
        "BinaryEncoder.swift",
        "VarInt.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.