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 1.1.0 (906e96), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 11:41:38 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tgu/BinaryCoder.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tgu/BinaryCoder
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 906e967 swift 4.2
Cloned https://github.com/tgu/BinaryCoder.git
Revision (git rev-parse @):
906e9678012191c85f990995660e2614dd0abd0f
SUCCESS checkout https://github.com/tgu/BinaryCoder.git at 1.1.0
========================================
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.73s)
Creating working copy for https://github.com/tgu/BinaryCoder.git
Working copy of https://github.com/tgu/BinaryCoder.git resolved at 1.1.0 (906e967)
warning: '.resolve-product-dependencies': dependency 'binarycoder' 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/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.2"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.txt
[3/7] Compiling BinaryCoder BinaryEncoder.swift
[4/7] Compiling BinaryCoder BinaryCodable.swift
[5/7] Emitting module BinaryCoder
[6/7] Compiling BinaryCoder BinaryCodableExtensions.swift
[7/7] Compiling BinaryCoder BinaryDecoder.swift
/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 | }
Build complete! (6.58s)
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.2"
}
Done.