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, reference master (faf1ad), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 06:08:30 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.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
========================================
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": "binarycoder",
      "name": "BinaryCoder",
      "url": "https://github.com/tgu/BinaryCoder.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BinaryCoder",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/tgu/BinaryCoder.git
[1/168] Fetching binarycoder
Fetched https://github.com/tgu/BinaryCoder.git from cache (0.70s)
Creating working copy for https://github.com/tgu/BinaryCoder.git
Working copy of https://github.com/tgu/BinaryCoder.git resolved at master (faf1ad8)
warning: '.resolve-product-dependencies': dependency 'binarycoder' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tgu/BinaryCoder.git
https://github.com/tgu/BinaryCoder.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.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! (4.12s)
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.