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 Chary, reference main (bfa364), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 05:11:51 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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hainayanda/Chary.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hainayanda/Chary
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bfa364d Update README.md
Cloned https://github.com/hainayanda/Chary.git
Revision (git rev-parse @):
bfa364d2bfc1911b53e1fd3ce421da013622cfa8
SUCCESS checkout https://github.com/hainayanda/Chary.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": "chary",
      "name": "Chary",
      "url": "https://github.com/hainayanda/Chary.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Chary",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/hainayanda/Chary.git
[1/514] Fetching chary
Fetched https://github.com/hainayanda/Chary.git from cache (0.92s)
Creating working copy for https://github.com/hainayanda/Chary.git
Working copy of https://github.com/hainayanda/Chary.git resolved at main (bfa364d)
warning: '.resolve-product-dependencies': dependency 'chary' 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/hainayanda/Chary.git
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/5] Emitting module Chary
[4/5] Compiling Chary Atomic.swift
[5/5] Compiling Chary DispatchQueue+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Chary/Classes/DispatchQueue+Extensions.swift:101:52: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
 97 |     /// Perform asynchronous task if in different queue than the target. It will run the block right away if turns out its on the same queue as the target
 98 |     /// - Parameter block: The work item to be invoked on the queue.
 99 |     public func asyncIfNeeded(qos: DispatchQoS = .unspecified, flags: DispatchWorkItemFlags = [], execute block: @escaping () -> Void) {
    |                                                                                                           `- note: parameter 'block' is implicitly non-sendable
100 |         ifAtDifferentQueue {
101 |             async(qos: qos, flags: flags, execute: block)
    |                                                    `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
102 |         } ifNot: {
103 |             block()
Build complete! (6.04s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Chary",
  "name" : "Chary",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "Chary",
      "targets" : [
        "Chary"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Chary",
      "module_type" : "SwiftTarget",
      "name" : "Chary",
      "path" : "Chary/Classes",
      "product_memberships" : [
        "Chary"
      ],
      "sources" : [
        "Atomic.swift",
        "DispatchQueue+Extensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.