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

Failed to build music-notation-import-guitarpro, reference main (e6d06e), with Swift 6.0 for Linux on 24 Sep 2024 07:10:02 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/music-notation-swift/music-notation-import-guitarpro.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/music-notation-swift/music-notation-import-guitarpro
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e6d06e1 Use the latest SWXMLHash release
Cloned https://github.com/music-notation-swift/music-notation-import-guitarpro.git
Revision (git rev-parse @):
e6d06e1f5fdddd8243b8f0dc1f819b2cfb1994b9
SUCCESS checkout https://github.com/music-notation-swift/music-notation-import-guitarpro.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/music-notation-swift/music-notation-import-guitarpro.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:11:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
 9 | import PackageDescription
10 |
11 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
12 | 	name: "music-notation-import-guitarpro",
13 | 	platforms: [.macOS(.v14)],
Fetching https://github.com/weichsel/ZIPFoundation.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/music-notation-swift/music-notation.git
[1/2737] Fetching music-notation
[658/5575] Fetching music-notation, swxmlhash
[3014/11029] Fetching music-notation, swxmlhash, zipfoundation
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.43s)
Fetched https://github.com/music-notation-swift/music-notation.git from cache (0.44s)
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (0.44s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.19 (0.43s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 8.0.0 (0.39s)
Computing version for https://github.com/music-notation-swift/music-notation.git
Computed https://github.com/music-notation-swift/music-notation.git at 0.2.12 (2.16s)
Creating working copy for https://github.com/music-notation-swift/music-notation.git
Working copy of https://github.com/music-notation-swift/music-notation.git resolved at 0.2.12
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 8.0.0
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.19
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/78] Emitting module MusicNotation
[7/82] Emitting module SWXMLHash
[8/85] Emitting module ZIPFoundation
[9/87] Compiling SWXMLHash XMLIndexer.swift
[10/87] Compiling SWXMLHash shim.swift
[11/87] Compiling MusicNotation RepeatedMeasure.swift
[12/87] Compiling MusicNotation Score.swift
[13/87] Compiling ZIPFoundation URL+ZIP.swift
[14/87] Compiling MusicNotation Staff.swift
[15/87] Compiling MusicNotation StaffLocation.swift
[16/87] Compiling SWXMLHash XMLHashOptions.swift
[17/87] Compiling MusicNotation NoteLetter.swift
[18/87] Compiling MusicNotation NotesHolder.swift
[19/87] Compiling MusicNotation Octave.swift
[20/87] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[21/87] Compiling MusicNotation MeasureRepeat.swift
[22/87] Compiling MusicNotation Note.swift
[23/87] Compiling MusicNotation NoteCollection.swift
[24/87] Compiling MusicNotation NoteDuration.swift
[25/87] Compiling MusicNotation Stylesheet.swift
[26/87] Compiling MusicNotation Tie.swift
[27/87] Compiling MusicNotation TimeSignature.swift
[28/87] Compiling MusicNotation Tuplet.swift
[29/87] Compiling MusicNotation Dynamics.swift
[30/87] Compiling MusicNotation Enharmonic.swift
[31/87] Compiling MusicNotation ImmutableMeasure.swift
[32/87] Compiling MusicNotation Instrument.swift
[33/87] Compiling MusicNotation Accent.swift
[34/87] Compiling MusicNotation Accidental.swift
[35/87] Compiling MusicNotation Clef.swift
[36/87] Compiling MusicNotation Collection+Helpers.swift
[37/87] Compiling MusicNotation Interval.swift
[38/87] Compiling MusicNotation Key.swift
[39/87] Compiling MusicNotation Measure.swift
[40/87] Compiling MusicNotation MeasureDurationValidator.swift
[91/119] Compiling MusicNotationImportGuitarPro GuitarPro7Importer.swift
/host/spi-builder-workspace/Sources/Importers/GuitarPro7Importer.swift:34:28: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
 32 | 		switch file.pathExtension {
 33 | 		case "gpif":
 34 | 			guard let string = try? String(contentsOf: file) else { throw GuitarProImportError(file: file, "Could not open gpif file") }
    |                            `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
 35 | 			xmlString = string
 36 | 			partConfigurationsData = Data()
/host/spi-builder-workspace/Sources/Importers/GuitarPro7Importer.swift:100:29: error: extra arguments at positions #2, #3, #4, #5, #6, #7, #8, #9, #10 in call
 98 | 		// Collect score field names
 99 |
100 | 		return MusicNotation.Score(
    |                             `- error: extra arguments at positions #2, #3, #4, #5, #6, #7, #8, #9, #10 in call
101 | 			parts: parts,
102 | 			title: interchangeFormat.score.title,
/host/spi-builder-workspace/.build/checkouts/music-notation/Sources/music-notation/Score.swift:41:9: note: 'init(parts:)' declared here
39 | 	public var pageFooter: PageFooter?
40 |
41 | 	public init(parts: [Part]) {
   |         `- note: 'init(parts:)' declared here
42 | 		self.parts = parts
43 | 	}
/host/spi-builder-workspace/Sources/MusicNotationExtensions/MusicNotation+Part.swift:28:13: error: extra argument 'measure' in call
26 | 			clef: .treble,
27 | 			instrument: .init(name: "instrument"),
28 | 			measure: [Measure(
   |             `- error: extra argument 'measure' in call
29 | 				timeSignature: MusicNotation.TimeSignature(numerator: 4, denominator: 4, tempo: 120),
30 | 				key: MusicNotation.Key(noteLetter: .c)
/host/spi-builder-workspace/Sources/MusicNotationExtensions/MusicNotation+Part.swift:29:47: error: incorrect argument labels in call (have 'numerator:denominator:tempo:', expected 'topNumber:bottomNumber:tempo:')
27 | 			instrument: .init(name: "instrument"),
28 | 			measure: [Measure(
29 | 				timeSignature: MusicNotation.TimeSignature(numerator: 4, denominator: 4, tempo: 120),
   |                                               `- error: incorrect argument labels in call (have 'numerator:denominator:tempo:', expected 'topNumber:bottomNumber:tempo:')
30 | 				key: MusicNotation.Key(noteLetter: .c)
31 | 			)]
[92/119] Compiling MusicNotationImportGuitarPro PartConfiguration.swift
/host/spi-builder-workspace/Sources/Importers/GuitarPro7Importer.swift:34:28: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
 32 | 		switch file.pathExtension {
 33 | 		case "gpif":
 34 | 			guard let string = try? String(contentsOf: file) else { throw GuitarProImportError(file: file, "Could not open gpif file") }
    |                            `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
 35 | 			xmlString = string
 36 | 			partConfigurationsData = Data()
/host/spi-builder-workspace/Sources/Importers/GuitarPro7Importer.swift:100:29: error: extra arguments at positions #2, #3, #4, #5, #6, #7, #8, #9, #10 in call
 98 | 		// Collect score field names
 99 |
100 | 		return MusicNotation.Score(
    |                             `- error: extra arguments at positions #2, #3, #4, #5, #6, #7, #8, #9, #10 in call
101 | 			parts: parts,
102 | 			title: interchangeFormat.score.title,
/host/spi-builder-workspace/.build/checkouts/music-notation/Sources/music-notation/Score.swift:41:9: note: 'init(parts:)' declared here
39 | 	public var pageFooter: PageFooter?
40 |
41 | 	public init(parts: [Part]) {
   |         `- note: 'init(parts:)' declared here
42 | 		self.parts = parts
43 | 	}
/host/spi-builder-workspace/Sources/MusicNotationExtensions/MusicNotation+Part.swift:28:13: error: extra argument 'measure' in call
26 | 			clef: .treble,
27 | 			instrument: .init(name: "instrument"),
28 | 			measure: [Measure(
   |             `- error: extra argument 'measure' in call
29 | 				timeSignature: MusicNotation.TimeSignature(numerator: 4, denominator: 4, tempo: 120),
30 | 				key: MusicNotation.Key(noteLetter: .c)
/host/spi-builder-workspace/Sources/MusicNotationExtensions/MusicNotation+Part.swift:29:47: error: incorrect argument labels in call (have 'numerator:denominator:tempo:', expected 'topNumber:bottomNumber:tempo:')
27 | 			instrument: .init(name: "instrument"),
28 | 			measure: [Measure(
29 | 				timeSignature: MusicNotation.TimeSignature(numerator: 4, denominator: 4, tempo: 120),
   |                                               `- error: incorrect argument labels in call (have 'numerator:denominator:tempo:', expected 'topNumber:bottomNumber:tempo:')
30 | 				key: MusicNotation.Key(noteLetter: .c)
31 | 			)]
[93/119] Compiling MusicNotationImportGuitarPro MusicNotation+Part.swift
/host/spi-builder-workspace/Sources/Importers/GuitarPro7Importer.swift:34:28: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
 32 | 		switch file.pathExtension {
 33 | 		case "gpif":
 34 | 			guard let string = try? String(contentsOf: file) else { throw GuitarProImportError(file: file, "Could not open gpif file") }
    |                            `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
 35 | 			xmlString = string
 36 | 			partConfigurationsData = Data()
/host/spi-builder-workspace/Sources/Importers/GuitarPro7Importer.swift:100:29: error: extra arguments at positions #2, #3, #4, #5, #6, #7, #8, #9, #10 in call
 98 | 		// Collect score field names
 99 |
100 | 		return MusicNotation.Score(
    |                             `- error: extra arguments at positions #2, #3, #4, #5, #6, #7, #8, #9, #10 in call
101 | 			parts: parts,
102 | 			title: interchangeFormat.score.title,
/host/spi-builder-workspace/.build/checkouts/music-notation/Sources/music-notation/Score.swift:41:9: note: 'init(parts:)' declared here
39 | 	public var pageFooter: PageFooter?
40 |
41 | 	public init(parts: [Part]) {
   |         `- note: 'init(parts:)' declared here
42 | 		self.parts = parts
43 | 	}
/host/spi-builder-workspace/Sources/MusicNotationExtensions/MusicNotation+Part.swift:28:13: error: extra argument 'measure' in call
26 | 			clef: .treble,
27 | 			instrument: .init(name: "instrument"),
28 | 			measure: [Measure(
   |             `- error: extra argument 'measure' in call
29 | 				timeSignature: MusicNotation.TimeSignature(numerator: 4, denominator: 4, tempo: 120),
30 | 				key: MusicNotation.Key(noteLetter: .c)
/host/spi-builder-workspace/Sources/MusicNotationExtensions/MusicNotation+Part.swift:29:47: error: incorrect argument labels in call (have 'numerator:denominator:tempo:', expected 'topNumber:bottomNumber:tempo:')
27 | 			instrument: .init(name: "instrument"),
28 | 			measure: [Measure(
29 | 				timeSignature: MusicNotation.TimeSignature(numerator: 4, denominator: 4, tempo: 120),
   |                                               `- error: incorrect argument labels in call (have 'numerator:denominator:tempo:', expected 'topNumber:bottomNumber:tempo:')
30 | 				key: MusicNotation.Key(noteLetter: .c)
31 | 			)]
[94/119] Compiling MusicNotationImportGuitarPro BinaryData.swift
/host/spi-builder-workspace/Sources/Importers/GuitarPro7Importer.swift:34:28: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
 32 | 		switch file.pathExtension {
 33 | 		case "gpif":
 34 | 			guard let string = try? String(contentsOf: file) else { throw GuitarProImportError(file: file, "Could not open gpif file") }
    |                            `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
 35 | 			xmlString = string
 36 | 			partConfigurationsData = Data()
/host/spi-builder-workspace/Sources/Importers/GuitarPro7Importer.swift:100:29: error: extra arguments at positions #2, #3, #4, #5, #6, #7, #8, #9, #10 in call
 98 | 		// Collect score field names
 99 |
100 | 		return MusicNotation.Score(
    |                             `- error: extra arguments at positions #2, #3, #4, #5, #6, #7, #8, #9, #10 in call
101 | 			parts: parts,
102 | 			title: interchangeFormat.score.title,
/host/spi-builder-workspace/.build/checkouts/music-notation/Sources/music-notation/Score.swift:41:9: note: 'init(parts:)' declared here
39 | 	public var pageFooter: PageFooter?
40 |
41 | 	public init(parts: [Part]) {
   |         `- note: 'init(parts:)' declared here
42 | 		self.parts = parts
43 | 	}
/host/spi-builder-workspace/Sources/MusicNotationExtensions/MusicNotation+Part.swift:28:13: error: extra argument 'measure' in call
26 | 			clef: .treble,
27 | 			instrument: .init(name: "instrument"),
28 | 			measure: [Measure(
   |             `- error: extra argument 'measure' in call
29 | 				timeSignature: MusicNotation.TimeSignature(numerator: 4, denominator: 4, tempo: 120),
30 | 				key: MusicNotation.Key(noteLetter: .c)
/host/spi-builder-workspace/Sources/MusicNotationExtensions/MusicNotation+Part.swift:29:47: error: incorrect argument labels in call (have 'numerator:denominator:tempo:', expected 'topNumber:bottomNumber:tempo:')
27 | 			instrument: .init(name: "instrument"),
28 | 			measure: [Measure(
29 | 				timeSignature: MusicNotation.TimeSignature(numerator: 4, denominator: 4, tempo: 120),
   |                                               `- error: incorrect argument labels in call (have 'numerator:denominator:tempo:', expected 'topNumber:bottomNumber:tempo:')
30 | 				key: MusicNotation.Key(noteLetter: .c)
31 | 			)]
[95/123] Compiling MusicNotationImportGuitarPro Lyrics.swift
[96/123] Compiling MusicNotationImportGuitarPro MIDIConnection.swift
[97/123] Compiling MusicNotationImportGuitarPro MasterBar.swift
[98/123] Compiling MusicNotationImportGuitarPro MasterTrack.swift
[99/123] Compiling MusicNotationImportGuitarPro Note.swift
[100/123] Compiling MusicNotationImportGuitarPro Revision.swift
[101/123] Compiling MusicNotationImportGuitarPro Rhythm.swift
[102/123] Compiling MusicNotationImportGuitarPro Score.swift
[103/123] Emitting module MusicNotationImportGuitarPro
[104/123] Compiling MusicNotationImportGuitarPro Track.swift
[105/123] Compiling MusicNotationImportGuitarPro Transpose.swift
[106/123] Compiling MusicNotationImportGuitarPro Version.swift
[107/123] Compiling MusicNotationImportGuitarPro Voice.swift
[108/123] Compiling MusicNotationImportGuitarPro Sound.swift
[109/123] Compiling MusicNotationImportGuitarPro Staff.swift
[110/123] Compiling MusicNotationImportGuitarPro StringParser.swift
[111/123] Compiling MusicNotationImportGuitarPro TimeSignature.swift
[112/123] Compiling MusicNotationImportGuitarPro Tuple.swift
[113/123] Compiling MusicNotationImportGuitarPro Automation.swift
[114/123] Compiling MusicNotationImportGuitarPro Bar.swift
[115/123] Compiling MusicNotationImportGuitarPro Beat.swift
[116/123] Compiling MusicNotationImportGuitarPro ChannelStrip.swift
[117/123] Compiling MusicNotationImportGuitarPro GuitarProInterchangeFormat.swift
[118/123] Compiling MusicNotationImportGuitarPro InstrumentSet.swift
[119/123] Compiling MusicNotationImportGuitarPro Key.swift
[120/123] Compiling MusicNotationImportGuitarPro BinaryDataErrors.swift
[121/123] Compiling MusicNotationImportGuitarPro BinaryDataReader.swift
[122/123] Compiling MusicNotationImportGuitarPro Common.swift
[123/123] Compiling MusicNotationImportGuitarPro IntegerType.swift
BUILD FAILURE 6.0 linux