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 6.0.1 (94d731), with Swift 6.1 for Linux on 25 Apr 2025 10:03:31 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/drewag/SwiftlierCLI.git
Reference: 6.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/drewag/SwiftlierCLI
 * tag               6.0.1      -> FETCH_HEAD
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 6.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/drewag/SwiftlierCLI.git
https://github.com/drewag/SwiftlierCLI.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/drewag/Swiftlier.git
Fetching https://github.com/drewag/SwiftDate.git
[1/8436] Fetching swiftdate
[339/13004] Fetching swiftdate, swiftlier
Fetched https://github.com/drewag/Swiftlier.git from cache (1.95s)
Fetched https://github.com/drewag/SwiftDate.git from cache (1.98s)
Computing version for https://github.com/drewag/Swiftlier.git
Computed https://github.com/drewag/Swiftlier.git at 6.1.3 (2.58s)
Computing version for https://github.com/drewag/SwiftDate.git
Computed https://github.com/drewag/SwiftDate.git at 6.1.1 (2.44s)
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/SwiftDate.git
Working copy of https://github.com/drewag/SwiftDate.git resolved at 6.1.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/93] Emitting module Swiftlier
[6/100] Emitting module SwiftDate
[7/104] Compiling Swiftlier ValueTypePersistenceService.swift
[8/104] Compiling Swiftlier Bool+Formatting.swift
[9/104] Compiling Swiftlier Data+Base64.swift
[10/104] Compiling Swiftlier Date+Formatting.swift
[11/104] Compiling Swiftlier Double+Formatting.swift
[12/104] Compiling Swiftlier HeartRateFormatter.swift
[13/104] Compiling Swiftlier TimeInterval+Formatting.swift
[14/104] Compiling Swiftlier BinarySearchTree.swift
[15/104] Compiling Swiftlier SwiftlierError.swift
[16/104] Compiling Swiftlier SwiftlierResult.swift
[17/104] Compiling Swiftlier FileSystem+iOSDirectories.swift
[18/104] Compiling Swiftlier FileSystem.swift
[19/104] Compiling Swiftlier Path+Coding.swift
[20/104] Compiling Swiftlier Path.swift
[21/104] Compiling Swiftlier PersistenceService.swift
[22/104] Compiling Swiftlier ReferenceTypePersistenceService.swift
[23/104] Compiling Swiftlier Price.swift
[24/104] Compiling Swiftlier UniquelyIdentifiable.swift
[25/104] Compiling Swiftlier CSVStreamReader.swift
[26/104] Compiling Swiftlier DelimiterStreamReader.swift
[27/104] Compiling Swiftlier StreamReader.swift
[28/104] Compiling Swiftlier Date+Testable.swift
[29/104] Compiling Swiftlier URLSession+Testing.swift
[30/104] Compiling Swiftlier Coding+Helpers.swift
[31/104] Compiling Swiftlier CodingKeys.swift
[32/104] Compiling Swiftlier NativeTypesDecoder.swift
[33/104] Compiling Swiftlier NativeTypesEncoder.swift
[34/104] Compiling Swiftlier PercentEncodable.swift
[35/104] Compiling Swiftlier SpecDecoder.swift
[36/104] Compiling Swiftlier Collection+Enhancments.swift
[37/104] Compiling Swiftlier Data+Processing.swift
[38/104] Compiling Swiftlier Date+Helpers.swift
[39/104] Compiling Swiftlier DispatchQueue+Enhancements.swift
[40/104] Compiling Swiftlier String+Enhancements.swift
[41/104] Compiling Swiftlier URL+Enhancements.swift
[42/104] Compiling Swiftlier AnySwiftlierError.swift
[43/104] Compiling Swiftlier GenericSwiftlierError.swift
[44/104] Compiling Swiftlier OperationBasedError.swift
[45/104] Compiling Swiftlier OtherSwiftlierError.swift
[46/104] Compiling Swiftlier Age.swift
[47/104] Compiling Swiftlier AlwaysEqual.swift
[48/104] Compiling Swiftlier Angle.swift
[49/104] Compiling Swiftlier Day.swift
[50/104] Compiling Swiftlier EmailAddress.swift
[51/104] Compiling Swiftlier HTML.swift
[52/104] Compiling Swiftlier Mass.swift
[77/104] Compiling SwiftDate TimePeriodGroup.swift
[78/104] Compiling SwiftDate TimePeriod+Support.swift
[79/104] Compiling SwiftDate TimePeriod.swift
[80/104] Compiling SwiftDate TimePeriodProtocol.swift
[86/105] Compiling Swiftlier JSON.swift
[87/105] Compiling Swiftlier NativeTypesStructured.swift
[88/105] Compiling Swiftlier Structured.swift
[89/105] Compiling Swiftlier XML.swift
[90/105] Compiling Swiftlier LimitedQueue.swift
[91/105] Compiling Swiftlier OrderedDictionary.swift
[92/105] Compiling Swiftlier PatchyRange.swift
[93/105] Compiling Swiftlier SelectableValue.swift
[94/105] Compiling Swiftlier Syncable.swift
[95/105] Compiling Swiftlier WeakWrapper.swift
[96/105] Compiling Swiftlier EventCenter.swift
[97/105] Compiling Swiftlier MultiCallback.swift
[107/110] Compiling SwiftlierCLI ShellCommand.swift
/host/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 {
/host/spi-builder-workspace/Sources/SwiftlierCLI/ShellCommand.swift:34:22: warning: 'launchPath' is deprecated: renamed to 'executableURL'
 32 |
 33 |         self.process.arguments = self.command
 34 |         self.process.launchPath = "/usr/bin/env"
    |                      |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |                      `- note: use 'executableURL' instead
 35 |         self.process.standardInput = Pipe()
 36 |         if let parentCommand = parentCommand {
/host/spi-builder-workspace/Sources/SwiftlierCLI/ShellCommand.swift:163:29: warning: 'launch()' is deprecated: renamed to 'run'
161 |
162 |         for command in commands {
163 |             command.process.launch()
    |                             |- warning: 'launch()' is deprecated: renamed to 'run'
    |                             `- note: use 'run' instead
164 |         }
165 |     }
[108/110] Compiling SwiftlierCLI ZipFilePath.swift
[109/110] Emitting module SwiftlierCLI
/host/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 {
[110/110] Compiling SwiftlierCLI CommandLineDecoder.swift
Build complete! (31.93s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.