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.9 for Linux on 19 Dec 2024 23:38:54 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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 /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 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:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/AudioKit/Tonic.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:a06db64ee3297a5f3491915d7662e6a86c0024d45425be3d593d7649696fef17
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-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/1] Copying Tonic.docc
[2/22] Emitting module Tonic
/host/spi-builder-workspace/Sources/Tonic/PitchColor.swift:4:32: warning: unknown operating system for build configuration 'os'
#if os(macOS) || os(iOS) || os(visionOS)
                               ^
/host/spi-builder-workspace/Sources/Tonic/PitchColor.swift:4:32: note: did you mean 'iOS'?
#if os(macOS) || os(iOS) || os(visionOS)
                               ^~~~~~~~
                               iOS
/host/spi-builder-workspace/Sources/Tonic/PitchColor.swift:4:32: note: did you mean 'Windows'?
#if os(macOS) || os(iOS) || os(visionOS)
                               ^~~~~~~~
                               Windows
/host/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()
                                                             ^
/host/spi-builder-workspace/Sources/Tonic/ChordTable.swift:71:62: note: use 'getRankedChords()' instead
    lazy var chordsIncludingEnharmonic: [Chord] = ChordTable.generateAllChordsIncludingEnharmonic()
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                             getRankedChords
[3/24] Compiling Tonic NoteSet.swift
[4/24] Compiling Tonic Octave.swift
[5/24] Compiling Tonic Pitch.swift
[6/24] Compiling Tonic Scale.swift
[7/24] Compiling Tonic resource_bundle_accessor.swift
[8/24] Compiling Tonic Accidental.swift
[9/24] Compiling Tonic BitSet.swift
[10/24] Compiling Tonic Chord+Shortcuts.swift
[11/24] Compiling Tonic Letter.swift
[12/24] Compiling Tonic Note+MiddleCStandard.swift
[13/24] Compiling Tonic Note+Shortcuts.swift
[14/24] Compiling Tonic Interval.swift
[15/24] Compiling Tonic Key+Shortcuts.swift
[16/24] Compiling Tonic Key.swift
[17/24] Compiling Tonic Note.swift
[18/24] Compiling Tonic NoteClass+Shortcuts.swift
[19/24] Compiling Tonic NoteClass.swift
[20/24] Compiling Tonic PitchColor.swift
/host/spi-builder-workspace/Sources/Tonic/PitchColor.swift:4:32: warning: unknown operating system for build configuration 'os'
#if os(macOS) || os(iOS) || os(visionOS)
                               ^
/host/spi-builder-workspace/Sources/Tonic/PitchColor.swift:4:32: note: did you mean 'iOS'?
#if os(macOS) || os(iOS) || os(visionOS)
                               ^~~~~~~~
                               iOS
/host/spi-builder-workspace/Sources/Tonic/PitchColor.swift:4:32: note: did you mean 'Windows'?
#if os(macOS) || os(iOS) || os(visionOS)
                               ^~~~~~~~
                               Windows
[21/24] Compiling Tonic Scale+Shortcuts.swift
/host/spi-builder-workspace/Sources/Tonic/PitchColor.swift:4:32: warning: unknown operating system for build configuration 'os'
#if os(macOS) || os(iOS) || os(visionOS)
                               ^
/host/spi-builder-workspace/Sources/Tonic/PitchColor.swift:4:32: note: did you mean 'iOS'?
#if os(macOS) || os(iOS) || os(visionOS)
                               ^~~~~~~~
                               iOS
/host/spi-builder-workspace/Sources/Tonic/PitchColor.swift:4:32: note: did you mean 'Windows'?
#if os(macOS) || os(iOS) || os(visionOS)
                               ^~~~~~~~
                               Windows
[22/24] 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
        let potentialChords = ChordTable.shared.getAllChordsForNoteSet(NoteSet(notes: notes))
                                                ^
/host/spi-builder-workspace/Sources/Tonic/Chord.swift:292:49: note: use 'getRankedChords' instead
        let potentialChords = ChordTable.shared.getAllChordsForNoteSet(NoteSet(notes: notes))
                                                ^~~~~~~~~~~~~~~~~~~~~~
                                                getRankedChords
/host/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()
                                                             ^
/host/spi-builder-workspace/Sources/Tonic/ChordTable.swift:71:62: note: use 'getRankedChords()' instead
    lazy var chordsIncludingEnharmonic: [Chord] = ChordTable.generateAllChordsIncludingEnharmonic()
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                             getRankedChords
[23/24] 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
        let potentialChords = ChordTable.shared.getAllChordsForNoteSet(NoteSet(notes: notes))
                                                ^
/host/spi-builder-workspace/Sources/Tonic/Chord.swift:292:49: note: use 'getRankedChords' instead
        let potentialChords = ChordTable.shared.getAllChordsForNoteSet(NoteSet(notes: notes))
                                                ^~~~~~~~~~~~~~~~~~~~~~
                                                getRankedChords
/host/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()
                                                             ^
/host/spi-builder-workspace/Sources/Tonic/ChordTable.swift:71:62: note: use 'getRankedChords()' instead
    lazy var chordsIncludingEnharmonic: [Chord] = ChordTable.generateAllChordsIncludingEnharmonic()
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                             getRankedChords
[24/24] 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
        let potentialChords = ChordTable.shared.getAllChordsForNoteSet(NoteSet(notes: notes))
                                                ^
/host/spi-builder-workspace/Sources/Tonic/Chord.swift:292:49: note: use 'getRankedChords' instead
        let potentialChords = ChordTable.shared.getAllChordsForNoteSet(NoteSet(notes: notes))
                                                ^~~~~~~~~~~~~~~~~~~~~~
                                                getRankedChords
/host/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()
                                                             ^
/host/spi-builder-workspace/Sources/Tonic/ChordTable.swift:71:62: note: use 'getRankedChords()' instead
    lazy var chordsIncludingEnharmonic: [Chord] = ChordTable.generateAllChordsIncludingEnharmonic()
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                             getRankedChords
Build complete! (5.87s)
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"
}
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:a06db64ee3297a5f3491915d7662e6a86c0024d45425be3d593d7649696fef17
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Done.