The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BasicPitchSwift, reference 1.1.1 (15c047), with Swift 6.4 for macOS (SPM) on 22 Sep 2026 12:43:31 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zhangyufei49/BasicPitchSwift.git
Reference: 1.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/zhangyufei49/BasicPitchSwift
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at 15c0471 fix: wrong channel when use multiplePitchBends option
Cloned https://github.com/zhangyufei49/BasicPitchSwift.git
Revision (git rev-parse @):
15c04712da2d7e37e4a6c06268224bd359452be0
SUCCESS checkout https://github.com/zhangyufei49/BasicPitchSwift.git at 1.1.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/zhangyufei49/BasicPitchSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 243]
[Planning deferred tasks]
[57 / 111]
[62 / 111]
[65 / 114] SwiftDataParsing
[74 / 171]
[77 / 171]
[91 / 247]
[96 / 247]
[105 / 247]
[107 / 247]
[111 / 247]
[113 / 247]
[119 / 247]
[124 / 247]
[129 / 247]
[131 / 247]
[138 / 247]
[139 / 247]
[142 / 247]
[145 / 247]
[146 / 247]
[156 / 247] SwiftDataParsing
[157 / 247] MIDIKitInternals
[159 / 247] SwiftDataParsing
[163 / 247] SwiftDataParsing
[168 / 247]
[171 / 247] MIDIKitInternals
[180 / 247]
[181 / 247] SwiftDataParsing
[184 / 247] SwiftDataParsing-product
[186 / 247]
[187 / 247]
[187 / 247] SwiftDataParsing-product
[189 / 247]
[200 / 247] MIDIKitInternals
[202 / 248] MIDIKitInternals
[202 / 248]
[212 / 248] SwiftTimecodeCore
[213 / 259] MIDIKitCore
[216 / 259] SwiftTimecodeCore
[223 / 259] MIDIKitInternals
[225 / 259] MIDIKitCore
[230 / 259] MIDIKitCore
[231 / 259] MIDIKitCore
[232 / 259] MIDIKitCore
[234 / 259] MIDIKitCore
[241 / 260] MIDIKitCore
[241 / 260] MIDIKitSMF
[250 / 302]
[259 / 302]
[261 / 302]
[265 / 302]
[269 / 302] MIDIKitCore
[271 / 302]
[274 / 302]
[285 / 302] MIDIKitSMF
[292 / 303] MIDIKitSMF
[294 / 303] BasicPitch
[298 / 318]
[299 / 318]
[300 / 318]
[309 / 318] BasicPitch
Fetching https://github.com/orchetect/MIDIKit.git
[1/34703] Fetching midikit
Fetched https://github.com/orchetect/MIDIKit.git (3.22s)
Computing version for https://github.com/orchetect/MIDIKit.git
warning: 'midikit': /Package.swift:12:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
 10 |         .iOS(.v12),
 11 |         .tvOS(.v12), // builds, but no MIDI features
 12 |         .watchOS(.v4), // builds, but no MIDI features
    |                   `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
 13 |     ],
 14 |     products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/orchetect/MIDIKit.git at 0.12.0 (5.56s)
Fetching https://github.com/orchetect/swift-data-parsing
Fetching https://github.com/orchetect/swift-timecode
[1/888] Fetching swift-data-parsing
[889/31001] Fetching swift-data-parsing, swift-timecode
Fetched https://github.com/orchetect/swift-timecode (3.00s)
Fetched https://github.com/orchetect/swift-data-parsing (3.00s)
Computing version for https://github.com/orchetect/swift-data-parsing
warning: 'swift-data-parsing': /Package.swift:7:69: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
 5 | let package = Package(
 6 |     name: "swift-data-parsing",
 7 |     platforms: [.macOS(.v10_13), .iOS(.v12), .tvOS(.v12), .watchOS(.v4)],
   |                                                                     `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
 8 |     products: [
 9 |         .library(
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/orchetect/swift-data-parsing at 0.1.2 (3.74s)
Computing version for https://github.com/orchetect/swift-timecode
warning: 'swift-timecode': /Package.swift:13:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
11 |         .iOS(.v12),
12 |         .tvOS(.v12),
13 |         .watchOS(.v4),
   |                   `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
14 |         .visionOS(.v1)
15 |     ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/orchetect/swift-timecode at 3.1.4 (0.68s)
Creating working copy for https://github.com/orchetect/swift-data-parsing
Working copy of https://github.com/orchetect/swift-data-parsing resolved at 0.1.2
Creating working copy for https://github.com/orchetect/MIDIKit.git
Working copy of https://github.com/orchetect/MIDIKit.git resolved at 0.12.0
Creating working copy for https://github.com/orchetect/swift-timecode
Working copy of https://github.com/orchetect/swift-timecode resolved at 3.1.4
warning: 'midikit': /Users/admin/builder/spi-builder-workspace/.build/checkouts/MIDIKit/Package.swift:12:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
 10 |         .iOS(.v12),
 11 |         .tvOS(.v12), // builds, but no MIDI features
 12 |         .watchOS(.v4), // builds, but no MIDI features
    |                   `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
 13 |     ],
 14 |     products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
warning: 'swift-data-parsing': /Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-data-parsing/Package.swift:7:69: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
 5 | let package = Package(
 6 |     name: "swift-data-parsing",
 7 |     platforms: [.macOS(.v10_13), .iOS(.v12), .tvOS(.v12), .watchOS(.v4)],
   |                                                                     `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
 8 |     products: [
 9 |         .library(
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
warning: 'swift-timecode': /Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-timecode/Package.swift:13:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
11 |         .iOS(.v12),
12 |         .tvOS(.v12),
13 |         .watchOS(.v4),
   |                   `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
14 |         .visionOS(.v1)
15 |     ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Sources/BasicPitch/MidiWriter.swift:66:46: error: cannot find type 'MIDIFile' in scope
 64 |     }
 65 |
 66 |     public func write(_ opt: Opt = Opt()) -> MIDIFile {
    |                                              `- error: cannot find type 'MIDIFile' in scope
 67 |         let notes = opt.multiplePitchBends ? self.notes : dropOpverlappingPitchBends(self.notes)
 68 |
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BasicPitchSwift.build/Debug/BasicPitch-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/BasicPitch/BasicPitch.swift /Users/admin/builder/spi-builder-workspace/Sources/BasicPitch/Constants.swift /Users/admin/builder/spi-builder-workspace/Sources/BasicPitch/MidiTempoMap.swift /Users/admin/builder/spi-builder-workspace/Sources/BasicPitch/MidiWriter.swift /Users/admin/builder/spi-builder-workspace/Sources/BasicPitch/Note.swift /Users/admin/builder/spi-builder-workspace/Sources/BasicPitch/NotesConverter.swift /Users/admin/builder/spi-builder-workspace/Sources/BasicPitch/nmp.swift -target arm64-apple-macos13.5 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BasicPitchSwift.build/Debug/BasicPitch-t.build/Objects-normal/arm64/BasicPitch-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BasicPitchSwift.build/Debug/BasicPitch-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BasicPitchSwift.build/Debug/BasicPitch-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BasicPitchSwift.build/Debug/BasicPitch-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name BasicPitch -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BasicPitchSwift.build/Debug/BasicPitch-t.build/Objects-normal/arm64/BasicPitch_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BasicPitchSwift.build/Debug/BasicPitch-t.build/Objects-normal/arm64/BasicPitch.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BasicPitchSwift.build/Debug/BasicPitch-t.build/Objects-normal/arm64/BasicPitch.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BasicPitchSwift.build/Debug/BasicPitch-t.build/Objects-normal/arm64/BasicPitch-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BasicPitchSwift.build/Debug/BasicPitch-t.build/Objects-normal/arm64/BasicPitch-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BasicPitchSwift.build/Debug/BasicPitch-t.build/Objects-normal/arm64/BasicPitch-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BasicPitchSwift.build/Debug/BasicPitch-t.build/Objects-normal/arm64/BasicPitch.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BasicPitchSwift.build/Debug/BasicPitch-t.build/Objects-normal/arm64/BasicPitch.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm