This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 RunningPace with Swift 6.0 for Linux.

Swift 6 data race errors: 2

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brantonb/RunningPace.git
Reference: main
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/brantonb/RunningPace
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 229d75e Install Mint in GitHub Actions
Cloned https://github.com/brantonb/RunningPace.git
Revision (git rev-parse @):
229d75e248b799bcb7fe5fc7e8e91117f55271c7
SUCCESS checkout https://github.com/brantonb/RunningPace.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/brantonb/RunningPace.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/7] Compiling RunningPace TypeAliases.swift
[4/7] Compiling RunningPace UnitSpeedExtensions.swift
/host/spi-builder-workspace/Sources/RunningPace/UnitSpeedExtensions.swift:4:16: warning: static property 'minutesPerMile' is not concurrency-safe because non-'Sendable' type 'UnitSpeed' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | public extension UnitSpeed {
 4 |     static let minutesPerMile = UnitSpeed(symbol: "\(UnitDuration.minutes.symbol)/\(UnitLength.miles.symbol)",
   |                `- warning: static property 'minutesPerMile' is not concurrency-safe because non-'Sendable' type 'UnitSpeed' may have shared mutable state; this is an error in the Swift 6 language mode
 5 |                                           converter: UnitConverterInverse(constant: 26.8224))
 6 |
Foundation.UnitSpeed:1:20: note: class 'UnitSpeed' does not conform to the 'Sendable' protocol
 1 | final public class UnitSpeed : Dimension {
   |                    `- note: class 'UnitSpeed' does not conform to the 'Sendable' protocol
 2 |     public class var metersPerSecond: UnitSpeed { get }
 3 |     public class var kilometersPerHour: UnitSpeed { get }
/host/spi-builder-workspace/Sources/RunningPace/UnitSpeedExtensions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 1 | import Foundation
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 2 |
 3 | public extension UnitSpeed {
 4 |     static let minutesPerMile = UnitSpeed(symbol: "\(UnitDuration.minutes.symbol)/\(UnitLength.miles.symbol)",
   |                |- note: annotate 'minutesPerMile' 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
 5 |                                           converter: UnitConverterInverse(constant: 26.8224))
 6 |
/host/spi-builder-workspace/Sources/RunningPace/UnitSpeedExtensions.swift:7:16: warning: static property 'minutesPerKilometer' is not concurrency-safe because non-'Sendable' type 'UnitSpeed' may have shared mutable state; this is an error in the Swift 6 language mode
 5 |                                           converter: UnitConverterInverse(constant: 26.8224))
 6 |
 7 |     static let minutesPerKilometer = UnitSpeed(symbol: "\(UnitDuration.minutes.symbol)/\(UnitLength.kilometers.symbol)",
   |                |- warning: static property 'minutesPerKilometer' is not concurrency-safe because non-'Sendable' type 'UnitSpeed' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'minutesPerKilometer' 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
 8 |                                                converter: UnitConverterInverse(constant: 16.666666666667))
 9 | }
Foundation.UnitSpeed:1:20: note: class 'UnitSpeed' does not conform to the 'Sendable' protocol
 1 | final public class UnitSpeed : Dimension {
   |                    `- note: class 'UnitSpeed' does not conform to the 'Sendable' protocol
 2 |     public class var metersPerSecond: UnitSpeed { get }
 3 |     public class var kilometersPerHour: UnitSpeed { get }
[5/7] Emitting module RunningPace
/host/spi-builder-workspace/Sources/RunningPace/UnitSpeedExtensions.swift:4:16: warning: static property 'minutesPerMile' is not concurrency-safe because non-'Sendable' type 'UnitSpeed' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | public extension UnitSpeed {
 4 |     static let minutesPerMile = UnitSpeed(symbol: "\(UnitDuration.minutes.symbol)/\(UnitLength.miles.symbol)",
   |                `- warning: static property 'minutesPerMile' is not concurrency-safe because non-'Sendable' type 'UnitSpeed' may have shared mutable state; this is an error in the Swift 6 language mode
 5 |                                           converter: UnitConverterInverse(constant: 26.8224))
 6 |
Foundation.UnitSpeed:1:20: note: class 'UnitSpeed' does not conform to the 'Sendable' protocol
 1 | final public class UnitSpeed : Dimension {
   |                    `- note: class 'UnitSpeed' does not conform to the 'Sendable' protocol
 2 |     public class var metersPerSecond: UnitSpeed { get }
 3 |     public class var kilometersPerHour: UnitSpeed { get }
/host/spi-builder-workspace/Sources/RunningPace/UnitSpeedExtensions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 1 | import Foundation
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 2 |
 3 | public extension UnitSpeed {
 4 |     static let minutesPerMile = UnitSpeed(symbol: "\(UnitDuration.minutes.symbol)/\(UnitLength.miles.symbol)",
   |                |- note: annotate 'minutesPerMile' 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
 5 |                                           converter: UnitConverterInverse(constant: 26.8224))
 6 |
/host/spi-builder-workspace/Sources/RunningPace/UnitSpeedExtensions.swift:7:16: warning: static property 'minutesPerKilometer' is not concurrency-safe because non-'Sendable' type 'UnitSpeed' may have shared mutable state; this is an error in the Swift 6 language mode
 5 |                                           converter: UnitConverterInverse(constant: 26.8224))
 6 |
 7 |     static let minutesPerKilometer = UnitSpeed(symbol: "\(UnitDuration.minutes.symbol)/\(UnitLength.kilometers.symbol)",
   |                |- warning: static property 'minutesPerKilometer' is not concurrency-safe because non-'Sendable' type 'UnitSpeed' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'minutesPerKilometer' 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
 8 |                                                converter: UnitConverterInverse(constant: 16.666666666667))
 9 | }
Foundation.UnitSpeed:1:20: note: class 'UnitSpeed' does not conform to the 'Sendable' protocol
 1 | final public class UnitSpeed : Dimension {
   |                    `- note: class 'UnitSpeed' does not conform to the 'Sendable' protocol
 2 |     public class var metersPerSecond: UnitSpeed { get }
 3 |     public class var kilometersPerHour: UnitSpeed { get }
[6/7] Compiling RunningPace DoubleExtensions.swift
/host/spi-builder-workspace/Sources/RunningPace/UnitSpeedExtensions.swift:4:16: warning: static property 'minutesPerMile' is not concurrency-safe because non-'Sendable' type 'UnitSpeed' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | public extension UnitSpeed {
 4 |     static let minutesPerMile = UnitSpeed(symbol: "\(UnitDuration.minutes.symbol)/\(UnitLength.miles.symbol)",
   |                `- warning: static property 'minutesPerMile' is not concurrency-safe because non-'Sendable' type 'UnitSpeed' may have shared mutable state; this is an error in the Swift 6 language mode
 5 |                                           converter: UnitConverterInverse(constant: 26.8224))
 6 |
Foundation.UnitSpeed:1:20: note: class 'UnitSpeed' does not conform to the 'Sendable' protocol
 1 | final public class UnitSpeed : Dimension {
   |                    `- note: class 'UnitSpeed' does not conform to the 'Sendable' protocol
 2 |     public class var metersPerSecond: UnitSpeed { get }
 3 |     public class var kilometersPerHour: UnitSpeed { get }
/host/spi-builder-workspace/Sources/RunningPace/UnitSpeedExtensions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 1 | import Foundation
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 2 |
 3 | public extension UnitSpeed {
 4 |     static let minutesPerMile = UnitSpeed(symbol: "\(UnitDuration.minutes.symbol)/\(UnitLength.miles.symbol)",
   |                |- note: annotate 'minutesPerMile' 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
 5 |                                           converter: UnitConverterInverse(constant: 26.8224))
 6 |
/host/spi-builder-workspace/Sources/RunningPace/UnitSpeedExtensions.swift:7:16: warning: static property 'minutesPerKilometer' is not concurrency-safe because non-'Sendable' type 'UnitSpeed' may have shared mutable state; this is an error in the Swift 6 language mode
 5 |                                           converter: UnitConverterInverse(constant: 26.8224))
 6 |
 7 |     static let minutesPerKilometer = UnitSpeed(symbol: "\(UnitDuration.minutes.symbol)/\(UnitLength.kilometers.symbol)",
   |                |- warning: static property 'minutesPerKilometer' is not concurrency-safe because non-'Sendable' type 'UnitSpeed' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'minutesPerKilometer' 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
 8 |                                                converter: UnitConverterInverse(constant: 16.666666666667))
 9 | }
Foundation.UnitSpeed:1:20: note: class 'UnitSpeed' does not conform to the 'Sendable' protocol
 1 | final public class UnitSpeed : Dimension {
   |                    `- note: class 'UnitSpeed' does not conform to the 'Sendable' protocol
 2 |     public class var metersPerSecond: UnitSpeed { get }
 3 |     public class var kilometersPerHour: UnitSpeed { get }
[7/7] Compiling RunningPace Operators.swift
/host/spi-builder-workspace/Sources/RunningPace/UnitSpeedExtensions.swift:4:16: warning: static property 'minutesPerMile' is not concurrency-safe because non-'Sendable' type 'UnitSpeed' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | public extension UnitSpeed {
 4 |     static let minutesPerMile = UnitSpeed(symbol: "\(UnitDuration.minutes.symbol)/\(UnitLength.miles.symbol)",
   |                `- warning: static property 'minutesPerMile' is not concurrency-safe because non-'Sendable' type 'UnitSpeed' may have shared mutable state; this is an error in the Swift 6 language mode
 5 |                                           converter: UnitConverterInverse(constant: 26.8224))
 6 |
Foundation.UnitSpeed:1:20: note: class 'UnitSpeed' does not conform to the 'Sendable' protocol
 1 | final public class UnitSpeed : Dimension {
   |                    `- note: class 'UnitSpeed' does not conform to the 'Sendable' protocol
 2 |     public class var metersPerSecond: UnitSpeed { get }
 3 |     public class var kilometersPerHour: UnitSpeed { get }
/host/spi-builder-workspace/Sources/RunningPace/UnitSpeedExtensions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 1 | import Foundation
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 2 |
 3 | public extension UnitSpeed {
 4 |     static let minutesPerMile = UnitSpeed(symbol: "\(UnitDuration.minutes.symbol)/\(UnitLength.miles.symbol)",
   |                |- note: annotate 'minutesPerMile' 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
 5 |                                           converter: UnitConverterInverse(constant: 26.8224))
 6 |
/host/spi-builder-workspace/Sources/RunningPace/UnitSpeedExtensions.swift:7:16: warning: static property 'minutesPerKilometer' is not concurrency-safe because non-'Sendable' type 'UnitSpeed' may have shared mutable state; this is an error in the Swift 6 language mode
 5 |                                           converter: UnitConverterInverse(constant: 26.8224))
 6 |
 7 |     static let minutesPerKilometer = UnitSpeed(symbol: "\(UnitDuration.minutes.symbol)/\(UnitLength.kilometers.symbol)",
   |                |- warning: static property 'minutesPerKilometer' is not concurrency-safe because non-'Sendable' type 'UnitSpeed' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'minutesPerKilometer' 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
 8 |                                                converter: UnitConverterInverse(constant: 16.666666666667))
 9 | }
Foundation.UnitSpeed:1:20: note: class 'UnitSpeed' does not conform to the 'Sendable' protocol
 1 | final public class UnitSpeed : Dimension {
   |                    `- note: class 'UnitSpeed' does not conform to the 'Sendable' protocol
 2 |     public class var metersPerSecond: UnitSpeed { get }
 3 |     public class var kilometersPerHour: UnitSpeed { get }
Build complete! (10.53s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RunningPace",
  "name" : "RunningPace",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "RunningPace",
      "targets" : [
        "RunningPace"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RunningPaceTests",
      "module_type" : "SwiftTarget",
      "name" : "RunningPaceTests",
      "path" : "Tests/RunningPaceTests",
      "sources" : [
        "OperatorsTests.swift",
        "UnitSpeedExtensionsTests.swift"
      ],
      "target_dependencies" : [
        "RunningPace"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RunningPace",
      "module_type" : "SwiftTarget",
      "name" : "RunningPace",
      "path" : "Sources/RunningPace",
      "product_memberships" : [
        "RunningPace"
      ],
      "sources" : [
        "DoubleExtensions.swift",
        "Operators.swift",
        "TypeAliases.swift",
        "UnitSpeedExtensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.