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 3.1.4 (e862e8), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 02:03:04 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: 3.1.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftPackageIndex/ShellOut
 * tag               3.1.4      -> FETCH_HEAD
HEAD is now at e862e88 Merge pull request #10 from SwiftPackageIndex/hashable
Cloned https://github.com/SwiftPackageIndex/ShellOut.git
Revision (git rev-parse @):
e862e8866c9d5d3fbc394aefdc8428f31c99355c
SUCCESS checkout https://github.com/SwiftPackageIndex/ShellOut.git at 3.1.4
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/SwiftPackageIndex/ShellQuote
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
[1/76] Fetching shellquote
[77/3977] Fetching shellquote, swift-system
[117/9540] Fetching shellquote, swift-system, swift-algorithms
[463/15116] Fetching shellquote, swift-system, swift-algorithms, swift-numerics
[982/18776] Fetching shellquote, swift-system, swift-algorithms, swift-numerics, swift-log
[11540/25298] Fetching shellquote, swift-system, swift-algorithms, swift-numerics, swift-log, swift-tools-support-core
Fetched https://github.com/apple/swift-algorithms.git from cache (1.17s)
[14322/19735] Fetching shellquote, swift-system, swift-numerics, swift-log, swift-tools-support-core
Fetched https://github.com/apple/swift-log.git from cache (1.41s)
Fetched https://github.com/apple/swift-system.git from cache (1.41s)
Fetched https://github.com/SwiftPackageIndex/ShellQuote from cache (1.41s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.41s)
Fetched https://github.com/apple/swift-numerics from cache (1.41s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.0.0 (3.57s)
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.73s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.66s)
Computing version for https://github.com/SwiftPackageIndex/ShellQuote
Computed https://github.com/SwiftPackageIndex/ShellQuote at 1.0.2 (0.65s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.65s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.64s)
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-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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
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-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/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.0.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/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-log.git from cache
Fetching https://github.com/SwiftPackageIndex/ShellQuote from cache
Fetching https://github.com/apple/swift-tools-support-core.git from cache
Fetching https://github.com/apple/swift-algorithms.git from cache
Fetched https://github.com/SwiftPackageIndex/ShellQuote from cache (0.81s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.81s)
Fetched https://github.com/apple/swift-log.git from cache (0.81s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.81s)
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.64s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.56s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.63s)
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.64s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.45s)
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
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/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/SwiftPackageIndex/ShellOut.git
Working copy of https://github.com/SwiftPackageIndex/ShellOut.git resolved at 3.1.4 (e862e88)
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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.0
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
[8/13] Compiling TSCclibc process.c
[10/13] Compiling _NumericsShims _NumericsShims.c
[11/13] Write swift-version--7754E27361AE5C74.txt
[12/13] Compiling TSCclibc libc.c
[14/53] Emitting module SystemPackage
[15/55] Compiling RealModule Float80+Real.swift
[16/55] Compiling RealModule Real.swift
[17/56] Compiling RealModule RealFunctions.swift
[18/56] Compiling RealModule AlgebraicField.swift
[19/56] Emitting module RealModule
[20/56] Compiling RealModule ElementaryFunctions.swift
[21/56] Compiling RealModule Float+Real.swift
[22/56] Compiling RealModule ApproximateEquality.swift
[23/56] Compiling RealModule Float16+Real.swift
[24/56] Compiling RealModule AugmentedArithmetic.swift
[25/56] Compiling RealModule Double+Real.swift
[26/80] Emitting module TSCLibc
[27/80] Compiling TSCLibc libc.swift
[28/80] Compiling Logging MetadataProvider.swift
[29/80] Compiling Logging Locks.swift
[30/80] Compiling Logging LogHandler.swift
[31/80] Compiling Algorithms Permutations.swift
[32/80] Compiling Algorithms Reductions.swift
[33/80] Compiling Algorithms FirstNonNil.swift
[34/80] Compiling Algorithms FlattenCollection.swift
[35/80] Compiling Algorithms Suffix.swift
[36/80] Compiling Algorithms Trim.swift
[37/80] Compiling Algorithms MinMax.swift
[38/80] Compiling Algorithms Partition.swift
[39/80] Compiling Algorithms Compacted.swift
[40/80] Compiling Algorithms Cycle.swift
[41/80] Compiling Algorithms Split.swift
[42/80] Compiling Algorithms Stride.swift
[43/80] Compiling Algorithms EitherSequence.swift
[44/80] Compiling Algorithms AdjacentPairs.swift
[45/80] Compiling Algorithms Chain.swift
[46/80] Compiling Algorithms Indexed.swift
[47/80] Compiling Algorithms Intersperse.swift
[48/80] Compiling Algorithms Joined.swift
[49/80] Compiling Algorithms Chunked.swift
[50/80] Compiling Algorithms Combinations.swift
[52/80] Compiling Algorithms Rotate.swift
[53/80] Compiling Algorithms Product.swift
[54/80] Compiling Algorithms RandomSample.swift
[61/82] Emitting module Logging
[62/82] Compiling Logging Logging.swift
[70/82] Compiling Algorithms Unique.swift
[71/82] Compiling Algorithms Windows.swift
[74/123] Compiling TSCBasic HashAlgorithms.swift
[75/123] Compiling TSCBasic JSON.swift
[76/123] Compiling TSCBasic Await.swift
[77/123] Compiling TSCBasic FileInfo.swift
[78/123] Compiling TSCBasic FileSystem.swift
[79/123] Compiling TSCBasic GraphAlgorithms.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/127] Compiling ShellQuote ShellQuote.swift
[86/127] Emitting module ShellQuote
[87/127] Emitting module TSCBasic
[88/127] Compiling TSCBasic OSLog.swift
[89/127] Compiling TSCBasic ObjectIdentifierProtocol.swift
[90/127] Compiling TSCBasic OrderedDictionary.swift
[91/127] Compiling TSCBasic OrderedSet.swift
[92/127] Compiling TSCBasic Thread.swift
[93/127] Compiling TSCBasic Tuple.swift
[94/127] Compiling TSCBasic WritableByteStream.swift
[95/127] Compiling TSCBasic misc.swift
[96/127] Emitting module Algorithms
[97/127] Compiling TSCBasic Closable.swift
[98/127] Compiling TSCBasic CodableResult.swift
[99/127] Compiling TSCBasic CollectionAlgorithms.swift
[100/127] Compiling TSCBasic CollectionExtensions.swift
[101/127] Compiling TSCBasic Condition.swift
[102/127] Compiling TSCBasic Path.swift
[103/127] Compiling TSCBasic PathShims.swift
[104/127] Compiling TSCBasic Process.swift
[105/127] Compiling TSCBasic ProcessEnv.swift
[106/127] Compiling TSCBasic ProcessSet.swift
[107/127] Compiling TSCBasic RegEx.swift
[108/127] Compiling TSCBasic Result.swift
[109/127] Compiling TSCBasic SortedArray.swift
[111/127] Compiling TSCBasic Base64URL.swift
[112/127] Compiling TSCBasic ByteString.swift
[113/127] Compiling TSCBasic CStringArray.swift
[114/127] Compiling TSCBasic CacheableSequence.swift
[115/127] Compiling TSCBasic JSONMapper.swift
[116/127] Compiling TSCBasic KeyedPair.swift
[117/127] Compiling TSCBasic LazyCache.swift
[118/127] Compiling TSCBasic Lock.swift
[119/127] Compiling TSCBasic StringConversions.swift
[120/127] Compiling TSCBasic SynchronizedQueue.swift
[121/127] Compiling TSCBasic TemporaryFile.swift
[122/127] Compiling TSCBasic TerminalController.swift
[128/135] Emitting module ShellOut
[129/135] Compiling ShellOut ShellOutCommand+other.swift
[130/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 {
[131/135] Compiling ShellOut Argument.swift
[132/135] Compiling ShellOut ShellOutCommand.swift
[133/135] Compiling ShellOut QuotedString.swift
[134/135] Compiling ShellOut ShellOutCommand+git.swift
[135/135] Compiling ShellOut ShellOutError.swift
Build complete! (34.39s)
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" : [
        "Argument.swift",
        "QuotedString.swift",
        "ShellOut.swift",
        "ShellOutCommand+git.swift",
        "ShellOutCommand+other.swift",
        "ShellOutCommand.swift",
        "ShellOutError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.