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

Swift 6 data race errors: 7

Build Command

bash -c docker run --rm -v "checkouts-4606859-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/SongProOrg/songpro-swift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/SongProOrg/songpro-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2d47271 Add Swift tool version
Cloned https://github.com/SongProOrg/songpro-swift.git
Revision (git rev-parse @):
2d47271f96bbb530835796500ef7f22f51abc95e
SUCCESS checkout https://github.com/SongProOrg/songpro-swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/SongProOrg/songpro-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-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/eonist/ResourceHelper.git
[1/122] Fetching resourcehelper
Fetched https://github.com/eonist/ResourceHelper.git from cache (0.19s)
Creating working copy for https://github.com/eonist/ResourceHelper.git
Working copy of https://github.com/eonist/ResourceHelper.git resolved at master (1c45578)
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling SongPro SongPro.swift
/host/spi-builder-workspace/Sources/SongPro/SongPro.swift:12:16: warning: static property 'sectionRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | public struct SongPro {
 12 |     static let sectionRegex = try! NSRegularExpression(pattern: "#\\s*([^$]*)")
    |                `- warning: static property 'sectionRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |     static let attributeRegex = try! NSRegularExpression(pattern: "@(\\w*)=([^%]*)")
 14 |     static let customAttributeRegex = try! NSRegularExpression(pattern: "!(\\w*)=([^%]*)")
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
   |            `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SongPro/SongPro.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 10 |
 11 | public struct SongPro {
 12 |     static let sectionRegex = try! NSRegularExpression(pattern: "#\\s*([^$]*)")
    |                |- note: annotate 'sectionRegex' 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
 13 |     static let attributeRegex = try! NSRegularExpression(pattern: "@(\\w*)=([^%]*)")
 14 |     static let customAttributeRegex = try! NSRegularExpression(pattern: "!(\\w*)=([^%]*)")
/host/spi-builder-workspace/Sources/SongPro/SongPro.swift:13:16: warning: static property 'attributeRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | public struct SongPro {
 12 |     static let sectionRegex = try! NSRegularExpression(pattern: "#\\s*([^$]*)")
 13 |     static let attributeRegex = try! NSRegularExpression(pattern: "@(\\w*)=([^%]*)")
    |                |- warning: static property 'attributeRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'attributeRegex' 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
 14 |     static let customAttributeRegex = try! NSRegularExpression(pattern: "!(\\w*)=([^%]*)")
 15 |     static let chordsAndLyricsRegex = try! NSRegularExpression(pattern: "(\\[[\\w#b/]+])?([^\\[]*)", options: .caseInsensitive)
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
   |            `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SongPro/SongPro.swift:14:16: warning: static property 'customAttributeRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
 12 |     static let sectionRegex = try! NSRegularExpression(pattern: "#\\s*([^$]*)")
 13 |     static let attributeRegex = try! NSRegularExpression(pattern: "@(\\w*)=([^%]*)")
 14 |     static let customAttributeRegex = try! NSRegularExpression(pattern: "!(\\w*)=([^%]*)")
    |                |- warning: static property 'customAttributeRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'customAttributeRegex' 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
 15 |     static let chordsAndLyricsRegex = try! NSRegularExpression(pattern: "(\\[[\\w#b/]+])?([^\\[]*)", options: .caseInsensitive)
 16 |
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
   |            `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SongPro/SongPro.swift:15:16: warning: static property 'chordsAndLyricsRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |     static let attributeRegex = try! NSRegularExpression(pattern: "@(\\w*)=([^%]*)")
 14 |     static let customAttributeRegex = try! NSRegularExpression(pattern: "!(\\w*)=([^%]*)")
 15 |     static let chordsAndLyricsRegex = try! NSRegularExpression(pattern: "(\\[[\\w#b/]+])?([^\\[]*)", options: .caseInsensitive)
    |                |- warning: static property 'chordsAndLyricsRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'chordsAndLyricsRegex' 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
 16 |
 17 |     static let measuresRegex = try! NSRegularExpression(pattern: "([\\[[\\w#b\\/]+\\]\\s]+)[|]*", options: .caseInsensitive)
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
   |            `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SongPro/SongPro.swift:17:16: warning: static property 'measuresRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |     static let chordsAndLyricsRegex = try! NSRegularExpression(pattern: "(\\[[\\w#b/]+])?([^\\[]*)", options: .caseInsensitive)
 16 |
 17 |     static let measuresRegex = try! NSRegularExpression(pattern: "([\\[[\\w#b\\/]+\\]\\s]+)[|]*", options: .caseInsensitive)
    |                |- warning: static property 'measuresRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'measuresRegex' 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
 18 |     static let chordsRegex = try! NSRegularExpression(pattern: "\\[([\\w#b\\/]+)\\]?", options: .caseInsensitive)
 19 |     static let commentRegex = try! NSRegularExpression(pattern: ">\\s*([^$]*)")
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
   |            `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SongPro/SongPro.swift:18:16: warning: static property 'chordsRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 |     static let measuresRegex = try! NSRegularExpression(pattern: "([\\[[\\w#b\\/]+\\]\\s]+)[|]*", options: .caseInsensitive)
 18 |     static let chordsRegex = try! NSRegularExpression(pattern: "\\[([\\w#b\\/]+)\\]?", options: .caseInsensitive)
    |                |- warning: static property 'chordsRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'chordsRegex' 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
 19 |     static let commentRegex = try! NSRegularExpression(pattern: ">\\s*([^$]*)")
 20 |
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
   |            `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SongPro/SongPro.swift:19:16: warning: static property 'commentRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |     static let measuresRegex = try! NSRegularExpression(pattern: "([\\[[\\w#b\\/]+\\]\\s]+)[|]*", options: .caseInsensitive)
 18 |     static let chordsRegex = try! NSRegularExpression(pattern: "\\[([\\w#b\\/]+)\\]?", options: .caseInsensitive)
 19 |     static let commentRegex = try! NSRegularExpression(pattern: ">\\s*([^$]*)")
    |                |- warning: static property 'commentRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'commentRegex' 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
 20 |
 21 |     public static func parse(_ lines: String) -> Song {
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
   |            `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
[4/9] Emitting module SongPro
/host/spi-builder-workspace/Sources/SongPro/SongPro.swift:12:16: warning: static property 'sectionRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | public struct SongPro {
 12 |     static let sectionRegex = try! NSRegularExpression(pattern: "#\\s*([^$]*)")
    |                `- warning: static property 'sectionRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |     static let attributeRegex = try! NSRegularExpression(pattern: "@(\\w*)=([^%]*)")
 14 |     static let customAttributeRegex = try! NSRegularExpression(pattern: "!(\\w*)=([^%]*)")
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
   |            `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SongPro/SongPro.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 10 |
 11 | public struct SongPro {
 12 |     static let sectionRegex = try! NSRegularExpression(pattern: "#\\s*([^$]*)")
    |                |- note: annotate 'sectionRegex' 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
 13 |     static let attributeRegex = try! NSRegularExpression(pattern: "@(\\w*)=([^%]*)")
 14 |     static let customAttributeRegex = try! NSRegularExpression(pattern: "!(\\w*)=([^%]*)")
/host/spi-builder-workspace/Sources/SongPro/SongPro.swift:13:16: warning: static property 'attributeRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | public struct SongPro {
 12 |     static let sectionRegex = try! NSRegularExpression(pattern: "#\\s*([^$]*)")
 13 |     static let attributeRegex = try! NSRegularExpression(pattern: "@(\\w*)=([^%]*)")
    |                |- warning: static property 'attributeRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'attributeRegex' 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
 14 |     static let customAttributeRegex = try! NSRegularExpression(pattern: "!(\\w*)=([^%]*)")
 15 |     static let chordsAndLyricsRegex = try! NSRegularExpression(pattern: "(\\[[\\w#b/]+])?([^\\[]*)", options: .caseInsensitive)
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
   |            `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SongPro/SongPro.swift:14:16: warning: static property 'customAttributeRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
 12 |     static let sectionRegex = try! NSRegularExpression(pattern: "#\\s*([^$]*)")
 13 |     static let attributeRegex = try! NSRegularExpression(pattern: "@(\\w*)=([^%]*)")
 14 |     static let customAttributeRegex = try! NSRegularExpression(pattern: "!(\\w*)=([^%]*)")
    |                |- warning: static property 'customAttributeRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'customAttributeRegex' 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
 15 |     static let chordsAndLyricsRegex = try! NSRegularExpression(pattern: "(\\[[\\w#b/]+])?([^\\[]*)", options: .caseInsensitive)
 16 |
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
   |            `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SongPro/SongPro.swift:15:16: warning: static property 'chordsAndLyricsRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |     static let attributeRegex = try! NSRegularExpression(pattern: "@(\\w*)=([^%]*)")
 14 |     static let customAttributeRegex = try! NSRegularExpression(pattern: "!(\\w*)=([^%]*)")
 15 |     static let chordsAndLyricsRegex = try! NSRegularExpression(pattern: "(\\[[\\w#b/]+])?([^\\[]*)", options: .caseInsensitive)
    |                |- warning: static property 'chordsAndLyricsRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'chordsAndLyricsRegex' 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
 16 |
 17 |     static let measuresRegex = try! NSRegularExpression(pattern: "([\\[[\\w#b\\/]+\\]\\s]+)[|]*", options: .caseInsensitive)
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
   |            `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SongPro/SongPro.swift:17:16: warning: static property 'measuresRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |     static let chordsAndLyricsRegex = try! NSRegularExpression(pattern: "(\\[[\\w#b/]+])?([^\\[]*)", options: .caseInsensitive)
 16 |
 17 |     static let measuresRegex = try! NSRegularExpression(pattern: "([\\[[\\w#b\\/]+\\]\\s]+)[|]*", options: .caseInsensitive)
    |                |- warning: static property 'measuresRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'measuresRegex' 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
 18 |     static let chordsRegex = try! NSRegularExpression(pattern: "\\[([\\w#b\\/]+)\\]?", options: .caseInsensitive)
 19 |     static let commentRegex = try! NSRegularExpression(pattern: ">\\s*([^$]*)")
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
   |            `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SongPro/SongPro.swift:18:16: warning: static property 'chordsRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 |     static let measuresRegex = try! NSRegularExpression(pattern: "([\\[[\\w#b\\/]+\\]\\s]+)[|]*", options: .caseInsensitive)
 18 |     static let chordsRegex = try! NSRegularExpression(pattern: "\\[([\\w#b\\/]+)\\]?", options: .caseInsensitive)
    |                |- warning: static property 'chordsRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'chordsRegex' 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
 19 |     static let commentRegex = try! NSRegularExpression(pattern: ">\\s*([^$]*)")
 20 |
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
   |            `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SongPro/SongPro.swift:19:16: warning: static property 'commentRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |     static let measuresRegex = try! NSRegularExpression(pattern: "([\\[[\\w#b\\/]+\\]\\s]+)[|]*", options: .caseInsensitive)
 18 |     static let chordsRegex = try! NSRegularExpression(pattern: "\\[([\\w#b\\/]+)\\]?", options: .caseInsensitive)
 19 |     static let commentRegex = try! NSRegularExpression(pattern: ">\\s*([^$]*)")
    |                |- warning: static property 'commentRegex' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'commentRegex' 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
 20 |
 21 |     public static func parse(_ lines: String) -> Song {
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
   |            `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
 2 |     override open func copy() -> Any
 3 |     open func copy(with zone: NSZone? = nil) -> Any
[5/9] Compiling SongPro Line.swift
[6/9] Compiling SongPro Measure.swift
[7/9] Compiling SongPro Section.swift
[8/9] Compiling SongPro Song.swift
[9/9] Compiling SongPro Part.swift
Build complete! (13.02s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "resourcehelper",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/eonist/ResourceHelper.git"
    }
  ],
  "manifest_display_name" : "SongPro",
  "name" : "SongPro",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SongPro",
      "targets" : [
        "SongPro"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SongProTests",
      "module_type" : "SwiftTarget",
      "name" : "SongProTests",
      "path" : "Tests/SongProTests",
      "product_dependencies" : [
        "ResourceHelper"
      ],
      "sources" : [
        "SongProTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SongPro"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SongPro",
      "module_type" : "SwiftTarget",
      "name" : "SongPro",
      "path" : "Sources/SongPro",
      "product_memberships" : [
        "SongPro"
      ],
      "sources" : [
        "Line.swift",
        "Measure.swift",
        "Part.swift",
        "Section.swift",
        "Song.swift",
        "SongPro.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.