The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftSubtitles, reference 2.1.0 (9f1503), with Swift 6.1 for macOS (SPM) on 3 Jun 2025 06:24:06 UTC.

Swift 6 data race errors: 12

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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/SwiftSubtitles.git
Reference: 2.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/SwiftSubtitles
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at 9f1503b Add basic support for parsing TTML files
Cloned https://github.com/dagronf/SwiftSubtitles.git
Revision (git rev-parse @):
9f1503bda1d095880da0f14a0e07215631929f27
SUCCESS checkout https://github.com/dagronf/SwiftSubtitles.git at 2.1.0
Fetching https://github.com/dagronf/DSFRegex
Fetching https://github.com/dagronf/TinyCSV
[1/240] Fetching dsfregex
[114/517] Fetching dsfregex, tinycsv
Fetched https://github.com/dagronf/DSFRegex from cache (0.86s)
Fetched https://github.com/dagronf/TinyCSV from cache (0.86s)
Computing version for https://github.com/dagronf/TinyCSV
Computed https://github.com/dagronf/TinyCSV at 1.0.0 (1.49s)
Computing version for https://github.com/dagronf/DSFRegex
Computed https://github.com/dagronf/DSFRegex at 4.0.0 (0.61s)
Creating working copy for https://github.com/dagronf/TinyCSV
Working copy of https://github.com/dagronf/TinyCSV resolved at 1.0.0
Creating working copy for https://github.com/dagronf/DSFRegex
Working copy of https://github.com/dagronf/DSFRegex resolved at 4.0.0
========================================
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": "swiftsubtitles",
      "name": "SwiftSubtitles",
      "url": "https://github.com/dagronf/SwiftSubtitles.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftSubtitles",
      "dependencies": [
        {
          "identity": "dsfregex",
          "name": "DSFRegex",
          "url": "https://github.com/dagronf/DSFRegex",
          "version": "4.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSFRegex",
          "dependencies": [
          ]
        },
        {
          "identity": "tinycsv",
          "name": "TinyCSV",
          "url": "https://github.com/dagronf/TinyCSV",
          "version": "1.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TinyCSV",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/dagronf/SwiftSubtitles.git
[1/1110] Fetching swiftsubtitles
Fetched https://github.com/dagronf/SwiftSubtitles.git from cache (0.97s)
Fetching https://github.com/dagronf/DSFRegex from cache
Fetching https://github.com/dagronf/TinyCSV from cache
Fetched https://github.com/dagronf/DSFRegex from cache (0.45s)
Fetched https://github.com/dagronf/TinyCSV from cache (0.45s)
Computing version for https://github.com/dagronf/DSFRegex
Computed https://github.com/dagronf/DSFRegex at 4.0.0 (0.51s)
Computing version for https://github.com/dagronf/TinyCSV
Computed https://github.com/dagronf/TinyCSV at 1.0.1 (0.03s)
Creating working copy for https://github.com/dagronf/SwiftSubtitles.git
Working copy of https://github.com/dagronf/SwiftSubtitles.git resolved at 2.1.0 (9f1503b)
Creating working copy for https://github.com/dagronf/DSFRegex
Working copy of https://github.com/dagronf/DSFRegex resolved at 4.0.0
Creating working copy for https://github.com/dagronf/TinyCSV
Working copy of https://github.com/dagronf/TinyCSV resolved at 1.0.1
warning: '.resolve-product-dependencies': dependency 'swiftsubtitles' is not used by any target
Found 2 product dependencies
  - DSFRegex
  - TinyCSV
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dagronf/SwiftSubtitles.git
https://github.com/dagronf/SwiftSubtitles.git
{
  "dependencies" : [
    {
      "identity" : "dsfregex",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dagronf/DSFRegex"
    },
    {
      "identity" : "tinycsv",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "1.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dagronf/TinyCSV"
    }
  ],
  "manifest_display_name" : "SwiftSubtitles",
  "name" : "SwiftSubtitles",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftSubtitles",
      "targets" : [
        "SwiftSubtitles"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftSubtitlesTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSubtitlesTests",
      "path" : "Tests/SwiftSubtitlesTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/csv/captions_edited.csv",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/csv/stby.csv",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/lrc/ZUTOMAYO - Can't Be Right.lrc",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/lrc/espresso.lrc",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/podcasts-index/sample.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/podcasts-index/starwars-demo.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/sbv/captions-LE.sbv",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/sbv/captions.sbv",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/srt/26-transcript.srt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/srt/Teenage+Mutant+Ninja+Turtles.1990.Blu-ray.srt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/srt/utf16-test.srt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/srt/zorro.srt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/sub/97620.sub",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/ttml/pirates.ttml",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/ttml/sample1.ttml",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/ttml/sample2.ttml",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/ttml/sample3.ttml",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/vtt/crash_13.vtt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/vtt/empty.vtt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/vtt/sample-big5.vtt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/vtt/sample.vtt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/vtt/simple-sample-rn.vtt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/vtt/speakers1.vtt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/vtt/upc-video-subtitles-en.vtt",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "BugTests.swift",
        "CSVTests.swift",
        "CommonTests.swift",
        "JSONTests.swift",
        "LRCTests.swift",
        "PodcastIndexTests.swift",
        "SBVTests.swift",
        "SRTTests.swift",
        "SUBTests.swift",
        "TTMLTests.swift",
        "TestUtils.swift",
        "TimeExpressionTests.swift",
        "TimeShiftingTests.swift",
        "VTTTests.swift"
      ],
      "target_dependencies" : [
        "SwiftSubtitles"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftSubtitles",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSubtitles",
      "path" : "Sources/SwiftSubtitles",
      "product_dependencies" : [
        "DSFRegex",
        "TinyCSV"
      ],
      "product_memberships" : [
        "SwiftSubtitles"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Subtitles+codable.swift",
        "Subtitles+cue.swift",
        "Subtitles+error.swift",
        "Subtitles+time.swift",
        "Subtitles.swift",
        "coding/CSV.swift",
        "coding/JSON.swift",
        "coding/LRC.swift",
        "coding/PodcastsIndex.swift",
        "coding/SBV.swift",
        "coding/SRT.swift",
        "coding/SUB.swift",
        "coding/TTML.swift",
        "coding/VTT.swift",
        "private/Clamping.swift",
        "private/Identifier.swift",
        "private/String+BOM.swift",
        "private/String+extensions.swift",
        "private/TimeExpression.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
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/7] Write sources
[3/7] Copying PrivacyInfo.xcprivacy
[6/7] Write swift-version-2F0A5646E1D333AE.txt
[8/22] Compiling TinyCSV resource_bundle_accessor.swift
[9/22] Compiling TinyCSV TinyCSV+EventDrivenDecoder.swift
[10/22] Compiling TinyCSV TinyCSV+Parsing.swift
[11/22] Compiling TinyCSV TinyCSV+Encode.swift
[12/22] Compiling TinyCSV TinyCSVData.swift
[13/22] Compiling TinyCSV TinyCSV+Decoder.swift
[14/22] Compiling TinyCSV TinyCSV.swift
[15/22] Compiling DSFRegex resource_bundle_accessor.swift
[16/22] Compiling DSFRegex DSFRegex.swift
[17/22] Compiling TinyCSV TinyCSV+Decode.swift
[18/22] Emitting module TinyCSV
[19/22] Compiling TinyCSV TinyCSV+Delimiter.swift
[20/22] Compiling DSFRegex String+regex.swift
[21/22] Compiling DSFRegex String+CursorExtensions.swift
[22/22] Emitting module DSFRegex
[23/41] Compiling SwiftSubtitles Clamping.swift
[24/41] Compiling SwiftSubtitles Identifier.swift
[25/43] Compiling SwiftSubtitles String+BOM.swift
[26/43] Compiling SwiftSubtitles String+extensions.swift
[27/43] Compiling SwiftSubtitles TTML.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/VTT.swift:51:13: warning: let 'VTTTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
 49 |
 50 | /// The time matching regex
 51 | private let VTTTimeRegex__ = try! DSFRegex(#"(?:(\d*):)?(?:(\d*):)(\d*)[.,](\d{3})\s*-->\s*(?:(\d*):)?(?:(\d*):)(\d*)[.,](\d{3})"#)
    |             `- warning: let 'VTTTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
 52 | /// Regex for matching a speaker tag <v.loud Esme>This is a test
 53 | private let VTTSpeakerRegex__ = try! DSFRegex(#"<v[^ ]* ([^>]*)>"#)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/VTT.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 23 | //
 24 |
 25 | import DSFRegex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 26 | import Foundation
 27 |
    :
 49 |
 50 | /// The time matching regex
 51 | private let VTTTimeRegex__ = try! DSFRegex(#"(?:(\d*):)?(?:(\d*):)(\d*)[.,](\d{3})\s*-->\s*(?:(\d*):)?(?:(\d*):)(\d*)[.,](\d{3})"#)
    |             |- note: add '@MainActor' to make let 'VTTTimeRegex__' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 | /// Regex for matching a speaker tag <v.loud Esme>This is a test
 53 | private let VTTSpeakerRegex__ = try! DSFRegex(#"<v[^ ]* ([^>]*)>"#)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/VTT.swift:53:13: warning: let 'VTTSpeakerRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
 51 | private let VTTTimeRegex__ = try! DSFRegex(#"(?:(\d*):)?(?:(\d*):)(\d*)[.,](\d{3})\s*-->\s*(?:(\d*):)?(?:(\d*):)(\d*)[.,](\d{3})"#)
 52 | /// Regex for matching a speaker tag <v.loud Esme>This is a test
 53 | private let VTTSpeakerRegex__ = try! DSFRegex(#"<v[^ ]* ([^>]*)>"#)
    |             |- warning: let 'VTTSpeakerRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'VTTSpeakerRegex__' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 | public extension Subtitles.Coder.VTT {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
[28/43] Compiling SwiftSubtitles VTT.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/VTT.swift:51:13: warning: let 'VTTTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
 49 |
 50 | /// The time matching regex
 51 | private let VTTTimeRegex__ = try! DSFRegex(#"(?:(\d*):)?(?:(\d*):)(\d*)[.,](\d{3})\s*-->\s*(?:(\d*):)?(?:(\d*):)(\d*)[.,](\d{3})"#)
    |             `- warning: let 'VTTTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
 52 | /// Regex for matching a speaker tag <v.loud Esme>This is a test
 53 | private let VTTSpeakerRegex__ = try! DSFRegex(#"<v[^ ]* ([^>]*)>"#)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/VTT.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 23 | //
 24 |
 25 | import DSFRegex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 26 | import Foundation
 27 |
    :
 49 |
 50 | /// The time matching regex
 51 | private let VTTTimeRegex__ = try! DSFRegex(#"(?:(\d*):)?(?:(\d*):)(\d*)[.,](\d{3})\s*-->\s*(?:(\d*):)?(?:(\d*):)(\d*)[.,](\d{3})"#)
    |             |- note: add '@MainActor' to make let 'VTTTimeRegex__' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 | /// Regex for matching a speaker tag <v.loud Esme>This is a test
 53 | private let VTTSpeakerRegex__ = try! DSFRegex(#"<v[^ ]* ([^>]*)>"#)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/VTT.swift:53:13: warning: let 'VTTSpeakerRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
 51 | private let VTTTimeRegex__ = try! DSFRegex(#"(?:(\d*):)?(?:(\d*):)(\d*)[.,](\d{3})\s*-->\s*(?:(\d*):)?(?:(\d*):)(\d*)[.,](\d{3})"#)
 52 | /// Regex for matching a speaker tag <v.loud Esme>This is a test
 53 | private let VTTSpeakerRegex__ = try! DSFRegex(#"<v[^ ]* ([^>]*)>"#)
    |             |- warning: let 'VTTSpeakerRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'VTTSpeakerRegex__' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 | public extension Subtitles.Coder.VTT {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
[29/43] Compiling SwiftSubtitles SRT.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/SRT.swift:48:13: warning: let 'SRTTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 | /// Regex for matching an SRT time string
 48 | private let SRTTimeRegex__ = try! DSFRegex(#"(\d+):(\d{1,2}):(\d{1,2}),(\d{3})\s-->\s(\d+):(\d{2}):(\d{1,2}),(\d{3})"#)
    |             `- warning: let 'SRTTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
 49 |
 50 | public extension Subtitles.Coder.SRT {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/SRT.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 23 | //
 24 |
 25 | import DSFRegex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 26 | import Foundation
 27 |
    :
 46 |
 47 | /// Regex for matching an SRT time string
 48 | private let SRTTimeRegex__ = try! DSFRegex(#"(\d+):(\d{1,2}):(\d{1,2}),(\d{3})\s-->\s(\d+):(\d{2}):(\d{1,2}),(\d{3})"#)
    |             |- note: add '@MainActor' to make let 'SRTTimeRegex__' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 49 |
 50 | public extension Subtitles.Coder.SRT {
[30/43] Compiling SwiftSubtitles SUB.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/SRT.swift:48:13: warning: let 'SRTTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 | /// Regex for matching an SRT time string
 48 | private let SRTTimeRegex__ = try! DSFRegex(#"(\d+):(\d{1,2}):(\d{1,2}),(\d{3})\s-->\s(\d+):(\d{2}):(\d{1,2}),(\d{3})"#)
    |             `- warning: let 'SRTTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
 49 |
 50 | public extension Subtitles.Coder.SRT {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/SRT.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 23 | //
 24 |
 25 | import DSFRegex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 26 | import Foundation
 27 |
    :
 46 |
 47 | /// Regex for matching an SRT time string
 48 | private let SRTTimeRegex__ = try! DSFRegex(#"(\d+):(\d{1,2}):(\d{1,2}),(\d{3})\s-->\s(\d+):(\d{2}):(\d{1,2}),(\d{3})"#)
    |             |- note: add '@MainActor' to make let 'SRTTimeRegex__' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 49 |
 50 | public extension Subtitles.Coder.SRT {
[31/43] Compiling SwiftSubtitles TimeExpression.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/private/TimeExpression.swift:214:13: warning: let '__clockTimeRegex' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
212 | // MARK: - Parsing
213 |
214 | private let __clockTimeRegex = try! DSFRegex(#"(\d{2,}):(\d{2}):(\d{2})(?:\.(\d+)|:(\d{2,})(?:\.(\d+))?)?"#)
    |             `- warning: let '__clockTimeRegex' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
215 | private let __timeOffsetRegex = try! DSFRegex(#"(\d+(?:\.\d+)?)(ms|h|m|s|f|t)"#)
216 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/private/TimeExpression.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 23 | //
 24 |
 25 | import DSFRegex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 26 | import Foundation
 27 |
    :
212 | // MARK: - Parsing
213 |
214 | private let __clockTimeRegex = try! DSFRegex(#"(\d{2,}):(\d{2}):(\d{2})(?:\.(\d+)|:(\d{2,})(?:\.(\d+))?)?"#)
    |             |- note: add '@MainActor' to make let '__clockTimeRegex' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | private let __timeOffsetRegex = try! DSFRegex(#"(\d+(?:\.\d+)?)(ms|h|m|s|f|t)"#)
216 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/private/TimeExpression.swift:215:13: warning: let '__timeOffsetRegex' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
213 |
214 | private let __clockTimeRegex = try! DSFRegex(#"(\d{2,}):(\d{2}):(\d{2})(?:\.(\d+)|:(\d{2,})(?:\.(\d+))?)?"#)
215 | private let __timeOffsetRegex = try! DSFRegex(#"(\d+(?:\.\d+)?)(ms|h|m|s|f|t)"#)
    |             |- warning: let '__timeOffsetRegex' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '__timeOffsetRegex' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 | private func __parseTimeExpression(_ string: String) -> TimeExpression? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
[32/43] Compiling SwiftSubtitles resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/private/TimeExpression.swift:214:13: warning: let '__clockTimeRegex' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
212 | // MARK: - Parsing
213 |
214 | private let __clockTimeRegex = try! DSFRegex(#"(\d{2,}):(\d{2}):(\d{2})(?:\.(\d+)|:(\d{2,})(?:\.(\d+))?)?"#)
    |             `- warning: let '__clockTimeRegex' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
215 | private let __timeOffsetRegex = try! DSFRegex(#"(\d+(?:\.\d+)?)(ms|h|m|s|f|t)"#)
216 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/private/TimeExpression.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 23 | //
 24 |
 25 | import DSFRegex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 26 | import Foundation
 27 |
    :
212 | // MARK: - Parsing
213 |
214 | private let __clockTimeRegex = try! DSFRegex(#"(\d{2,}):(\d{2}):(\d{2})(?:\.(\d+)|:(\d{2,})(?:\.(\d+))?)?"#)
    |             |- note: add '@MainActor' to make let '__clockTimeRegex' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | private let __timeOffsetRegex = try! DSFRegex(#"(\d+(?:\.\d+)?)(ms|h|m|s|f|t)"#)
216 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/private/TimeExpression.swift:215:13: warning: let '__timeOffsetRegex' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
213 |
214 | private let __clockTimeRegex = try! DSFRegex(#"(\d{2,}):(\d{2}):(\d{2})(?:\.(\d+)|:(\d{2,})(?:\.(\d+))?)?"#)
215 | private let __timeOffsetRegex = try! DSFRegex(#"(\d+(?:\.\d+)?)(ms|h|m|s|f|t)"#)
    |             |- warning: let '__timeOffsetRegex' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '__timeOffsetRegex' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 | private func __parseTimeExpression(_ string: String) -> TimeExpression? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
[33/43] Compiling SwiftSubtitles PodcastsIndex.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/SBV.swift:50:13: warning: let 'SBVTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 | /// Regex for matching an SBV time string
 50 | private let SBVTimeRegex__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})\.(\d{3}),(\d+):(\d{2}):(\d{1,2})\.(\d{3})$"#)
    |             `- warning: let 'SBVTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
 51 |
 52 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/SBV.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 23 | //
 24 |
 25 | import DSFRegex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 26 | import Foundation
 27 |
    :
 48 |
 49 | /// Regex for matching an SBV time string
 50 | private let SBVTimeRegex__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})\.(\d{3}),(\d+):(\d{2}):(\d{1,2})\.(\d{3})$"#)
    |             |- note: add '@MainActor' to make let 'SBVTimeRegex__' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |
[34/43] Compiling SwiftSubtitles SBV.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/SBV.swift:50:13: warning: let 'SBVTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 | /// Regex for matching an SBV time string
 50 | private let SBVTimeRegex__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})\.(\d{3}),(\d+):(\d{2}):(\d{1,2})\.(\d{3})$"#)
    |             `- warning: let 'SBVTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
 51 |
 52 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/SBV.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 23 | //
 24 |
 25 | import DSFRegex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 26 | import Foundation
 27 |
    :
 48 |
 49 | /// Regex for matching an SBV time string
 50 | private let SBVTimeRegex__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})\.(\d{3}),(\d+):(\d{2}):(\d{1,2})\.(\d{3})$"#)
    |             |- note: add '@MainActor' to make let 'SBVTimeRegex__' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |
[35/43] Compiling SwiftSubtitles JSON.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/LRC.swift:122:13: warning: let 'LRCTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Regex for matching an LRC time string
122 | private let LRCTimeRegex__ = try! DSFRegex(#"\[(\d{2})\:(\d{2})\.(\d{2,3})\]+"#)
    |             `- warning: let 'LRCTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
123 |
124 | public extension Subtitles.Coder.LRC {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/LRC.swift:31:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 29 | //  https://www.lyricsify.com
 30 |
 31 | import DSFRegex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 32 | import Foundation
 33 |
    :
120 |
121 | /// Regex for matching an LRC time string
122 | private let LRCTimeRegex__ = try! DSFRegex(#"\[(\d{2})\:(\d{2})\.(\d{2,3})\]+"#)
    |             |- note: add '@MainActor' to make let 'LRCTimeRegex__' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | public extension Subtitles.Coder.LRC {
[36/43] Compiling SwiftSubtitles LRC.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/LRC.swift:122:13: warning: let 'LRCTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Regex for matching an LRC time string
122 | private let LRCTimeRegex__ = try! DSFRegex(#"\[(\d{2})\:(\d{2})\.(\d{2,3})\]+"#)
    |             `- warning: let 'LRCTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
123 |
124 | public extension Subtitles.Coder.LRC {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/LRC.swift:31:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 29 | //  https://www.lyricsify.com
 30 |
 31 | import DSFRegex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 32 | import Foundation
 33 |
    :
120 |
121 | /// Regex for matching an LRC time string
122 | private let LRCTimeRegex__ = try! DSFRegex(#"\[(\d{2})\:(\d{2})\.(\d{2,3})\]+"#)
    |             |- note: add '@MainActor' to make let 'LRCTimeRegex__' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | public extension Subtitles.Coder.LRC {
[37/43] Compiling SwiftSubtitles Subtitles.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/Subtitles.swift:30:20: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 28 | public struct Subtitles: Equatable, Codable {
 29 |
 30 | 	public static var empty: Subtitles = Subtitles([])
    |                    |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 | 	/// Do we have any cues
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/CSV.swift:74:21: warning: static property 'DefaultFields' is not concurrency-safe because non-'Sendable' type '[Subtitles.Coder.CSV.Field]' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | 		///
 51 | 		/// The column title is only used for encoding (ignored during decoding)
 52 | 		public enum Field {
    |               `- note: consider making enum 'Field' conform to the 'Sendable' protocol
 53 | 			/// The cue's identifier
 54 | 			case identifier(title: String)
    :
 72 |
 73 | 		/// Default expected field order
 74 | 		public static let DefaultFields: [Field] = [
    |                     |- warning: static property 'DefaultFields' is not concurrency-safe because non-'Sendable' type '[Subtitles.Coder.CSV.Field]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'DefaultFields' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 | 			.position(title: "No."),
 76 | 			.startTime(title: "Timecode In"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/CSV.swift:323:13: warning: static property 'CSVTimeFormat__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
321 | 	// h m s ms
322 | 	//  00:00:00[.,:]000
323 | 	static let CSVTimeFormat__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})[,\.:](\d{3})$"#)
    |             `- warning: static property 'CSVTimeFormat__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
324 | 	static let CSVTimeFormatTens__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})[,\.:](\d{2})$"#)
325 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/CSV.swift:26:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 24 |
 25 | import Foundation
 26 | import DSFRegex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 27 | import TinyCSV
 28 |
    :
321 | 	// h m s ms
322 | 	//  00:00:00[.,:]000
323 | 	static let CSVTimeFormat__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})[,\.:](\d{3})$"#)
    |             |- note: add '@MainActor' to make static property 'CSVTimeFormat__' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
324 | 	static let CSVTimeFormatTens__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})[,\.:](\d{2})$"#)
325 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/CSV.swift:324:13: warning: static property 'CSVTimeFormatTens__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
322 | 	//  00:00:00[.,:]000
323 | 	static let CSVTimeFormat__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})[,\.:](\d{3})$"#)
324 | 	static let CSVTimeFormatTens__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})[,\.:](\d{2})$"#)
    |             |- warning: static property 'CSVTimeFormatTens__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make static property 'CSVTimeFormatTens__' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
325 |
326 | 	func parseTime(index: Int, timeString: String) throws -> Subtitles.Time {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
[38/43] Compiling SwiftSubtitles CSV.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/Subtitles.swift:30:20: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 28 | public struct Subtitles: Equatable, Codable {
 29 |
 30 | 	public static var empty: Subtitles = Subtitles([])
    |                    |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 | 	/// Do we have any cues
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/CSV.swift:74:21: warning: static property 'DefaultFields' is not concurrency-safe because non-'Sendable' type '[Subtitles.Coder.CSV.Field]' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | 		///
 51 | 		/// The column title is only used for encoding (ignored during decoding)
 52 | 		public enum Field {
    |               `- note: consider making enum 'Field' conform to the 'Sendable' protocol
 53 | 			/// The cue's identifier
 54 | 			case identifier(title: String)
    :
 72 |
 73 | 		/// Default expected field order
 74 | 		public static let DefaultFields: [Field] = [
    |                     |- warning: static property 'DefaultFields' is not concurrency-safe because non-'Sendable' type '[Subtitles.Coder.CSV.Field]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'DefaultFields' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 | 			.position(title: "No."),
 76 | 			.startTime(title: "Timecode In"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/CSV.swift:323:13: warning: static property 'CSVTimeFormat__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
321 | 	// h m s ms
322 | 	//  00:00:00[.,:]000
323 | 	static let CSVTimeFormat__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})[,\.:](\d{3})$"#)
    |             `- warning: static property 'CSVTimeFormat__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
324 | 	static let CSVTimeFormatTens__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})[,\.:](\d{2})$"#)
325 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/CSV.swift:26:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 24 |
 25 | import Foundation
 26 | import DSFRegex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 27 | import TinyCSV
 28 |
    :
321 | 	// h m s ms
322 | 	//  00:00:00[.,:]000
323 | 	static let CSVTimeFormat__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})[,\.:](\d{3})$"#)
    |             |- note: add '@MainActor' to make static property 'CSVTimeFormat__' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
324 | 	static let CSVTimeFormatTens__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})[,\.:](\d{2})$"#)
325 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/CSV.swift:324:13: warning: static property 'CSVTimeFormatTens__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
322 | 	//  00:00:00[.,:]000
323 | 	static let CSVTimeFormat__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})[,\.:](\d{3})$"#)
324 | 	static let CSVTimeFormatTens__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})[,\.:](\d{2})$"#)
    |             |- warning: static property 'CSVTimeFormatTens__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make static property 'CSVTimeFormatTens__' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
325 |
326 | 	func parseTime(index: Int, timeString: String) throws -> Subtitles.Time {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
[39/43] Compiling SwiftSubtitles Subtitles+codable.swift
[40/43] Compiling SwiftSubtitles Subtitles+cue.swift
[41/43] Emitting module SwiftSubtitles
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/Subtitles+error.swift:50:7: warning: associated value 'timeTooLargeToExport' of 'Sendable'-conforming enum 'SubTitlesError' has non-sendable type 'Subtitles.Cue'; this is an error in the Swift 6 language mode
48 | 	case coderDoesntSupportEncoding
49 | 	/// Start or end time is too large for the export format
50 | 	case timeTooLargeToExport(Subtitles.Cue)
   |       `- warning: associated value 'timeTooLargeToExport' of 'Sendable'-conforming enum 'SubTitlesError' has non-sendable type 'Subtitles.Cue'; this is an error in the Swift 6 language mode
51 | }
52 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/Subtitles+cue.swift:33:9: note: consider making struct 'Cue' conform to the 'Sendable' protocol
 31 |
 32 | 	/// An cue entry in a subtitles file
 33 | 	struct Cue: Equatable, Identifiable, Codable {
    |         `- note: consider making struct 'Cue' conform to the 'Sendable' protocol
 34 | 		/// A unique identifier for _this_ object. It is not involved in equality checks
 35 | 		public let id: CueIdentifier
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/Subtitles.swift:30:20: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 28 | public struct Subtitles: Equatable, Codable {
 29 |
 30 | 	public static var empty: Subtitles = Subtitles([])
    |                    |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 | 	/// Do we have any cues
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/CSV.swift:74:21: warning: static property 'DefaultFields' is not concurrency-safe because non-'Sendable' type '[Subtitles.Coder.CSV.Field]' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | 		///
 51 | 		/// The column title is only used for encoding (ignored during decoding)
 52 | 		public enum Field {
    |               `- note: consider making enum 'Field' conform to the 'Sendable' protocol
 53 | 			/// The cue's identifier
 54 | 			case identifier(title: String)
    :
 72 |
 73 | 		/// Default expected field order
 74 | 		public static let DefaultFields: [Field] = [
    |                     |- warning: static property 'DefaultFields' is not concurrency-safe because non-'Sendable' type '[Subtitles.Coder.CSV.Field]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'DefaultFields' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 | 			.position(title: "No."),
 76 | 			.startTime(title: "Timecode In"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/CSV.swift:323:13: warning: static property 'CSVTimeFormat__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
321 | 	// h m s ms
322 | 	//  00:00:00[.,:]000
323 | 	static let CSVTimeFormat__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})[,\.:](\d{3})$"#)
    |             `- warning: static property 'CSVTimeFormat__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
324 | 	static let CSVTimeFormatTens__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})[,\.:](\d{2})$"#)
325 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/CSV.swift:26:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 24 |
 25 | import Foundation
 26 | import DSFRegex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 27 | import TinyCSV
 28 |
    :
321 | 	// h m s ms
322 | 	//  00:00:00[.,:]000
323 | 	static let CSVTimeFormat__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})[,\.:](\d{3})$"#)
    |             |- note: add '@MainActor' to make static property 'CSVTimeFormat__' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
324 | 	static let CSVTimeFormatTens__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})[,\.:](\d{2})$"#)
325 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/CSV.swift:324:13: warning: static property 'CSVTimeFormatTens__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
322 | 	//  00:00:00[.,:]000
323 | 	static let CSVTimeFormat__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})[,\.:](\d{3})$"#)
324 | 	static let CSVTimeFormatTens__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})[,\.:](\d{2})$"#)
    |             |- warning: static property 'CSVTimeFormatTens__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make static property 'CSVTimeFormatTens__' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
