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 (94bcca), with Swift 6.0 for Linux on 5 Nov 2024 17:48:11 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.56.0
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 94bcca2 REmoved debug print
Cloned https://github.com/music-notation-swift/music-notation-import-guitarpro.git
Revision (git rev-parse @):
94bcca2299498fba6e4503f3d0810c264cf925b2
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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
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/drmohundro/SWXMLHash.git
Fetching https://github.com/weichsel/ZIPFoundation.git
Fetching https://github.com/music-notation-swift/music-notation.git
[1/2820] Fetching swxmlhash
[1468/5603] Fetching swxmlhash, music-notation
[3489/11069] Fetching swxmlhash, music-notation, zipfoundation
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.28s)
[3549/8249] Fetching music-notation, zipfoundation
Fetched https://github.com/music-notation-swift/music-notation.git from cache (0.34s)
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (0.45s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.19 (0.41s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 8.1.0 (0.37s)
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 (1.77s)
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.19
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.1.0
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 SWXMLHash
[7/81] Emitting module ZIPFoundation
[8/83] Compiling MusicNotation SpelledPitch.swift
[9/83] Compiling MusicNotation Staff.swift
[10/83] Compiling MusicNotation StaffLocation.swift
[11/83] Compiling MusicNotation Striking.swift
[12/87] Compiling MusicNotation NoteLetter.swift
[13/87] Compiling MusicNotation NotesHolder.swift
[14/87] Compiling MusicNotation Octave.swift
[15/87] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[16/87] Compiling SWXMLHash XMLIndexer.swift
[17/87] Compiling SWXMLHash shim.swift
[18/87] Compiling MusicNotation NoteCollection.swift
[19/87] Compiling MusicNotation NoteDuration.swift
[20/87] Compiling ZIPFoundation URL+ZIP.swift
[21/87] Compiling MusicNotation Part.swift
[22/87] Compiling MusicNotation RepeatedMeasure.swift
[23/87] Compiling SWXMLHash XMLHashOptions.swift
[24/87] Emitting module MusicNotation
[25/87] Compiling SWXMLHash Int+XMLDeserialization.swift
[26/87] Compiling SWXMLHash String+XMLDeserialization.swift
[27/87] Compiling SWXMLHash IndexingError.swift
[28/87] Compiling SWXMLHash XMLAttributeDeserializable.swift
[29/87] Compiling SWXMLHash XMLElementDeserializable.swift
[30/87] Compiling SWXMLHash XMLIndexer+XMLDeserialization.swift
[31/87] Compiling SWXMLHash XMLObjectDeserialization.swift
[32/87] Compiling SWXMLHash IndexOp.swift
[33/87] Compiling MusicNotation Interval.swift
[34/87] Compiling MusicNotation Key.swift
[35/87] Compiling MusicNotation Measure.swift
[36/87] Compiling MusicNotation MeasureDurationValidator.swift
[37/87] Compiling MusicNotation Stylesheet.swift
[38/87] Compiling MusicNotation Tie.swift
[39/87] Compiling MusicNotation TimeSignature.swift
[40/87] Compiling MusicNotation Tuplet.swift
[91/125] Compiling MusicNotationImportGuitarPro Revision.swift
[92/125] Compiling MusicNotationImportGuitarPro Rhythm.swift
[93/125] Compiling MusicNotationImportGuitarPro Score.swift
[94/125] Compiling MusicNotationImportGuitarPro Sound.swift
[95/125] Compiling MusicNotationImportGuitarPro Staff.swift
[96/129] Compiling MusicNotationImportGuitarPro GuitarPro8Importer.swift
/host/spi-builder-workspace/Sources/Importers/GuitarPro8Importer.swift:40:28: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
 38 | 	func createFromFile() throws -> (String, Data) {
 39 | 		if file.pathExtension == "gpif" {
 40 | 			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
 41 | 			return (string, Data())
 42 | 		} else if file.pathExtension == "gp" {
/host/spi-builder-workspace/Sources/Importers/GuitarPro8Importer.swift:94:29: error: extra arguments at positions #2, #3, #4, #5, #6, #7, #8, #9, #10 in call
 92 | 		// Collect score field names
 93 |
 94 | 		return MusicNotation.Score(
    |                             `- error: extra arguments at positions #2, #3, #4, #5, #6, #7, #8, #9, #10 in call
 95 | 			parts: parts,
 96 | 			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+GPImport.swift:39:13: error: extra argument 'measure' in call
37 | 			clef: .treble,
38 | 			instrument: .init(with: guitarProStaff.properties),
39 | 			measure: [Measure(
   |             `- error: extra argument 'measure' in call
40 | 				timeSignature: MusicNotation.TimeSignature(numerator: 4, denominator: 4, tempo: 120),
41 | 				key: MusicNotation.Key(noteLetter: .c)
/host/spi-builder-workspace/Sources/MusicNotationExtensions/MusicNotation+GPImport.swift:40:47: error: incorrect argument labels in call (have 'numerator:denominator:tempo:', expected 'topNumber:bottomNumber:tempo:')
38 | 			instrument: .init(with: guitarProStaff.properties),
39 | 			measure: [Measure(
40 | 				timeSignature: MusicNotation.TimeSignature(numerator: 4, denominator: 4, tempo: 120),
   |                                               `- error: incorrect argument labels in call (have 'numerator:denominator:tempo:', expected 'topNumber:bottomNumber:tempo:')
41 | 				key: MusicNotation.Key(noteLetter: .c)
42 | 			)]
[97/129] Compiling MusicNotationImportGuitarPro PartConfiguration.swift
/host/spi-builder-workspace/Sources/Importers/GuitarPro8Importer.swift:40:28: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
 38 | 	func createFromFile() throws -> (String, Data) {
 39 | 		if file.pathExtension == "gpif" {
 40 | 			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
 41 | 			return (string, Data())
 42 | 		} else if file.pathExtension == "gp" {
/host/spi-builder-workspace/Sources/Importers/GuitarPro8Importer.swift:94:29: error: extra arguments at positions #2, #3, #4, #5, #6, #7, #8, #9, #10 in call
 92 | 		// Collect score field names
 93 |
 94 | 		return MusicNotation.Score(
    |                             `- error: extra arguments at positions #2, #3, #4, #5, #6, #7, #8, #9, #10 in call
 95 | 			parts: parts,
 96 | 			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+GPImport.swift:39:13: error: extra argument 'measure' in call
37 | 			clef: .treble,
38 | 			instrument: .init(with: guitarProStaff.properties),
39 | 			measure: [Measure(
   |             `- error: extra argument 'measure' in call
40 | 				timeSignature: MusicNotation.TimeSignature(numerator: 4, denominator: 4, tempo: 120),
41 | 				key: MusicNotation.Key(noteLetter: .c)
/host/spi-builder-workspace/Sources/MusicNotationExtensions/MusicNotation+GPImport.swift:40:47: error: incorrect argument labels in call (have 'numerator:denominator:tempo:', expected 'topNumber:bottomNumber:tempo:')
38 | 			instrument: .init(with: guitarProStaff.properties),
39 | 			measure: [Measure(
40 | 				timeSignature: MusicNotation.TimeSignature(numerator: 4, denominator: 4, tempo: 120),
   |                                               `- error: incorrect argument labels in call (have 'numerator:denominator:tempo:', expected 'topNumber:bottomNumber:tempo:')
41 | 				key: MusicNotation.Key(noteLetter: .c)
42 | 			)]
[98/129] Compiling MusicNotationImportGuitarPro MusicNotation+GPImport.swift
/host/spi-builder-workspace/Sources/Importers/GuitarPro8Importer.swift:40:28: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
 38 | 	func createFromFile() throws -> (String, Data) {
 39 | 		if file.pathExtension == "gpif" {
 40 | 			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
 41 | 			return (string, Data())
 42 | 		} else if file.pathExtension == "gp" {
/host/spi-builder-workspace/Sources/Importers/GuitarPro8Importer.swift:94:29: error: extra arguments at positions #2, #3, #4, #5, #6, #7, #8, #9, #10 in call
 92 | 		// Collect score field names
 93 |
 94 | 		return MusicNotation.Score(
    |                             `- error: extra arguments at positions #2, #3, #4, #5, #6, #7, #8, #9, #10 in call
 95 | 			parts: parts,
 96 | 			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+GPImport.swift:39:13: error: extra argument 'measure' in call
37 | 			clef: .treble,
38 | 			instrument: .init(with: guitarProStaff.properties),
39 | 			measure: [Measure(
   |             `- error: extra argument 'measure' in call
40 | 				timeSignature: MusicNotation.TimeSignature(numerator: 4, denominator: 4, tempo: 120),
41 | 				key: MusicNotation.Key(noteLetter: .c)
/host/spi-builder-workspace/Sources/MusicNotationExtensions/MusicNotation+GPImport.swift:40:47: error: incorrect argument labels in call (have 'numerator:denominator:tempo:', expected 'topNumber:bottomNumber:tempo:')
38 | 			instrument: .init(with: guitarProStaff.properties),
39 | 			measure: [Measure(
40 | 				timeSignature: MusicNotation.TimeSignature(numerator: 4, denominator: 4, tempo: 120),
   |                                               `- error: incorrect argument labels in call (have 'numerator:denominator:tempo:', expected 'topNumber:bottomNumber:tempo:')
41 | 				key: MusicNotation.Key(noteLetter: .c)
42 | 			)]
[99/129] Compiling MusicNotationImportGuitarPro BinaryData.swift
/host/spi-builder-workspace/Sources/Importers/GuitarPro8Importer.swift:40:28: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
 38 | 	func createFromFile() throws -> (String, Data) {
 39 | 		if file.pathExtension == "gpif" {
 40 | 			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
 41 | 			return (string, Data())
 42 | 		} else if file.pathExtension == "gp" {
/host/spi-builder-workspace/Sources/Importers/GuitarPro8Importer.swift:94:29: error: extra arguments at positions #2, #3, #4, #5, #6, #7, #8, #9, #10 in call
 92 | 		// Collect score field names
 93 |
 94 | 		return MusicNotation.Score(
    |                             `- error: extra arguments at positions #2, #3, #4, #5, #6, #7, #8, #9, #10 in call
 95 | 			parts: parts,
 96 | 			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+GPImport.swift:39:13: error: extra argument 'measure' in call
37 | 			clef: .treble,
38 | 			instrument: .init(with: guitarProStaff.properties),
39 | 			measure: [Measure(
   |             `- error: extra argument 'measure' in call
40 | 				timeSignature: MusicNotation.TimeSignature(numerator: 4, denominator: 4, tempo: 120),
41 | 				key: MusicNotation.Key(noteLetter: .c)
/host/spi-builder-workspace/Sources/MusicNotationExtensions/MusicNotation+GPImport.swift:40:47: error: incorrect argument labels in call (have 'numerator:denominator:tempo:', expected 'topNumber:bottomNumber:tempo:')
38 | 			instrument: .init(with: guitarProStaff.properties),
39 | 			measure: [Measure(
40 | 				timeSignature: MusicNotation.TimeSignature(numerator: 4, denominator: 4, tempo: 120),
   |                                               `- error: incorrect argument labels in call (have 'numerator:denominator:tempo:', expected 'topNumber:bottomNumber:tempo:')
41 | 				key: MusicNotation.Key(noteLetter: .c)
42 | 			)]
[100/129] Compiling MusicNotationImportGuitarPro BinaryDataErrors.swift
/host/spi-builder-workspace/Sources/Importers/GuitarPro8Importer.swift:40:28: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead
 38 | 	func createFromFile() throws -> (String, Data) {
 39 | 		if file.pathExtension == "gpif" {
 40 | 			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
 41 | 			return (string, Data())
 42 | 		} else if file.pathExtension == "gp" {
/host/spi-builder-workspace/Sources/Importers/GuitarPro8Importer.swift:94:29: error: extra arguments at positions #2, #3, #4, #5, #6, #7, #8, #9, #10 in call
 92 | 		// Collect score field names
 93 |
 94 | 		return MusicNotation.Score(
    |                             `- error: extra arguments at positions #2, #3, #4, #5, #6, #7, #8, #9, #10 in call
 95 | 			parts: parts,
 96 | 			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+GPImport.swift:39:13: error: extra argument 'measure' in call
37 | 			clef: .treble,
38 | 			instrument: .init(with: guitarProStaff.properties),
39 | 			measure: [Measure(
   |             `- error: extra argument 'measure' in call
40 | 				timeSignature: MusicNotation.TimeSignature(numerator: 4, denominator: 4, tempo: 120),
41 | 				key: MusicNotation.Key(noteLetter: .c)
/host/spi-builder-workspace/Sources/MusicNotationExtensions/MusicNotation+GPImport.swift:40:47: error: incorrect argument labels in call (have 'numerator:denominator:tempo:', expected 'topNumber:bottomNumber:tempo:')
38 | 			instrument: .init(with: guitarProStaff.properties),
39 | 			measure: [Measure(
40 | 				timeSignature: MusicNotation.TimeSignature(numerator: 4, denominator: 4, tempo: 120),
   |                                               `- error: incorrect argument labels in call (have 'numerator:denominator:tempo:', expected 'topNumber:bottomNumber:tempo:')
41 | 				key: MusicNotation.Key(noteLetter: .c)
42 | 			)]
[101/129] Compiling MusicNotationImportGuitarPro InstrumentSet.swift
[102/129] Compiling MusicNotationImportGuitarPro Key.swift
[103/129] Compiling MusicNotationImportGuitarPro Line.swift
[104/129] Compiling MusicNotationImportGuitarPro Lyrics.swift
[105/129] Compiling MusicNotationImportGuitarPro MIDIConnection.swift
[106/129] Compiling MusicNotationImportGuitarPro MasterBar.swift
[107/129] Compiling MusicNotationImportGuitarPro MasterTrack.swift
[108/129] Compiling MusicNotationImportGuitarPro Note.swift
[109/129] Compiling MusicNotationImportGuitarPro NoteValue.swift
[110/129] Compiling MusicNotationImportGuitarPro PrimaryTuplet.swift
[111/129] Compiling MusicNotationImportGuitarPro Transpose.swift
[112/129] Compiling MusicNotationImportGuitarPro Version.swift
[113/129] Compiling MusicNotationImportGuitarPro Voice.swift
[114/129] Compiling MusicNotationImportGuitarPro XMLIndexer+BoolDeserialization.swift
[115/129] Emitting module MusicNotationImportGuitarPro
[116/129] Compiling MusicNotationImportGuitarPro Bar.swift
[117/129] Compiling MusicNotationImportGuitarPro Beat.swift
[118/129] Compiling MusicNotationImportGuitarPro BeatProperty.swift
[119/129] Compiling MusicNotationImportGuitarPro ChannelStrip.swift
[120/129] Compiling MusicNotationImportGuitarPro GuitarProInterchangeFormat.swift
[121/129] Compiling MusicNotationImportGuitarPro BinaryDataReader.swift
[122/129] Compiling MusicNotationImportGuitarPro Common.swift
[123/129] Compiling MusicNotationImportGuitarPro IntegerType.swift
[124/129] Compiling MusicNotationImportGuitarPro Tuple.swift
[125/129] Compiling MusicNotationImportGuitarPro Automation.swift
[126/129] Compiling MusicNotationImportGuitarPro StaffProperty.swift
[127/129] Compiling MusicNotationImportGuitarPro StringParser.swift
[128/129] Compiling MusicNotationImportGuitarPro TimeSignature.swift
[129/129] Compiling MusicNotationImportGuitarPro Track.swift
BUILD FAILURE 6.0 linux