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 (38237f), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 09:00:35 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/Nef10/ShellOut.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Nef10/ShellOut
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 38237fd Merge pull request #2 from john-mueller/swift-5.1
Cloned https://github.com/Nef10/ShellOut.git
Revision (git rev-parse @):
38237fd663f1cb45eb92d41a308d9c77be77a319
SUCCESS checkout https://github.com/Nef10/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/Nef10/ShellOut.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ShellOut",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Nef10/ShellOut.git
[3/300] Fetching shellout
Fetched https://github.com/Nef10/ShellOut.git from cache (0.75s)
Creating working copy for https://github.com/Nef10/ShellOut.git
Working copy of https://github.com/Nef10/ShellOut.git resolved at master (38237fd)
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/Nef10/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" : "5.1"
}
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/4] Emitting module ShellOut
[4/4] Compiling ShellOut ShellOut.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShellOut.swift:409:17: warning: mutation of captured var 'outputData' in concurrently-executing code; this is an error in the Swift 6 language mode
407 |             let data = handler.availableData
408 |             outputQueue.async {
409 |                 outputData.append(data)
    |                 `- warning: mutation of captured var 'outputData' in concurrently-executing code; this is an error in the Swift 6 language mode
410 |                 outputHandle?.write(data)
411 |             }
/Users/admin/builder/spi-builder-workspace/Sources/ShellOut.swift:417:17: warning: mutation of captured var 'errorData' in concurrently-executing code; this is an error in the Swift 6 language mode
415 |             let data = handler.availableData
416 |             outputQueue.async {
417 |                 errorData.append(data)
    |                 `- warning: mutation of captured var 'errorData' in concurrently-executing code; this is an error in the Swift 6 language mode
418 |                 errorHandle?.write(data)
419 |             }
Build complete! (5.42s)
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" : "5.1"
}
Done.