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 (4087ab), with Swift 6.0 for macOS (SPM) on 15 Sep 2024 23:17:54 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
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 4087ab5 Update build+test.yml
Cloned https://github.com/swift-libp2p/swift-varint.git
Revision (git rev-parse @):
4087ab5aa44b3bc7b072793a0cb05fbcd22355ac
SUCCESS checkout https://github.com/swift-libp2p/swift-varint.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/swift-libp2p/swift-varint.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-117DEE11B69C53C9.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:41:17: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 39 |     private mutating func append(contentsOf bufferPointer: UnsafeBufferPointer<UInt8>) {
 40 |         let count = bufferPointer.count
 41 |         pointer.assign(from: bufferPointer.baseAddress!, count: count)
    |                 |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
    |                 `- note: use 'update(from:count:)' instead
 42 |         pointer = pointer.advanced(by: count)
 43 |     }
Build complete! (6.73s)
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",
        "XCTestManifests.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.2"
}
Done.