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.0 for Linux on 26 Nov 2024 17:02:30 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/drewag/SwiftlierCLI.git
Reference: master
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
 * 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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/drewag/SwiftlierCLI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/drewag/SwiftDate.git
Fetching https://github.com/drewag/Swiftlier.git
[1/8436] Fetching swiftdate
[1942/13004] Fetching swiftdate, swiftlier
Fetched https://github.com/drewag/Swiftlier.git from cache (1.03s)
Fetched https://github.com/drewag/SwiftDate.git from cache (1.23s)
Computing version for https://github.com/drewag/Swiftlier.git
Computed https://github.com/drewag/Swiftlier.git at 6.1.3 (0.42s)
Computing version for https://github.com/drewag/SwiftDate.git
Computed https://github.com/drewag/SwiftDate.git at 6.1.1 (1.82s)
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 SwiftDate
[6/97] Compiling Swiftlier Age.swift
[7/97] Compiling Swiftlier AlwaysEqual.swift
[8/97] Compiling Swiftlier Angle.swift
[9/97] Compiling Swiftlier Day.swift
[10/97] Compiling Swiftlier EmailAddress.swift
[11/97] Compiling Swiftlier HTML.swift
[12/97] Compiling Swiftlier Mass.swift
[13/104] Compiling Swiftlier Coding+Helpers.swift
[14/104] Compiling Swiftlier CodingKeys.swift
[15/104] Compiling Swiftlier NativeTypesDecoder.swift
[16/104] Compiling Swiftlier NativeTypesEncoder.swift
[17/104] Compiling Swiftlier PercentEncodable.swift
[18/104] Compiling SwiftDate TimePeriodGroup.swift
[19/104] Compiling SwiftDate TimePeriod+Support.swift
[20/104] Compiling SwiftDate TimePeriod.swift
[21/104] Compiling SwiftDate TimePeriodProtocol.swift
[22/104] Emitting module Swiftlier
[28/104] Compiling Swiftlier SpecDecoder.swift
[29/104] Compiling Swiftlier Collection+Enhancments.swift
[30/104] Compiling Swiftlier Data+Processing.swift
[31/104] Compiling Swiftlier Observable.swift
[32/104] Compiling Swiftlier ObservableArray.swift
[33/104] Compiling Swiftlier ObservableDictionary.swift
[34/104] Compiling Swiftlier ObservableReference.swift
[35/104] Compiling Swiftlier JSON.swift
[36/104] Compiling Swiftlier NativeTypesStructured.swift
[37/104] Compiling Swiftlier Structured.swift
[38/104] Compiling Swiftlier XML.swift
[39/104] Compiling Swiftlier Date+Helpers.swift
[40/104] Compiling Swiftlier DispatchQueue+Enhancements.swift
[41/104] Compiling Swiftlier String+Enhancements.swift
[42/104] Compiling Swiftlier URL+Enhancements.swift
[43/104] Compiling Swiftlier AnySwiftlierError.swift
[44/104] Compiling Swiftlier GenericSwiftlierError.swift
[45/104] Compiling Swiftlier OperationBasedError.swift
[46/104] Compiling Swiftlier OtherSwiftlierError.swift
[56/104] Compiling Swiftlier Syncable.swift
[57/104] Compiling Swiftlier WeakWrapper.swift
[58/104] Compiling Swiftlier EventCenter.swift
[59/104] Compiling Swiftlier MultiCallback.swift
[60/104] Compiling Swiftlier ReferenceTypePersistenceService.swift
[61/104] Compiling Swiftlier ValueTypePersistenceService.swift
[62/104] Compiling Swiftlier Bool+Formatting.swift
[63/104] Compiling Swiftlier Data+Base64.swift
[64/104] Compiling Swiftlier Date+Formatting.swift
[65/104] Compiling Swiftlier Double+Formatting.swift
[66/104] Compiling Swiftlier HeartRateFormatter.swift
[67/104] Compiling Swiftlier TimeInterval+Formatting.swift
[68/104] Compiling Swiftlier BinarySearchTree.swift
[69/104] Compiling Swiftlier FileSystem.swift
[70/104] Compiling Swiftlier Path+Coding.swift
[71/104] Compiling Swiftlier Path.swift
[72/104] Compiling Swiftlier PersistenceService.swift
[74/104] Compiling Swiftlier SwiftlierError.swift
[75/104] Compiling Swiftlier SwiftlierResult.swift
[76/104] Compiling Swiftlier FileSystem+iOSDirectories.swift
[99/105] Compiling Swiftlier Price.swift
[100/105] Compiling Swiftlier UniquelyIdentifiable.swift
[101/105] Compiling Swiftlier CSVStreamReader.swift
[102/105] Compiling Swiftlier DelimiterStreamReader.swift
[103/105] Compiling Swiftlier StreamReader.swift
[104/105] Compiling Swiftlier Date+Testable.swift
[105/105] Compiling Swiftlier URLSession+Testing.swift
[107/110] Compiling SwiftlierCLI ZipFilePath.swift
[108/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: annotate 'commandsToKill' with '@MainActor' if property should only be accessed from the main actor
    |             `- 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 |     }
[109/110] Compiling SwiftlierCLI CommandLineDecoder.swift
[110/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: annotate 'commandsToKill' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 | private extension ShellCommand {
Build complete! (23.58s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.