325 |
326 | 	func parseTime(index: Int, timeString: String) throws -> Subtitles.Time {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/LRC.swift:122:13: warning: let 'LRCTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Regex for matching an LRC time string
122 | private let LRCTimeRegex__ = try! DSFRegex(#"\[(\d{2})\:(\d{2})\.(\d{2,3})\]+"#)
    |             `- warning: let 'LRCTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
123 |
124 | public extension Subtitles.Coder.LRC {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/LRC.swift:31:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 29 | //  https://www.lyricsify.com
 30 |
 31 | import DSFRegex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 32 | import Foundation
 33 |
    :
120 |
121 | /// Regex for matching an LRC time string
122 | private let LRCTimeRegex__ = try! DSFRegex(#"\[(\d{2})\:(\d{2})\.(\d{2,3})\]+"#)
    |             |- note: add '@MainActor' to make let 'LRCTimeRegex__' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | public extension Subtitles.Coder.LRC {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/SBV.swift:50:13: warning: let 'SBVTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 | /// Regex for matching an SBV time string
 50 | private let SBVTimeRegex__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})\.(\d{3}),(\d+):(\d{2}):(\d{1,2})\.(\d{3})$"#)
    |             `- warning: let 'SBVTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
 51 |
 52 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/SBV.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 23 | //
 24 |
 25 | import DSFRegex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 26 | import Foundation
 27 |
    :
 48 |
 49 | /// Regex for matching an SBV time string
 50 | private let SBVTimeRegex__ = try! DSFRegex(#"^(\d+):(\d{1,2}):(\d{1,2})\.(\d{3}),(\d+):(\d{2}):(\d{1,2})\.(\d{3})$"#)
    |             |- note: add '@MainActor' to make let 'SBVTimeRegex__' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/SRT.swift:48:13: warning: let 'SRTTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 | /// Regex for matching an SRT time string
 48 | private let SRTTimeRegex__ = try! DSFRegex(#"(\d+):(\d{1,2}):(\d{1,2}),(\d{3})\s-->\s(\d+):(\d{2}):(\d{1,2}),(\d{3})"#)
    |             `- warning: let 'SRTTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
 49 |
 50 | public extension Subtitles.Coder.SRT {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/SRT.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 23 | //
 24 |
 25 | import DSFRegex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 26 | import Foundation
 27 |
    :
 46 |
 47 | /// Regex for matching an SRT time string
 48 | private let SRTTimeRegex__ = try! DSFRegex(#"(\d+):(\d{1,2}):(\d{1,2}),(\d{3})\s-->\s(\d+):(\d{2}):(\d{1,2}),(\d{3})"#)
    |             |- note: add '@MainActor' to make let 'SRTTimeRegex__' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 49 |
 50 | public extension Subtitles.Coder.SRT {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/VTT.swift:51:13: warning: let 'VTTTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
 49 |
 50 | /// The time matching regex
 51 | private let VTTTimeRegex__ = try! DSFRegex(#"(?:(\d*):)?(?:(\d*):)(\d*)[.,](\d{3})\s*-->\s*(?:(\d*):)?(?:(\d*):)(\d*)[.,](\d{3})"#)
    |             `- warning: let 'VTTTimeRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
 52 | /// Regex for matching a speaker tag <v.loud Esme>This is a test
 53 | private let VTTSpeakerRegex__ = try! DSFRegex(#"<v[^ ]* ([^>]*)>"#)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/VTT.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 23 | //
 24 |
 25 | import DSFRegex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 26 | import Foundation
 27 |
    :
 49 |
 50 | /// The time matching regex
 51 | private let VTTTimeRegex__ = try! DSFRegex(#"(?:(\d*):)?(?:(\d*):)(\d*)[.,](\d{3})\s*-->\s*(?:(\d*):)?(?:(\d*):)(\d*)[.,](\d{3})"#)
    |             |- note: add '@MainActor' to make let 'VTTTimeRegex__' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 | /// Regex for matching a speaker tag <v.loud Esme>This is a test
 53 | private let VTTSpeakerRegex__ = try! DSFRegex(#"<v[^ ]* ([^>]*)>"#)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/coding/VTT.swift:53:13: warning: let 'VTTSpeakerRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
 51 | private let VTTTimeRegex__ = try! DSFRegex(#"(?:(\d*):)?(?:(\d*):)(\d*)[.,](\d{3})\s*-->\s*(?:(\d*):)?(?:(\d*):)(\d*)[.,](\d{3})"#)
 52 | /// Regex for matching a speaker tag <v.loud Esme>This is a test
 53 | private let VTTSpeakerRegex__ = try! DSFRegex(#"<v[^ ]* ([^>]*)>"#)
    |             |- warning: let 'VTTSpeakerRegex__' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let 'VTTSpeakerRegex__' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 | public extension Subtitles.Coder.VTT {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/private/TimeExpression.swift:214:13: warning: let '__clockTimeRegex' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
212 | // MARK: - Parsing
213 |
214 | private let __clockTimeRegex = try! DSFRegex(#"(\d{2,}):(\d{2}):(\d{2})(?:\.(\d+)|:(\d{2,})(?:\.(\d+))?)?"#)
    |             `- warning: let '__clockTimeRegex' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
215 | private let __timeOffsetRegex = try! DSFRegex(#"(\d+(?:\.\d+)?)(ms|h|m|s|f|t)"#)
216 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/private/TimeExpression.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 23 | //
 24 |
 25 | import DSFRegex
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DSFRegex'
 26 | import Foundation
 27 |
    :
212 | // MARK: - Parsing
213 |
214 | private let __clockTimeRegex = try! DSFRegex(#"(\d{2,}):(\d{2}):(\d{2})(?:\.(\d+)|:(\d{2,})(?:\.(\d+))?)?"#)
    |             |- note: add '@MainActor' to make let '__clockTimeRegex' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | private let __timeOffsetRegex = try! DSFRegex(#"(\d+(?:\.\d+)?)(ms|h|m|s|f|t)"#)
216 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/private/TimeExpression.swift:215:13: warning: let '__timeOffsetRegex' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
213 |
214 | private let __clockTimeRegex = try! DSFRegex(#"(\d{2,}):(\d{2}):(\d{2})(?:\.(\d+)|:(\d{2,})(?:\.(\d+))?)?"#)
215 | private let __timeOffsetRegex = try! DSFRegex(#"(\d+(?:\.\d+)?)(ms|h|m|s|f|t)"#)
    |             |- warning: let '__timeOffsetRegex' is not concurrency-safe because non-'Sendable' type 'DSFRegex' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '__timeOffsetRegex' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 | private func __parseTimeExpression(_ string: String) -> TimeExpression? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:23:14: note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 21 |
 22 | /// A regex class wrapper for Swift
 23 | public class DSFRegex {
    |              `- note: class 'DSFRegex' does not conform to the 'Sendable' protocol
 24 | 	/// Regex errors
 25 | 	enum RegexError: Error {
[42/43] Compiling SwiftSubtitles Subtitles+error.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/Subtitles+error.swift:50:7: warning: associated value 'timeTooLargeToExport' of 'Sendable'-conforming enum 'SubTitlesError' has non-sendable type 'Subtitles.Cue'; this is an error in the Swift 6 language mode
48 | 	case coderDoesntSupportEncoding
49 | 	/// Start or end time is too large for the export format
50 | 	case timeTooLargeToExport(Subtitles.Cue)
   |       `- warning: associated value 'timeTooLargeToExport' of 'Sendable'-conforming enum 'SubTitlesError' has non-sendable type 'Subtitles.Cue'; this is an error in the Swift 6 language mode
51 | }
52 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/Subtitles+cue.swift:33:9: note: consider making struct 'Cue' conform to the 'Sendable' protocol
 31 |
 32 | 	/// An cue entry in a subtitles file
 33 | 	struct Cue: Equatable, Identifiable, Codable {
    |         `- note: consider making struct 'Cue' conform to the 'Sendable' protocol
 34 | 		/// A unique identifier for _this_ object. It is not involved in equality checks
 35 | 		public let id: CueIdentifier
[43/43] Compiling SwiftSubtitles Subtitles+time.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/Subtitles+error.swift:50:7: warning: associated value 'timeTooLargeToExport' of 'Sendable'-conforming enum 'SubTitlesError' has non-sendable type 'Subtitles.Cue'; this is an error in the Swift 6 language mode
48 | 	case coderDoesntSupportEncoding
49 | 	/// Start or end time is too large for the export format
50 | 	case timeTooLargeToExport(Subtitles.Cue)
   |       `- warning: associated value 'timeTooLargeToExport' of 'Sendable'-conforming enum 'SubTitlesError' has non-sendable type 'Subtitles.Cue'; this is an error in the Swift 6 language mode
51 | }
52 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/Subtitles+cue.swift:33:9: note: consider making struct 'Cue' conform to the 'Sendable' protocol
 31 |
 32 | 	/// An cue entry in a subtitles file
 33 | 	struct Cue: Equatable, Identifiable, Codable {
    |         `- note: consider making struct 'Cue' conform to the 'Sendable' protocol
 34 | 		/// A unique identifier for _this_ object. It is not involved in equality checks
 35 | 		public let id: CueIdentifier
Build complete! (9.21s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "dsfregex",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dagronf/DSFRegex"
    },
    {
      "identity" : "tinycsv",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "1.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dagronf/TinyCSV"
    }
  ],
  "manifest_display_name" : "SwiftSubtitles",
  "name" : "SwiftSubtitles",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftSubtitles",
      "targets" : [
        "SwiftSubtitles"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftSubtitlesTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSubtitlesTests",
      "path" : "Tests/SwiftSubtitlesTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/csv/captions_edited.csv",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/csv/stby.csv",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/lrc/ZUTOMAYO - Can't Be Right.lrc",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/lrc/espresso.lrc",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/podcasts-index/sample.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/podcasts-index/starwars-demo.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/sbv/captions-LE.sbv",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/sbv/captions.sbv",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/srt/26-transcript.srt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/srt/Teenage+Mutant+Ninja+Turtles.1990.Blu-ray.srt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/srt/utf16-test.srt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/srt/zorro.srt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/sub/97620.sub",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/ttml/pirates.ttml",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/ttml/sample1.ttml",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/ttml/sample2.ttml",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/ttml/sample3.ttml",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/vtt/crash_13.vtt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/vtt/empty.vtt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/vtt/sample-big5.vtt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/vtt/sample.vtt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/vtt/simple-sample-rn.vtt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/vtt/speakers1.vtt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSubtitlesTests/resources/vtt/upc-video-subtitles-en.vtt",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "BugTests.swift",
        "CSVTests.swift",
        "CommonTests.swift",
        "JSONTests.swift",
        "LRCTests.swift",
        "PodcastIndexTests.swift",
        "SBVTests.swift",
        "SRTTests.swift",
        "SUBTests.swift",
        "TTMLTests.swift",
        "TestUtils.swift",
        "TimeExpressionTests.swift",
        "TimeShiftingTests.swift",
        "VTTTests.swift"
      ],
      "target_dependencies" : [
        "SwiftSubtitles"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftSubtitles",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSubtitles",
      "path" : "Sources/SwiftSubtitles",
      "product_dependencies" : [
        "DSFRegex",
        "TinyCSV"
      ],
      "product_memberships" : [
        "SwiftSubtitles"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftSubtitles/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Subtitles+codable.swift",
        "Subtitles+cue.swift",
        "Subtitles+error.swift",
        "Subtitles+time.swift",
        "Subtitles.swift",
        "coding/CSV.swift",
        "coding/JSON.swift",
        "coding/LRC.swift",
        "coding/PodcastsIndex.swift",
        "coding/SBV.swift",
        "coding/SRT.swift",
        "coding/SUB.swift",
        "coding/TTML.swift",
        "coding/VTT.swift",
        "private/Clamping.swift",
        "private/Identifier.swift",
        "private/String+BOM.swift",
        "private/String+extensions.swift",
        "private/TimeExpression.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Done.