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 main (814e07), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 02:02:46 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/SwiftPackageIndex/ShellOut.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftPackageIndex/ShellOut
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 814e072 Merge pull request #12 from SwiftPackageIndex/rename-argument
Cloned https://github.com/SwiftPackageIndex/ShellOut.git
Revision (git rev-parse @):
814e0722f442a240915e0aa0699f2ac537c3ddc2
SUCCESS checkout https://github.com/SwiftPackageIndex/ShellOut.git at main
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/SwiftPackageIndex/ShellQuote
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-tools-support-core.git
[1/76] Fetching shellquote
[77/5652] Fetching shellquote, swift-numerics
[245/9312] Fetching shellquote, swift-numerics, swift-log
[521/13213] Fetching shellquote, swift-numerics, swift-log, swift-system
[767/18776] Fetching shellquote, swift-numerics, swift-log, swift-system, swift-algorithms
[14271/25298] Fetching shellquote, swift-numerics, swift-log, swift-system, swift-algorithms, swift-tools-support-core
Fetched https://github.com/apple/swift-system.git from cache (1.11s)
[13069/21397] Fetching shellquote, swift-numerics, swift-log, swift-algorithms, swift-tools-support-core
Fetched https://github.com/apple/swift-numerics from cache (1.43s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.43s)
Fetched https://github.com/apple/swift-log.git from cache (1.43s)
Fetched https://github.com/SwiftPackageIndex/ShellQuote from cache (1.43s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.43s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.0.0 (3.26s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.5.2 (0.74s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.68s)
Computing version for https://github.com/SwiftPackageIndex/ShellQuote
Computed https://github.com/SwiftPackageIndex/ShellQuote at 1.0.2 (0.61s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.69s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.81s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.3
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.5.2
Creating working copy for https://github.com/SwiftPackageIndex/ShellQuote
Working copy of https://github.com/SwiftPackageIndex/ShellQuote resolved at 1.0.2
========================================
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/SwiftPackageIndex/ShellOut.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ShellOut",
      "dependencies": [
        {
          "identity": "shellquote",
          "name": "ShellQuote",
          "url": "https://github.com/SwiftPackageIndex/ShellQuote",
          "version": "1.0.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ShellQuote",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log.git",
          "version": "1.6.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-tools-support-core",
          "name": "swift-tools-support-core",
          "url": "https://github.com/apple/swift-tools-support-core.git",
          "version": "0.7.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-tools-support-core",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-algorithms",
          "name": "swift-algorithms",
          "url": "https://github.com/apple/swift-algorithms.git",
          "version": "1.2.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-algorithms",
          "dependencies": [
            {
              "identity": "swift-numerics",
              "name": "swift-numerics",
              "url": "https://github.com/apple/swift-numerics.git",
              "version": "1.0.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-numerics",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/SwiftPackageIndex/ShellOut.git
[1/734] Fetching shellout
Fetched https://github.com/SwiftPackageIndex/ShellOut.git from cache (0.87s)
Fetching https://github.com/apple/swift-tools-support-core.git from cache
Fetching https://github.com/SwiftPackageIndex/ShellQuote from cache
Fetching https://github.com/apple/swift-algorithms.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.82s)
Fetched https://github.com/SwiftPackageIndex/ShellQuote from cache (0.82s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.82s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.82s)
Computing version for https://github.com/SwiftPackageIndex/ShellQuote
Computed https://github.com/SwiftPackageIndex/ShellQuote at 1.0.2 (0.02s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.0 (0.70s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.48s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.65s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.1 (0.74s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.56s)
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.0
Creating working copy for https://github.com/SwiftPackageIndex/ShellQuote
Working copy of https://github.com/SwiftPackageIndex/ShellQuote resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.2
Creating working copy for https://github.com/SwiftPackageIndex/ShellOut.git
Working copy of https://github.com/SwiftPackageIndex/ShellOut.git resolved at main (814e072)
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.7.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
warning: '.resolve-product-dependencies': dependency 'shellout' is not used by any target
Found 4 product dependencies
  - ShellQuote
  - swift-log
  - swift-tools-support-core
  - swift-algorithms
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/SwiftPackageIndex/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/13] Write sources
[8/13] Compiling CSystem shims.c
[9/13] Compiling TSCclibc process.c
[10/13] Compiling TSCclibc libc.c
[11/13] Compiling _NumericsShims _NumericsShims.c
[12/13] Write swift-version--7754E27361AE5C74.txt
[14/53] Emitting module SystemPackage
[15/55] Emitting module RealModule
[16/56] Compiling RealModule RealFunctions.swift
[17/56] Compiling RealModule Float16+Real.swift
[18/56] Compiling RealModule AlgebraicField.swift
[19/56] Compiling RealModule Float+Real.swift
[20/56] Compiling RealModule ElementaryFunctions.swift
[21/56] Compiling RealModule Double+Real.swift
[22/56] Compiling RealModule ApproximateEquality.swift
[23/56] Compiling RealModule AugmentedArithmetic.swift
[24/56] Compiling RealModule Float80+Real.swift
[25/56] Compiling RealModule Real.swift
[26/80] Emitting module TSCLibc
[27/80] Compiling TSCLibc libc.swift
[28/80] Compiling Logging MetadataProvider.swift
[29/80] Compiling Algorithms Product.swift
[30/80] Compiling Algorithms RandomSample.swift
[31/80] Compiling Algorithms Intersperse.swift
[32/80] Compiling Algorithms Joined.swift
[33/80] Compiling Algorithms Reductions.swift
[34/80] Compiling Algorithms Rotate.swift
[35/80] Compiling Algorithms Split.swift
[36/80] Compiling Algorithms Stride.swift
[37/80] Compiling Algorithms Suffix.swift
[38/80] Compiling Algorithms Trim.swift
[43/80] Compiling Algorithms Combinations.swift
[44/80] Compiling Algorithms Compacted.swift
[45/80] Compiling Algorithms Cycle.swift
[48/82] Compiling Algorithms EitherSequence.swift
[49/82] Compiling Algorithms FirstNonNil.swift
[50/82] Compiling Algorithms FlattenCollection.swift
[51/82] Compiling Algorithms MinMax.swift
[52/82] Compiling Algorithms AdjacentPairs.swift
[53/82] Compiling Logging LogHandler.swift
[54/82] Compiling Algorithms Chain.swift
[55/82] Emitting module Logging
[56/82] Compiling Algorithms Chunked.swift
[57/82] Compiling Logging Logging.swift
[58/82] Compiling Logging Locks.swift
[59/82] Compiling Algorithms Partition.swift
[60/82] Compiling Algorithms Permutations.swift
[61/82] Compiling Algorithms Indexed.swift
[62/82] Compiling Algorithms Unique.swift
[63/82] Compiling Algorithms Windows.swift
[80/123] Compiling TSCBasic DeltaAlgorithm.swift
[81/123] Compiling TSCBasic DiagnosticsEngine.swift
[82/123] Compiling TSCBasic DictionaryExtensions.swift
[83/123] Compiling TSCBasic DictionaryLiteralExtensions.swift
[84/123] Compiling TSCBasic EditDistance.swift
[85/123] Emitting module ShellQuote
[86/123] Compiling ShellQuote ShellQuote.swift
[87/127] Compiling TSCBasic StringConversions.swift
[88/127] Compiling TSCBasic SynchronizedQueue.swift
[89/127] Compiling TSCBasic TemporaryFile.swift
[90/127] Compiling TSCBasic TerminalController.swift
[91/127] Emitting module Algorithms
[92/127] Compiling TSCBasic Await.swift
[93/127] Compiling TSCBasic Base64URL.swift
[94/127] Compiling TSCBasic ByteString.swift
[95/127] Compiling TSCBasic CStringArray.swift
[96/127] Compiling TSCBasic CacheableSequence.swift
[97/127] Compiling TSCBasic ProcessSet.swift
[98/127] Compiling TSCBasic RegEx.swift
[99/127] Compiling TSCBasic Result.swift
[100/127] Compiling TSCBasic SortedArray.swift
[101/127] Emitting module TSCBasic
[102/127] Compiling TSCBasic Thread.swift
[103/127] Compiling TSCBasic Tuple.swift
[104/127] Compiling TSCBasic WritableByteStream.swift
[105/127] Compiling TSCBasic misc.swift
[106/127] Compiling TSCBasic Path.swift
[107/127] Compiling TSCBasic PathShims.swift
[108/127] Compiling TSCBasic Process.swift
[109/127] Compiling TSCBasic ProcessEnv.swift
[110/127] Compiling TSCBasic OSLog.swift
[111/127] Compiling TSCBasic ObjectIdentifierProtocol.swift
[112/127] Compiling TSCBasic OrderedDictionary.swift
[113/127] Compiling TSCBasic OrderedSet.swift
[114/127] Compiling TSCBasic Closable.swift
[115/127] Compiling TSCBasic CodableResult.swift
[116/127] Compiling TSCBasic CollectionAlgorithms.swift
[117/127] Compiling TSCBasic CollectionExtensions.swift
[118/127] Compiling TSCBasic Condition.swift
[119/127] Compiling TSCBasic JSONMapper.swift
[120/127] Compiling TSCBasic KeyedPair.swift
[121/127] Compiling TSCBasic LazyCache.swift
[122/127] Compiling TSCBasic Lock.swift
[123/127] Compiling TSCBasic FileInfo.swift
[124/127] Compiling TSCBasic FileSystem.swift
[125/127] Compiling TSCBasic GraphAlgorithms.swift
[126/127] Compiling TSCBasic HashAlgorithms.swift
[127/127] Compiling TSCBasic JSON.swift
[128/135] Compiling ShellOut ShellOutError.swift
[129/135] Compiling ShellOut ShellOutCommand+other.swift
[130/135] Compiling ShellOut ShellOutCommand.swift
[131/135] Compiling ShellOut ShellOutCommand+git.swift
[132/135] Compiling ShellOut ShellArgument.swift
[133/135] Compiling ShellOut QuotedString.swift
[134/135] Emitting module ShellOut
[135/135] Compiling ShellOut ShellOut.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShellOut.swift:50:37: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 48 |         environment: environment,
 49 |         at: path == "." ? nil :
 50 |             (path == "~" ? TSCBasic.localFileSystem.homeDirectory.pathString :
    |                                     `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 51 |             (path.starts(with: "~/") ? "\(TSCBasic.localFileSystem.homeDirectory.pathString)/\(path.dropFirst(2))" :
 52 |             path))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
     |            `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/ShellOut.swift:51:52: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 49 |         at: path == "." ? nil :
 50 |             (path == "~" ? TSCBasic.localFileSystem.homeDirectory.pathString :
 51 |             (path.starts(with: "~/") ? "\(TSCBasic.localFileSystem.homeDirectory.pathString)/\(path.dropFirst(2))" :
    |                                                    `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 52 |             path))
 53 |     )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
     |            `- note: var declared here
1164 |
1165 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/ShellOut.swift:105:78: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
103 |         at: String? = nil
104 |     ) async throws -> (stdout: String, stderr: String) {
105 |         let actualCwd = try at.map { try .init(validating: $0) } ?? TSCBasic.localFileSystem.currentWorkingDirectory ?? .root
    |                                                                              `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
106 |         let process = Self.init(
107 |             arguments: [command] + arguments,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1163:12: note: var declared here
1161 |
1162 | /// Public access to the local FS proxy.
1163 | public var localFileSystem: FileSystem = LocalFileSystem()
     |            `- note: var declared here
1164 |
1165 | extension FileSystem {
Build complete! (32.47s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "shellquote",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftPackageIndex/ShellQuote"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-tools-support-core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-tools-support-core.git"
    },
    {
      "identity" : "swift-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-algorithms.git"
    }
  ],
  "manifest_display_name" : "ShellOut",
  "name" : "ShellOut",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15.4"
    }
  ],
  "products" : [
    {
      "name" : "ShellOut",
      "targets" : [
        "ShellOut"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ShellOutTests",
      "module_type" : "SwiftTarget",
      "name" : "ShellOutTests",
      "path" : "Tests/ShellOutTests",
      "sources" : [
        "ShellOutTests.swift",
        "TestUtilities.swift"
      ],
      "target_dependencies" : [
        "ShellOut"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ShellOut",
      "module_type" : "SwiftTarget",
      "name" : "ShellOut",
      "path" : "Sources",
      "product_dependencies" : [
        "ShellQuote",
        "Logging",
        "Algorithms",
        "TSCBasic"
      ],
      "product_memberships" : [
        "ShellOut"
      ],
      "sources" : [
        "QuotedString.swift",
        "ShellArgument.swift",
        "ShellOut.swift",
        "ShellOutCommand+git.swift",
        "ShellOutCommand+other.swift",
        "ShellOutCommand.swift",
        "ShellOutError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.