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 master (d3db50), 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/JohnSundell/ShellOut
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d3db50b Preserve previous default behaviour (#50)
Cloned https://github.com/JohnSundell/ShellOut.git
Revision (git rev-parse @):
d3db50b62a86b18f88f5de38cae5f3d80617d555
SUCCESS checkout https://github.com/JohnSundell/ShellOut.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": "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.96s)
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at master (d3db50b)
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:405:17: warning: mutation of captured var 'outputData' in concurrently-executing code; this is an error in the Swift 6 language mode
403 |             let data = handler.availableData
404 |             outputQueue.async {
405 |                 outputData.append(data)
    |                 `- warning: mutation of captured var 'outputData' in concurrently-executing code; this is an error in the Swift 6 language mode
406 |                 outputHandle?.write(data)
407 |             }
/Users/admin/builder/spi-builder-workspace/Sources/ShellOut.swift:413:17: warning: mutation of captured var 'errorData' in concurrently-executing code; this is an error in the Swift 6 language mode
411 |             let data = handler.availableData
412 |             outputQueue.async {
413 |                 errorData.append(data)
    |                 `- warning: mutation of captured var 'errorData' in concurrently-executing code; this is an error in the Swift 6 language mode
414 |                 errorHandle?.write(data)
415 |             }
Build complete! (5.74s)
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.