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 Tonic, reference main (8f103c), with Swift 5.10 for macOS (SPM) on 19 Dec 2024 23:47:39 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.60.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AudioKit/Tonic.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AudioKit/Tonic
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8f103c6 ChordType Overhaul (#47)
Cloned https://github.com/AudioKit/Tonic.git
Revision (git rev-parse @):
8f103c6765af93bc1d2c3e18eb35f02718b0613d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/AudioKit/Tonic.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/AudioKit/Tonic.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying Tonic.docc
[2/3] Write swift-version-33747A42983211AE.txt
[4/24] Emitting module Tonic
/Users/admin/builder/spi-builder-workspace/Sources/Tonic/ChordTable.swift:71:62: warning: 'generateAllChordsIncludingEnharmonic()' is deprecated: Please use getRankedChords() for higher quality chord detection
    lazy var chordsIncludingEnharmonic: [Chord] = ChordTable.generateAllChordsIncludingEnharmonic()
                                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/Tonic/ChordTable.swift:71:62: note: use 'getRankedChords()' instead
    lazy var chordsIncludingEnharmonic: [Chord] = ChordTable.generateAllChordsIncludingEnharmonic()
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                             getRankedChords
[5/26] Compiling Tonic Scale.swift
[6/26] Compiling Tonic resource_bundle_accessor.swift
[7/26] Compiling Tonic Accidental.swift
[8/26] Compiling Tonic BitSet.swift
[9/26] Compiling Tonic Chord+Shortcuts.swift
[10/26] Compiling Tonic Note.swift
[11/26] Compiling Tonic NoteClass+Shortcuts.swift
[12/26] Compiling Tonic Chord.swift
/Users/admin/builder/spi-builder-workspace/Sources/Tonic/Chord.swift:292:49: warning: 'getAllChordsForNoteSet' is deprecated: Please use getRankedChords() for higher quality chord detection
        let potentialChords = ChordTable.shared.getAllChordsForNoteSet(NoteSet(notes: notes))
                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/Tonic/Chord.swift:292:49: note: use 'getRankedChords' instead
        let potentialChords = ChordTable.shared.getAllChordsForNoteSet(NoteSet(notes: notes))
                                                ^~~~~~~~~~~~~~~~~~~~~~
                                                getRankedChords
/Users/admin/builder/spi-builder-workspace/Sources/Tonic/ChordTable.swift:71:62: warning: 'generateAllChordsIncludingEnharmonic()' is deprecated: Please use getRankedChords() for higher quality chord detection
    lazy var chordsIncludingEnharmonic: [Chord] = ChordTable.generateAllChordsIncludingEnharmonic()
                                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/Tonic/ChordTable.swift:71:62: note: use 'getRankedChords()' instead
    lazy var chordsIncludingEnharmonic: [Chord] = ChordTable.generateAllChordsIncludingEnharmonic()
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                             getRankedChords
[13/26] Compiling Tonic ChordTable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Tonic/Chord.swift:292:49: warning: 'getAllChordsForNoteSet' is deprecated: Please use getRankedChords() for higher quality chord detection
        let potentialChords = ChordTable.shared.getAllChordsForNoteSet(NoteSet(notes: notes))
                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/Tonic/Chord.swift:292:49: note: use 'getRankedChords' instead
        let potentialChords = ChordTable.shared.getAllChordsForNoteSet(NoteSet(notes: notes))
                                                ^~~~~~~~~~~~~~~~~~~~~~
                                                getRankedChords
/Users/admin/builder/spi-builder-workspace/Sources/Tonic/ChordTable.swift:71:62: warning: 'generateAllChordsIncludingEnharmonic()' is deprecated: Please use getRankedChords() for higher quality chord detection
    lazy var chordsIncludingEnharmonic: [Chord] = ChordTable.generateAllChordsIncludingEnharmonic()
                                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/Tonic/ChordTable.swift:71:62: note: use 'getRankedChords()' instead
    lazy var chordsIncludingEnharmonic: [Chord] = ChordTable.generateAllChordsIncludingEnharmonic()
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                             getRankedChords
[14/26] Compiling Tonic ChordType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Tonic/Chord.swift:292:49: warning: 'getAllChordsForNoteSet' is deprecated: Please use getRankedChords() for higher quality chord detection
        let potentialChords = ChordTable.shared.getAllChordsForNoteSet(NoteSet(notes: notes))
                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/Tonic/Chord.swift:292:49: note: use 'getRankedChords' instead
        let potentialChords = ChordTable.shared.getAllChordsForNoteSet(NoteSet(notes: notes))
                                                ^~~~~~~~~~~~~~~~~~~~~~
                                                getRankedChords
/Users/admin/builder/spi-builder-workspace/Sources/Tonic/ChordTable.swift:71:62: warning: 'generateAllChordsIncludingEnharmonic()' is deprecated: Please use getRankedChords() for higher quality chord detection
    lazy var chordsIncludingEnharmonic: [Chord] = ChordTable.generateAllChordsIncludingEnharmonic()
                                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/Tonic/ChordTable.swift:71:62: note: use 'getRankedChords()' instead
    lazy var chordsIncludingEnharmonic: [Chord] = ChordTable.generateAllChordsIncludingEnharmonic()
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                             getRankedChords
[15/26] Compiling Tonic Key.swift
[16/26] Compiling Tonic Letter.swift
[17/26] Compiling Tonic Note+MiddleCStandard.swift
[18/26] Compiling Tonic Note+Shortcuts.swift
[19/26] Compiling Tonic PitchColor.swift
[20/26] Compiling Tonic Scale+Shortcuts.swift
[21/26] Compiling Tonic NoteClass.swift
[22/26] Compiling Tonic NoteSet.swift
[23/26] Compiling Tonic Interval.swift
[24/26] Compiling Tonic Key+Shortcuts.swift
[25/26] Compiling Tonic Octave.swift
[26/26] Compiling Tonic Pitch.swift
Build complete! (6.32s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/Tonic/Chord.swift.orig
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Tonic",
  "name" : "Tonic",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Tonic",
      "targets" : [
        "Tonic"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TonicTests",
      "module_type" : "SwiftTarget",
      "name" : "TonicTests",
      "path" : "Tests/TonicTests",
      "sources" : [
        "BitSetTests.swift",
        "ChordTests.swift",
        "IntervalTests.swift",
        "KeyTests.swift",
        "NoteTests.swift",
        "PerformanceTests.swift",
        "ReadMeTests.swift",
        "ScaleTests.swift",
        "TonicTests.swift"
      ],
      "target_dependencies" : [
        "Tonic"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Tonic",
      "module_type" : "SwiftTarget",
      "name" : "Tonic",
      "path" : "Sources/Tonic",
      "product_memberships" : [
        "Tonic"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Tonic/Tonic.docc",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Accidental.swift",
        "BitSet.swift",
        "Chord+Shortcuts.swift",
        "Chord.swift",
        "ChordTable.swift",
        "ChordType.swift",
        "Interval.swift",
        "Key+Shortcuts.swift",
        "Key.swift",
        "Letter.swift",
        "Note+MiddleCStandard.swift",
        "Note+Shortcuts.swift",
        "Note.swift",
        "NoteClass+Shortcuts.swift",
        "NoteClass.swift",
        "NoteSet.swift",
        "Octave.swift",
        "Pitch.swift",
        "PitchColor.swift",
        "Scale+Shortcuts.swift",
        "Scale.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.