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 SwiftlierCLI, reference master (94d731), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 17:36:22 UTC.

Swift 6 data race errors: 1

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/drewag/SwiftlierCLI.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/drewag/SwiftlierCLI
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 94d7313 [BF] Use drewag version of SwiftDate to fix build in swift 5.1
Cloned https://github.com/drewag/SwiftlierCLI.git
Revision (git rev-parse @):
94d7313ecc4cbcd9143365daf228dd0dad4fdce1
SUCCESS checkout https://github.com/drewag/SwiftlierCLI.git at master
Fetching https://github.com/drewag/Swiftlier.git
Fetching https://github.com/drewag/SwiftDate.git
[1/4568] Fetching swiftlier
[93/13004] Fetching swiftlier, swiftdate
Fetched https://github.com/drewag/Swiftlier.git from cache (1.89s)
Fetched https://github.com/drewag/SwiftDate.git from cache (1.89s)
Computing version for https://github.com/drewag/Swiftlier.git
Computed https://github.com/drewag/Swiftlier.git at 6.1.3 (2.51s)
Computing version for https://github.com/drewag/SwiftDate.git
Computed https://github.com/drewag/SwiftDate.git at 6.1.1 (0.63s)
Creating working copy for https://github.com/drewag/SwiftDate.git
Working copy of https://github.com/drewag/SwiftDate.git resolved at 6.1.1
Creating working copy for https://github.com/drewag/Swiftlier.git
Working copy of https://github.com/drewag/Swiftlier.git resolved at 6.1.3
========================================
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": "swiftliercli",
      "name": "SwiftlierCLI",
      "url": "https://github.com/drewag/SwiftlierCLI.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftlierCLI",
      "dependencies": [
        {
          "identity": "swiftlier",
          "name": "Swiftlier",
          "url": "https://github.com/drewag/Swiftlier.git",
          "version": "6.1.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Swiftlier",
          "dependencies": [
          ]
        },
        {
          "identity": "swiftdate",
          "name": "SwiftDate",
          "url": "https://github.com/drewag/SwiftDate.git",
          "version": "6.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftDate",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/drewag/SwiftlierCLI.git
[3/39] Fetching swiftliercli
Fetched https://github.com/drewag/SwiftlierCLI.git from cache (0.87s)
Fetching https://github.com/drewag/Swiftlier.git from cache
Fetching https://github.com/drewag/SwiftDate.git from cache
Fetched https://github.com/drewag/Swiftlier.git from cache (1.08s)
Fetched https://github.com/drewag/SwiftDate.git from cache (1.08s)
Computing version for https://github.com/drewag/Swiftlier.git
Computed https://github.com/drewag/Swiftlier.git at 6.1.3 (1.14s)
Computing version for https://github.com/drewag/SwiftDate.git
Computed https://github.com/drewag/SwiftDate.git at 6.1.1 (0.03s)
Creating working copy for https://github.com/drewag/SwiftDate.git
Working copy of https://github.com/drewag/SwiftDate.git resolved at 6.1.1
Creating working copy for https://github.com/drewag/Swiftlier.git
Working copy of https://github.com/drewag/Swiftlier.git resolved at 6.1.3
Creating working copy for https://github.com/drewag/SwiftlierCLI.git
Working copy of https://github.com/drewag/SwiftlierCLI.git resolved at master (94d7313)
warning: '.resolve-product-dependencies': dependency 'swiftliercli' is not used by any target
Found 2 product dependencies
  - Swiftlier
  - SwiftDate
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/drewag/SwiftlierCLI.git
https://github.com/drewag/SwiftlierCLI.git
{
  "dependencies" : [
    {
      "identity" : "swiftlier",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/drewag/Swiftlier.git"
    },
    {
      "identity" : "swiftdate",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/drewag/SwiftDate.git"
    }
  ],
  "manifest_display_name" : "SwiftlierCLI",
  "name" : "SwiftlierCLI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    }
  ],
  "products" : [
    {
      "name" : "SwiftlierCLI",
      "targets" : [
        "SwiftlierCLI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftlierCLITests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftlierCLITests",
      "path" : "Tests/SwiftlierCLITests",
      "sources" : [
        "EmptyTests.swift"
      ],
      "target_dependencies" : [
        "SwiftlierCLI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftlierCLI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftlierCLI",
      "path" : "Sources/SwiftlierCLI",
      "product_dependencies" : [
        "Swiftlier",
        "SwiftDate"
      ],
      "product_memberships" : [
        "SwiftlierCLI"
      ],
      "sources" : [
        "CommandLineDecoder.swift",
        "ShellCommand.swift",
        "ZipFilePath.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/95] Emitting module Swiftlier
[6/101] Compiling Swiftlier UniquelyIdentifiable.swift
[7/101] Compiling Swiftlier CSVStreamReader.swift
[8/101] Compiling Swiftlier DelimiterStreamReader.swift
[9/101] Compiling Swiftlier StreamReader.swift
[10/101] Compiling Swiftlier Date+Testable.swift
[11/101] Compiling Swiftlier URLSession+Testing.swift
[12/101] Emitting module SwiftDate
[13/101] Compiling Swiftlier PercentEncodable.swift
[14/101] Compiling Swiftlier SpecDecoder.swift
[15/101] Compiling Swiftlier Collection+Enhancments.swift
[16/104] Compiling Swiftlier Coding+Helpers.swift
[17/104] Compiling Swiftlier CodingKeys.swift
[18/104] Compiling Swiftlier NativeTypesDecoder.swift
[19/104] Compiling Swiftlier NativeTypesEncoder.swift
[20/104] Compiling Swiftlier Angle.swift
[21/104] Compiling Swiftlier Day.swift
[22/104] Compiling Swiftlier EmailAddress.swift
[23/104] Compiling Swiftlier HTML.swift
[24/104] Compiling Swiftlier Mass.swift
[25/104] Compiling Swiftlier Price.swift
[26/104] Compiling Swiftlier TimeInterval+Formatting.swift
[27/104] Compiling Swiftlier BinarySearchTree.swift
[28/104] Compiling Swiftlier EventCenter.swift
[29/104] Compiling Swiftlier ValueTypePersistenceService.swift
[30/104] Compiling Swiftlier Bool+Formatting.swift
[31/104] Compiling Swiftlier Data+Processing.swift
[32/104] Compiling Swiftlier Date+Helpers.swift
[33/104] Compiling Swiftlier Path+Coding.swift
[34/104] Compiling Swiftlier Path.swift
[35/104] Compiling Swiftlier PersistenceService.swift
[36/104] Compiling Swiftlier ReferenceTypePersistenceService.swift
[37/104] Compiling Swiftlier DispatchQueue+Enhancements.swift
[38/104] Compiling Swiftlier String+Enhancements.swift
[39/104] Compiling Swiftlier URL+Enhancements.swift
[40/104] Compiling Swiftlier AnySwiftlierError.swift
[42/104] Compiling SwiftDate TimePeriod+Support.swift
[43/104] Compiling SwiftDate TimePeriod.swift
[44/104] Compiling SwiftDate TimePeriodProtocol.swift
[45/104] Compiling Swiftlier ObservableDictionary.swift
[46/104] Compiling Swiftlier ObservableReference.swift
[47/104] Compiling Swiftlier OperationBasedError.swift
[48/104] Compiling Swiftlier OtherSwiftlierError.swift
[49/104] Compiling Swiftlier SwiftlierError.swift
[50/104] Compiling Swiftlier SwiftlierResult.swift
[51/104] Compiling Swiftlier FileSystem+iOSDirectories.swift
[52/104] Compiling Swiftlier FileSystem.swift
[53/104] Compiling Swiftlier JSON.swift
[54/104] Compiling Swiftlier NativeTypesStructured.swift
[55/104] Compiling Swiftlier Structured.swift
[56/104] Compiling Swiftlier XML.swift
[57/104] Compiling Swiftlier Age.swift
[58/104] Compiling Swiftlier AlwaysEqual.swift
[66/104] Compiling Swiftlier SelectableValue.swift
[67/104] Compiling Swiftlier Syncable.swift
[68/104] Compiling Swiftlier WeakWrapper.swift
[69/104] Compiling Swiftlier Data+Base64.swift
[70/104] Compiling Swiftlier Date+Formatting.swift
[71/104] Compiling Swiftlier Double+Formatting.swift
[72/104] Compiling Swiftlier HeartRateFormatter.swift
[73/104] Compiling Swiftlier GenericSwiftlierError.swift
[74/104] Compiling Swiftlier LimitedQueue.swift
[75/104] Compiling Swiftlier OrderedDictionary.swift
[76/104] Compiling Swiftlier PatchyRange.swift
[105/108] Compiling SwiftlierCLI ZipFilePath.swift
[106/108] Compiling SwiftlierCLI ShellCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlierCLI/ShellCommand.swift:113:13: warning: var 'commandsToKill' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
111 | }
112 |
113 | private var commandsToKill = [ShellCommand]()
    |             |- warning: var 'commandsToKill' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'commandsToKill' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'commandsToKill' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 | private extension ShellCommand {
[107/108] Emitting module SwiftlierCLI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlierCLI/ShellCommand.swift:113:13: warning: var 'commandsToKill' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
111 | }
112 |
113 | private var commandsToKill = [ShellCommand]()
    |             |- warning: var 'commandsToKill' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'commandsToKill' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'commandsToKill' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 | private extension ShellCommand {
[108/108] Compiling SwiftlierCLI CommandLineDecoder.swift
Build complete! (9.17s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftlier",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/drewag/Swiftlier.git"
    },
    {
      "identity" : "swiftdate",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/drewag/SwiftDate.git"
    }
  ],
  "manifest_display_name" : "SwiftlierCLI",
  "name" : "SwiftlierCLI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    }
  ],
  "products" : [
    {
      "name" : "SwiftlierCLI",
      "targets" : [
        "SwiftlierCLI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftlierCLITests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftlierCLITests",
      "path" : "Tests/SwiftlierCLITests",
      "sources" : [
        "EmptyTests.swift"
      ],
      "target_dependencies" : [
        "SwiftlierCLI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftlierCLI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftlierCLI",
      "path" : "Sources/SwiftlierCLI",
      "product_dependencies" : [
        "Swiftlier",
        "SwiftDate"
      ],
      "product_memberships" : [
        "SwiftlierCLI"
      ],
      "sources" : [
        "CommandLineDecoder.swift",
        "ShellCommand.swift",
        "ZipFilePath.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.