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.1 for macOS (SPM) on 24 Apr 2025 18:10:24 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/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.80s)
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.1
Building package at path:  $PWD
https://github.com/JohnSundell/ShellOut.git
https://github.com/JohnSundell/ShellOut.git
{
  "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"
}
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/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
403 |             let data = handler.availableData
404 |             outputQueue.async {
405 |                 outputData.append(data)
    |                 `- warning: mutation of captured var 'outputData' in concurrently-executing code
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
411 |             let data = handler.availableData
412 |             outputQueue.async {
413 |                 errorData.append(data)
    |                 `- warning: mutation of captured var 'errorData' in concurrently-executing code
414 |                 errorHandle?.write(data)
415 |             }
[4/4] Emitting module ShellOut
Build complete! (4.03s)
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.