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 ShellOut, reference 2.3.0 (e1577a), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 05:44:17 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/JohnSundell/ShellOut.git
Reference: 2.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/JohnSundell/ShellOut
 * tag               2.3.0      -> FETCH_HEAD
HEAD is now at e1577ac Merge pull request #43 from JohnSundell/process-inject
Cloned https://github.com/JohnSundell/ShellOut.git
Revision (git rev-parse @):
e1577acf2b6e90086d01a6d5e2b8efdaae033568
SUCCESS checkout https://github.com/JohnSundell/ShellOut.git at 2.3.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": "shellout",
      "name": "ShellOut",
      "url": "https://github.com/JohnSundell/ShellOut.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ShellOut",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/JohnSundell/ShellOut.git
[1/960] Fetching shellout
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.89s)
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0 (e1577ac)
warning: '.resolve-product-dependencies': dependency 'shellout' 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/JohnSundell/ShellOut.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/4] Emitting module ShellOut
[4/4] Compiling ShellOut ShellOut.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShellOut.swift:401:17: warning: mutation of captured var 'outputData' in concurrently-executing code; this is an error in the Swift 6 language mode
399 |             let data = handler.availableData
400 |             outputQueue.async {
401 |                 outputData.append(data)
    |                 `- warning: mutation of captured var 'outputData' in concurrently-executing code; this is an error in the Swift 6 language mode
402 |                 outputHandle?.write(data)
403 |             }
/Users/admin/builder/spi-builder-workspace/Sources/ShellOut.swift:409:17: warning: mutation of captured var 'errorData' in concurrently-executing code; this is an error in the Swift 6 language mode
407 |             let data = handler.availableData
408 |             outputQueue.async {
409 |                 errorData.append(data)
    |                 `- warning: mutation of captured var 'errorData' in concurrently-executing code; this is an error in the Swift 6 language mode
410 |                 errorHandle?.write(data)
411 |             }
Build complete! (5.97s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ShellOut",
  "name" : "ShellOut",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ShellOut",
      "targets" : [
        "ShellOut"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ShellOutTests",
      "module_type" : "SwiftTarget",
      "name" : "ShellOutTests",
      "path" : "Tests/ShellOutTests",
      "sources" : [
        "ShellOutTests+Linux.swift",
        "ShellOutTests.swift"
      ],
      "target_dependencies" : [
        "ShellOut"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ShellOut",
      "module_type" : "SwiftTarget",
      "name" : "ShellOut",
      "path" : "Sources",
      "product_memberships" : [
        "ShellOut"
      ],
      "sources" : [
        "ShellOut.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.