This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 BinaryCoder with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tgu/BinaryCoder.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tgu/BinaryCoder
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at faf1ad8 Update Package.swift
Cloned https://github.com/tgu/BinaryCoder.git
Revision (git rev-parse @):
faf1ad80ded23af2841c0dfbbf88015811f22a39
SUCCESS checkout https://github.com/tgu/BinaryCoder.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/tgu/BinaryCoder.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/7] Compiling BinaryCoder BinaryEncoder.swift
[4/7] Compiling BinaryCoder BinaryDecoder.swift
/Users/admin/builder/spi-builder-workspace/Source/BinaryDecoder.swift:14:5: warning: 'public' modifier is redundant for initializer declared in a public extension
 12 | /// compiler.
 13 | public extension BinaryDecodable {
 14 |     public init(fromBinary decoder: BinaryDecoder) throws {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
 15 |         try self.init(from: decoder)
 16 |     }
/Users/admin/builder/spi-builder-workspace/Source/BinaryDecoder.swift:129:46: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
127 |     /// swapping or other postprocessing is done.
128 |     func read<T>(into: inout T) throws {
129 |         try read(MemoryLayout<T>.size, into: &into)
    |                                              `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
130 |     }
131 | }
[5/7] Compiling BinaryCoder BinaryCodable.swift
[6/7] Compiling BinaryCoder BinaryCodableExtensions.swift
[7/7] Emitting module BinaryCoder
/Users/admin/builder/spi-builder-workspace/Source/BinaryDecoder.swift:14:5: warning: 'public' modifier is redundant for initializer declared in a public extension
 12 | /// compiler.
 13 | public extension BinaryDecodable {
 14 |     public init(fromBinary decoder: BinaryDecoder) throws {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
 15 |         try self.init(from: decoder)
 16 |     }
Build complete! (16.39s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BinaryCoder",
  "name" : "BinaryCoder",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BinaryCoder",
      "targets" : [
        "BinaryCoder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BinaryCoderTests",
      "module_type" : "SwiftTarget",
      "name" : "BinaryCoderTests",
      "path" : "BinaryEncoderTests",
      "sources" : [
        "BinaryCoderTests.swift"
      ],
      "target_dependencies" : [
        "BinaryCoder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BinaryCoder",
      "module_type" : "SwiftTarget",
      "name" : "BinaryCoder",
      "path" : "Source",
      "product_memberships" : [
        "BinaryCoder"
      ],
      "sources" : [
        "BinaryCodable.swift",
        "BinaryCodableExtensions.swift",
        "BinaryDecoder.swift",
        "BinaryEncoder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.