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

Swift 6 data race errors: 2

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/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/FitnessKit/TcxDataProtocol.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/FitnessKit/TcxDataProtocol
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d879fb3 bump
Cloned https://github.com/FitnessKit/TcxDataProtocol.git
Revision (git rev-parse @):
d879fb3022d971ea39676a9fc63ede4af437c6f3
SUCCESS checkout https://github.com/FitnessKit/TcxDataProtocol.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/FitnessKit/TcxDataProtocol.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/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
Fetching https://github.com/MaxDesiatov/XMLCoder
[1/10011] Fetching xmlcoder
Fetched https://github.com/MaxDesiatov/XMLCoder from cache (0.52s)
Computing version for https://github.com/MaxDesiatov/XMLCoder
Computed https://github.com/MaxDesiatov/XMLCoder at 0.17.1 (0.53s)
Creating working copy for https://github.com/MaxDesiatov/XMLCoder
Working copy of https://github.com/MaxDesiatov/XMLCoder resolved at 0.17.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/48] Emitting module XMLCoder
[5/48] Compiling XMLCoder DoubleBox.swift
[6/48] Compiling XMLCoder FloatBox.swift
[7/48] Compiling XMLCoder IntBox.swift
[8/48] Compiling XMLCoder KeyedBox.swift
[9/48] Compiling XMLCoder NullBox.swift
[10/48] Compiling XMLCoder SharedBox.swift
[11/48] Compiling XMLCoder SingleKeyedBox.swift
[12/54] Compiling XMLCoder Attribute.swift
[13/54] Compiling XMLCoder BoolBox.swift
[14/54] Compiling XMLCoder Box.swift
[15/54] Compiling XMLCoder ChoiceBox.swift
[16/54] Compiling XMLCoder DataBox.swift
[17/54] Compiling XMLCoder DateBox.swift
[18/54] Compiling XMLCoder DecimalBox.swift
[19/54] Compiling XMLCoder StringBox.swift
[20/54] Compiling XMLCoder UIntBox.swift
[21/54] Compiling XMLCoder URLBox.swift
[22/54] Compiling XMLCoder UnkeyedBox.swift
[23/54] Compiling XMLCoder ValueBox.swift
[24/54] Compiling XMLCoder Element.swift
[25/54] Compiling XMLCoder ElementAndAttribute.swift
[26/54] Compiling XMLCoder ISO8601DateFormatter.swift
[27/54] Compiling XMLCoder KeyedStorage.swift
[28/54] Compiling XMLCoder Metatypes.swift
[29/54] Compiling XMLCoder String+Extensions.swift
[30/54] Compiling XMLCoder XMLChoiceCodingKey.swift
[31/54] Compiling XMLCoder XMLKeyedDecodingContainer.swift
[32/54] Compiling XMLCoder XMLUnkeyedDecodingContainer.swift
[33/54] Compiling XMLCoder DynamicNodeEncoding.swift
[34/54] Compiling XMLCoder EncodingErrorExtension.swift
[35/54] Compiling XMLCoder SingleValueEncodingContainer.swift
[36/54] Compiling XMLCoder XMLChoiceEncodingContainer.swift
[37/54] Compiling XMLCoder DynamicNodeDecoding.swift
[38/54] Compiling XMLCoder SingleValueDecodingContainer.swift
[39/54] Compiling XMLCoder XMLChoiceDecodingContainer.swift
[40/54] Compiling XMLCoder XMLDecoder.swift
[41/54] Compiling XMLCoder XMLDecoderImplementation.swift
[42/54] Compiling XMLCoder XMLDecodingStorage.swift
[43/54] Compiling XMLCoder XMLCoderElement.swift
[44/54] Compiling XMLCoder XMLDocumentType.swift
[45/54] Compiling XMLCoder XMLHeader.swift
[46/54] Compiling XMLCoder XMLKey.swift
[47/54] Compiling XMLCoder XMLStackParser.swift
[48/54] Compiling XMLCoder DecodingErrorExtension.swift
[49/54] Compiling XMLCoder XMLEncoder.swift
[50/54] Compiling XMLCoder XMLEncoderImplementation.swift
[51/54] Compiling XMLCoder XMLEncodingStorage.swift
[52/54] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[53/54] Compiling XMLCoder XMLReferencingEncoder.swift
[54/54] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[56/87] Compiling TcxDataProtocol TriggerMethod.swift
[57/87] Compiling TcxDataProtocol Version.swift
[58/87] Compiling TcxDataProtocol CodingKeys.swift
[59/87] Compiling TcxDataProtocol StringExtensions.swift
[60/91] Compiling TcxDataProtocol Intensity.swift
[61/91] Compiling TcxDataProtocol MultiSportSession.swift
[62/91] Compiling TcxDataProtocol NextSport.swift
[63/91] Compiling TcxDataProtocol Plan.swift
[64/91] Compiling TcxDataProtocol CoursePoint.swift
[65/91] Compiling TcxDataProtocol CoursePointType.swift
[66/91] Compiling TcxDataProtocol Creator.swift
[67/91] Compiling TcxDataProtocol Gender.swift
[68/91] Compiling TcxDataProtocol Heartrate.swift
[69/91] Compiling TcxDataProtocol Position.swift
[70/91] Compiling TcxDataProtocol QuickWorkoutResults.swift
[71/91] Compiling TcxDataProtocol SensorState.swift
[72/91] Compiling TcxDataProtocol Sport.swift
[73/91] Compiling TcxDataProtocol Track.swift
[74/91] Compiling TcxDataProtocol Trackpoint.swift
[75/91] Compiling TcxDataProtocol Training.swift
[76/91] Compiling TcxDataProtocol TrainingCenterDatabase.swift
[77/91] Emitting module TcxDataProtocol
/host/spi-builder-workspace/Sources/TcxDataProtocol/TcxFile.swift:33:24: warning: static property 'formatterFractionalSeconds' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 |     /// TCX xss:timedate Formatter
 33 |     private static let formatterFractionalSeconds: DateFormatter = {
    |                        `- warning: static property 'formatterFractionalSeconds' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |         let formatter = DateFormatter()
 35 |         formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class DateFormatter : Formatter {
   |            `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
 2 |     override public init()
 3 |     required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/TcxDataProtocol/TcxFile.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 26 | import XMLCoder
 27 |
    :
 31 |
 32 |     /// TCX xss:timedate Formatter
 33 |     private static let formatterFractionalSeconds: DateFormatter = {
    |                        |- note: annotate 'formatterFractionalSeconds' 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
 34 |         let formatter = DateFormatter()
 35 |         formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
/host/spi-builder-workspace/Sources/TcxDataProtocol/TcxFile.swift:42:24: warning: static property 'formatterFullTime' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |
 42 |     private static let formatterFullTime: DateFormatter = {
    |                        |- warning: static property 'formatterFullTime' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: annotate 'formatterFullTime' 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
 43 |         let formatter = DateFormatter()
 44 |         formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss'Z'"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class DateFormatter : Formatter {
   |            `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
 2 |     override public init()
 3 |     required public init?(coder: NSCoder)
[78/91] Compiling TcxDataProtocol Author.swift
[79/91] Compiling TcxDataProtocol Build.swift
[80/91] Compiling TcxDataProtocol Course.swift
[81/91] Compiling TcxDataProtocol CourseLap.swift
[82/91] Compiling TcxDataProtocol CourseList.swift
[83/91] Compiling TcxDataProtocol Activity.swift
[84/91] Compiling TcxDataProtocol ActivityLap.swift
[85/91] Compiling TcxDataProtocol ActivityList.swift
[86/91] Compiling TcxDataProtocol ActivityReference.swift
[87/91] Compiling TcxDataProtocol Application.swift
[88/91] Compiling TcxDataProtocol ActivityExtension.swift
/host/spi-builder-workspace/Sources/TcxDataProtocol/TcxFile.swift:33:24: warning: static property 'formatterFractionalSeconds' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 |     /// TCX xss:timedate Formatter
 33 |     private static let formatterFractionalSeconds: DateFormatter = {
    |                        `- warning: static property 'formatterFractionalSeconds' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |         let formatter = DateFormatter()
 35 |         formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class DateFormatter : Formatter {
   |            `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
 2 |     override public init()
 3 |     required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/TcxDataProtocol/TcxFile.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 26 | import XMLCoder
 27 |
    :
 31 |
 32 |     /// TCX xss:timedate Formatter
 33 |     private static let formatterFractionalSeconds: DateFormatter = {
    |                        |- note: annotate 'formatterFractionalSeconds' 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
 34 |         let formatter = DateFormatter()
 35 |         formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
/host/spi-builder-workspace/Sources/TcxDataProtocol/TcxFile.swift:42:24: warning: static property 'formatterFullTime' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |
 42 |     private static let formatterFullTime: DateFormatter = {
    |                        |- warning: static property 'formatterFullTime' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: annotate 'formatterFullTime' 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
 43 |         let formatter = DateFormatter()
 44 |         formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss'Z'"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class DateFormatter : Formatter {
   |            `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
 2 |     override public init()
 3 |     required public init?(coder: NSCoder)
/host/spi-builder-workspace/.build/checkouts/XMLCoder/Sources/XMLCoder/Encoder/XMLEncoder.swift:26:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
 14 |
 15 |     /// The formatting of the output XML data.
 16 |     public struct OutputFormatting: OptionSet {
    |                   `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
 17 |         /// The format's default value.
 18 |         public let rawValue: UInt
    :
 24 |
 25 |         /// Produce human-readable XML with indented output.
 26 |         public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
    |                           |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'prettyPrinted' 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
 27 |
 28 |         /// Produce XML with keys sorted in lexicographic order.
[89/91] Compiling TcxDataProtocol ActivityGoalsExtension.swift
/host/spi-builder-workspace/Sources/TcxDataProtocol/TcxFile.swift:33:24: warning: static property 'formatterFractionalSeconds' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 |     /// TCX xss:timedate Formatter
 33 |     private static let formatterFractionalSeconds: DateFormatter = {
    |                        `- warning: static property 'formatterFractionalSeconds' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |         let formatter = DateFormatter()
 35 |         formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class DateFormatter : Formatter {
   |            `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
 2 |     override public init()
 3 |     required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/TcxDataProtocol/TcxFile.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 26 | import XMLCoder
 27 |
    :
 31 |
 32 |     /// TCX xss:timedate Formatter
 33 |     private static let formatterFractionalSeconds: DateFormatter = {
    |                        |- note: annotate 'formatterFractionalSeconds' 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
 34 |         let formatter = DateFormatter()
 35 |         formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
/host/spi-builder-workspace/Sources/TcxDataProtocol/TcxFile.swift:42:24: warning: static property 'formatterFullTime' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |
 42 |     private static let formatterFullTime: DateFormatter = {
    |                        |- warning: static property 'formatterFullTime' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: annotate 'formatterFullTime' 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
 43 |         let formatter = DateFormatter()
 44 |         formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss'Z'"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class DateFormatter : Formatter {
   |            `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
 2 |     override public init()
 3 |     required public init?(coder: NSCoder)
/host/spi-builder-workspace/.build/checkouts/XMLCoder/Sources/XMLCoder/Encoder/XMLEncoder.swift:26:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
 14 |
 15 |     /// The formatting of the output XML data.
 16 |     public struct OutputFormatting: OptionSet {
    |                   `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
 17 |         /// The format's default value.
 18 |         public let rawValue: UInt
    :
 24 |
 25 |         /// Produce human-readable XML with indented output.
 26 |         public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
    |                           |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'prettyPrinted' 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
 27 |
 28 |         /// Produce XML with keys sorted in lexicographic order.
[90/91] Compiling TcxDataProtocol Extensions.swift
/host/spi-builder-workspace/Sources/TcxDataProtocol/TcxFile.swift:33:24: warning: static property 'formatterFractionalSeconds' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 |     /// TCX xss:timedate Formatter
 33 |     private static let formatterFractionalSeconds: DateFormatter = {
    |                        `- warning: static property 'formatterFractionalSeconds' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |         let formatter = DateFormatter()
 35 |         formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class DateFormatter : Formatter {
   |            `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
 2 |     override public init()
 3 |     required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/TcxDataProtocol/TcxFile.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 26 | import XMLCoder
 27 |
    :
 31 |
 32 |     /// TCX xss:timedate Formatter
 33 |     private static let formatterFractionalSeconds: DateFormatter = {
    |                        |- note: annotate 'formatterFractionalSeconds' 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
 34 |         let formatter = DateFormatter()
 35 |         formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
/host/spi-builder-workspace/Sources/TcxDataProtocol/TcxFile.swift:42:24: warning: static property 'formatterFullTime' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |
 42 |     private static let formatterFullTime: DateFormatter = {
    |                        |- warning: static property 'formatterFullTime' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: annotate 'formatterFullTime' 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
 43 |         let formatter = DateFormatter()
 44 |         formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss'Z'"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class DateFormatter : Formatter {
   |            `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
 2 |     override public init()
 3 |     required public init?(coder: NSCoder)
/host/spi-builder-workspace/.build/checkouts/XMLCoder/Sources/XMLCoder/Encoder/XMLEncoder.swift:26:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
 14 |
 15 |     /// The formatting of the output XML data.
 16 |     public struct OutputFormatting: OptionSet {
    |                   `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
 17 |         /// The format's default value.
 18 |         public let rawValue: UInt
    :
 24 |
 25 |         /// Produce human-readable XML with indented output.
 26 |         public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
    |                           |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'prettyPrinted' 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
 27 |
 28 |         /// Produce XML with keys sorted in lexicographic order.
[91/91] Compiling TcxDataProtocol TcxFile.swift
/host/spi-builder-workspace/Sources/TcxDataProtocol/TcxFile.swift:33:24: warning: static property 'formatterFractionalSeconds' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 |     /// TCX xss:timedate Formatter
 33 |     private static let formatterFractionalSeconds: DateFormatter = {
    |                        `- warning: static property 'formatterFractionalSeconds' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |         let formatter = DateFormatter()
 35 |         formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class DateFormatter : Formatter {
   |            `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
 2 |     override public init()
 3 |     required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/TcxDataProtocol/TcxFile.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 23 | //  THE SOFTWARE.
 24 |
 25 | import Foundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 26 | import XMLCoder
 27 |
    :
 31 |
 32 |     /// TCX xss:timedate Formatter
 33 |     private static let formatterFractionalSeconds: DateFormatter = {
    |                        |- note: annotate 'formatterFractionalSeconds' 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
 34 |         let formatter = DateFormatter()
 35 |         formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
/host/spi-builder-workspace/Sources/TcxDataProtocol/TcxFile.swift:42:24: warning: static property 'formatterFullTime' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |
 42 |     private static let formatterFullTime: DateFormatter = {
    |                        |- warning: static property 'formatterFullTime' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: annotate 'formatterFullTime' 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
 43 |         let formatter = DateFormatter()
 44 |         formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss'Z'"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class DateFormatter : Formatter {
   |            `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
 2 |     override public init()
 3 |     required public init?(coder: NSCoder)
/host/spi-builder-workspace/.build/checkouts/XMLCoder/Sources/XMLCoder/Encoder/XMLEncoder.swift:26:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
 14 |
 15 |     /// The formatting of the output XML data.
 16 |     public struct OutputFormatting: OptionSet {
    |                   `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
 17 |         /// The format's default value.
 18 |         public let rawValue: UInt
    :
 24 |
 25 |         /// Produce human-readable XML with indented output.
 26 |         public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
    |                           |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'XMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'prettyPrinted' 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
 27 |
 28 |         /// Produce XML with keys sorted in lexicographic order.
Build complete! (26.98s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "xmlcoder",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/MaxDesiatov/XMLCoder"
    }
  ],
  "manifest_display_name" : "TcxDataProtocol",
  "name" : "TcxDataProtocol",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "TcxDataProtocol",
      "targets" : [
        "TcxDataProtocol"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TcxDataProtocolTests",
      "module_type" : "SwiftTarget",
      "name" : "TcxDataProtocolTests",
      "path" : "Tests/TcxDataProtocolTests",
      "sources" : [
        "TcxDataProtocolTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "TcxDataProtocol"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TcxDataProtocol",
      "module_type" : "SwiftTarget",
      "name" : "TcxDataProtocol",
      "path" : "Sources/TcxDataProtocol",
      "product_dependencies" : [
        "XMLCoder"
      ],
      "product_memberships" : [
        "TcxDataProtocol"
      ],
      "sources" : [
        "Elements/Activity.swift",
        "Elements/ActivityLap.swift",
        "Elements/ActivityList.swift",
        "Elements/ActivityReference.swift",
        "Elements/Application.swift",
        "Elements/Author.swift",
        "Elements/Build.swift",
        "Elements/Course.swift",
        "Elements/CourseLap.swift",
        "Elements/CourseList.swift",
        "Elements/CoursePoint.swift",
        "Elements/CoursePointType.swift",
        "Elements/Creator.swift",
        "Elements/Gender.swift",
        "Elements/Heartrate.swift",
        "Elements/Intensity.swift",
        "Elements/MultiSportSession.swift",
        "Elements/NextSport.swift",
        "Elements/Plan.swift",
        "Elements/Position.swift",
        "Elements/QuickWorkoutResults.swift",
        "Elements/SensorState.swift",
        "Elements/Sport.swift",
        "Elements/Track.swift",
        "Elements/Trackpoint.swift",
        "Elements/Training.swift",
        "Elements/TrainingCenterDatabase.swift",
        "Elements/TriggerMethod.swift",
        "Elements/Version.swift",
        "Extensions/CodingKeys.swift",
        "Extensions/StringExtensions.swift",
        "TcxExtensions/ActivityExtension.swift",
        "TcxExtensions/ActivityGoalsExtension.swift",
        "TcxExtensions/Extensions.swift",
        "TcxFile.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.