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 Tonic, reference main (47aaab), with Swift 6.2 (beta) for Android on 28 Aug 2025 21:14:52 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AudioKit/Tonic.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/AudioKit/Tonic
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 47aaabd Bugfix: Clamp Note.noteNumber to MIDI range (0-127) to prevent crashes (#57)
Cloned https://github.com/AudioKit/Tonic.git
Revision (git rev-parse @):
47aaabd79e789bf269275564d466c08b86a75b1e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/AudioKit/Tonic.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/AudioKit/Tonic.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Tonic/Chord.swift.orig
Building for debugging...
[0/3] Write sources
[1/3] Copying Tonic.docc
[2/3] Write swift-version-8C5A4AE7A8CE2BA.txt
[4/24] Emitting module Tonic
/host/spi-builder-workspace/Sources/Tonic/ChordTable.swift:71:62: warning: 'generateAllChordsIncludingEnharmonic()' is deprecated: Please use getRankedChords() for higher quality chord detection [#DeprecatedDeclaration]
69 |
70 |     /// All chords include enharmonic (same NoteSet) - Use "chords" alternative when enharmonic chords are not needed
71 |     lazy var chordsIncludingEnharmonic: [Chord] = ChordTable.generateAllChordsIncludingEnharmonic()
   |                                                              |- warning: 'generateAllChordsIncludingEnharmonic()' is deprecated: Please use getRankedChords() for higher quality chord detection [#DeprecatedDeclaration]
   |                                                              `- note: use 'getRankedChords()' instead
72 |
73 |     /// Returns all of the chord options (enharmonic chords) for a set a notes (slow but effective)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[5/26] Compiling Tonic Scale.swift
[6/26] Compiling Tonic resource_bundle_accessor.swift
[7/26] Compiling Tonic PitchColor.swift
[8/26] Compiling Tonic Scale+Shortcuts.swift
[9/26] Compiling Tonic NoteSet.swift
[10/26] Compiling Tonic Octave.swift
[11/26] Compiling Tonic Pitch.swift
[12/26] Compiling Tonic Note.swift
[13/26] Compiling Tonic NoteClass+Shortcuts.swift
[14/26] Compiling Tonic NoteClass.swift
[15/26] Compiling Tonic Interval.swift
[16/26] Compiling Tonic Key+Shortcuts.swift
[17/26] Compiling Tonic Key.swift
[18/26] Compiling Tonic Letter.swift
[19/26] Compiling Tonic Note+MiddleCStandard.swift
[20/26] Compiling Tonic Note+Shortcuts.swift
[21/26] Compiling Tonic Chord.swift
/host/spi-builder-workspace/Sources/Tonic/Chord.swift:292:49: warning: 'getAllChordsForNoteSet' is deprecated: Please use getRankedChords() for higher quality chord detection [#DeprecatedDeclaration]
290 |     /// want to list the notes C, E, G, A as C6 if the C is in the bass
291 |     public static func getRankedChords(from notes: [Note]) -> [Chord] {
292 |         let potentialChords = ChordTable.shared.getAllChordsForNoteSet(NoteSet(notes: notes))
    |                                                 |- warning: 'getAllChordsForNoteSet' is deprecated: Please use getRankedChords() for higher quality chord detection [#DeprecatedDeclaration]
    |                                                 `- note: use 'getRankedChords' instead
293 |         if potentialChords.isEmpty { return [] }
294 |         let orderedNotes = notes.sorted(by: { f, s in  f.noteNumber < s.noteNumber })
/host/spi-builder-workspace/Sources/Tonic/ChordTable.swift:71:62: warning: 'generateAllChordsIncludingEnharmonic()' is deprecated: Please use getRankedChords() for higher quality chord detection [#DeprecatedDeclaration]
69 |
70 |     /// All chords include enharmonic (same NoteSet) - Use "chords" alternative when enharmonic chords are not needed
71 |     lazy var chordsIncludingEnharmonic: [Chord] = ChordTable.generateAllChordsIncludingEnharmonic()
   |                                                              |- warning: 'generateAllChordsIncludingEnharmonic()' is deprecated: Please use getRankedChords() for higher quality chord detection [#DeprecatedDeclaration]
   |                                                              `- note: use 'getRankedChords()' instead
72 |
73 |     /// Returns all of the chord options (enharmonic chords) for a set a notes (slow but effective)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[22/26] Compiling Tonic ChordTable.swift
/host/spi-builder-workspace/Sources/Tonic/Chord.swift:292:49: warning: 'getAllChordsForNoteSet' is deprecated: Please use getRankedChords() for higher quality chord detection [#DeprecatedDeclaration]
290 |     /// want to list the notes C, E, G, A as C6 if the C is in the bass
291 |     public static func getRankedChords(from notes: [Note]) -> [Chord] {
292 |         let potentialChords = ChordTable.shared.getAllChordsForNoteSet(NoteSet(notes: notes))
    |                                                 |- warning: 'getAllChordsForNoteSet' is deprecated: Please use getRankedChords() for higher quality chord detection [#DeprecatedDeclaration]
    |                                                 `- note: use 'getRankedChords' instead
293 |         if potentialChords.isEmpty { return [] }
294 |         let orderedNotes = notes.sorted(by: { f, s in  f.noteNumber < s.noteNumber })
/host/spi-builder-workspace/Sources/Tonic/ChordTable.swift:71:62: warning: 'generateAllChordsIncludingEnharmonic()' is deprecated: Please use getRankedChords() for higher quality chord detection [#DeprecatedDeclaration]
69 |
70 |     /// All chords include enharmonic (same NoteSet) - Use "chords" alternative when enharmonic chords are not needed
71 |     lazy var chordsIncludingEnharmonic: [Chord] = ChordTable.generateAllChordsIncludingEnharmonic()
   |                                                              |- warning: 'generateAllChordsIncludingEnharmonic()' is deprecated: Please use getRankedChords() for higher quality chord detection [#DeprecatedDeclaration]
   |                                                              `- note: use 'getRankedChords()' instead
72 |
73 |     /// Returns all of the chord options (enharmonic chords) for a set a notes (slow but effective)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[23/26] Compiling Tonic ChordType.swift
/host/spi-builder-workspace/Sources/Tonic/Chord.swift:292:49: warning: 'getAllChordsForNoteSet' is deprecated: Please use getRankedChords() for higher quality chord detection [#DeprecatedDeclaration]
290 |     /// want to list the notes C, E, G, A as C6 if the C is in the bass
291 |     public static func getRankedChords(from notes: [Note]) -> [Chord] {
292 |         let potentialChords = ChordTable.shared.getAllChordsForNoteSet(NoteSet(notes: notes))
    |                                                 |- warning: 'getAllChordsForNoteSet' is deprecated: Please use getRankedChords() for higher quality chord detection [#DeprecatedDeclaration]
    |                                                 `- note: use 'getRankedChords' instead
293 |         if potentialChords.isEmpty { return [] }
294 |         let orderedNotes = notes.sorted(by: { f, s in  f.noteNumber < s.noteNumber })
/host/spi-builder-workspace/Sources/Tonic/ChordTable.swift:71:62: warning: 'generateAllChordsIncludingEnharmonic()' is deprecated: Please use getRankedChords() for higher quality chord detection [#DeprecatedDeclaration]
69 |
70 |     /// All chords include enharmonic (same NoteSet) - Use "chords" alternative when enharmonic chords are not needed
71 |     lazy var chordsIncludingEnharmonic: [Chord] = ChordTable.generateAllChordsIncludingEnharmonic()
   |                                                              |- warning: 'generateAllChordsIncludingEnharmonic()' is deprecated: Please use getRankedChords() for higher quality chord detection [#DeprecatedDeclaration]
   |                                                              `- note: use 'getRankedChords()' instead
72 |
73 |     /// Returns all of the chord options (enharmonic chords) for a set a notes (slow but effective)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[24/26] Compiling Tonic Accidental.swift
[25/26] Compiling Tonic BitSet.swift
[26/26] Compiling Tonic Chord+Shortcuts.swift
Build complete! (20.58s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Tonic",
  "name" : "Tonic",
  "path" : "/host/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" : "/host/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"
}
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Done.