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

Failed to build InstrumentKit, reference main (797070), with Swift 6.2 (beta) for Android on 20 Jun 2025 18:17:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bdrelling/InstrumentKit.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/bdrelling/InstrumentKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7970702 Made midiNote extension public
Cloned https://github.com/bdrelling/InstrumentKit.git
Revision (git rev-parse @):
7970702b28989d46765d012ec542940ea9b4dac6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/bdrelling/InstrumentKit.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/bdrelling/InstrumentKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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
Fetching https://github.com/swift-kipple/Tools
[1/720] Fetching tools
Fetched https://github.com/swift-kipple/Tools from cache (0.42s)
Computing version for https://github.com/swift-kipple/Tools
Computed https://github.com/swift-kipple/Tools at 0.3.8 (1.27s)
Fetching https://github.com/apple/swift-argument-parser
[1/15380] Fetching swift-argument-parser
Fetching https://github.com/nicklockwood/SwiftFormat
Fetched https://github.com/apple/swift-argument-parser from cache (1.43s)
[1/48941] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (46.87s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (49.25s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.56.4 (0.88s)
Creating working copy for https://github.com/swift-kipple/Tools
Working copy of https://github.com/swift-kipple/Tools resolved at 0.3.8
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.56.4
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/11] Write sources
[2/11] Copying Instruments.strings
[2/11] Write sources
[2/11] Copying Instruments.strings
[2/11] Copying Tunings.strings
[8/11] Copying Info.plist
[10/11] Write swift-version-8C5A4AE7A8CE2BA.txt
[12/25] Compiling NoteKit Note+Convenience.swift
[13/25] Compiling NoteKit Note+MIDI.swift
[14/25] Compiling NoteKit NoteDisplayMode.swift
[15/25] Compiling NoteKit Note+Comparable.swift
[16/25] Compiling NoteKit Note+NameForDisplayMode.swift
[17/25] Compiling NoteKit Note+RawRepresentable.swift
[18/25] Emitting module NoteKit
[19/26] Compiling NoteKit String+Match.swift
[20/26] Compiling NoteKit Note+Mocked.swift
[21/26] Compiling NoteKit PitchClass+NameForDisplayMode.swift
[22/26] Compiling NoteKit Note.swift
[23/26] Compiling NoteKit Notes+Convenience.swift
[24/26] Compiling NoteKit Notes+Description.swift
[25/26] Compiling NoteKit PitchClass.swift
[26/26] Compiling NoteKit BidirectionalCollection+Looping.swift
[28/65] Compiling Frequency NoteMath.swift
/host/spi-builder-workspace/Sources/Frequency/Core/NoteMath.swift:49:46: error: cannot convert value of type 'Float' to expected argument type 'Double'
47 |
48 |         let numberOfPitchClasss = Float(Self.semitonesPerOctave)
49 |         return Int(round(numberOfPitchClasss * log2f(frequency / referenceFrequency)))
   |                                              `- error: cannot convert value of type 'Float' to expected argument type 'Double'
50 |     }
51 |
/host/spi-builder-workspace/Sources/Frequency/Core/NoteMath.swift:67:32: error: cannot convert value of type 'Float' to expected argument type 'Double'
65 |         let frequency = Self.standardNoteFrequency * powf(2, power)
66 |
67 |         return round(frequency * Self.precision) / Self.precision
   |                                `- error: cannot convert value of type 'Float' to expected argument type 'Double'
68 |     }
69 |
/host/spi-builder-workspace/Sources/Frequency/Core/NoteMath.swift:67:16: error: cannot convert value of type 'Double' to expected argument type 'Float'
65 |         let frequency = Self.standardNoteFrequency * powf(2, power)
66 |
67 |         return round(frequency * Self.precision) / Self.precision
   |                `- error: cannot convert value of type 'Double' to expected argument type 'Float'
68 |     }
69 |
[29/65] Emitting module Frequency
[30/65] Compiling Frequency NoteMath+NoteKit.swift
[31/65] Compiling Frequency Note+Frequency.swift
[32/65] Compiling Frequency Notes+Convenience.swift
BUILD FAILURE 6.2 android