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 syntax-highlight-publish-plugin with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerdsupremacist/syntax-highlight-publish-plugin.git
Reference: 0.1.0
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/nerdsupremacist/syntax-highlight-publish-plugin
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 5f23b7e fixing versions of dependencies
Cloned https://github.com/nerdsupremacist/syntax-highlight-publish-plugin.git
Revision (git rev-parse @):
5f23b7e2426d331c5194814451efd52a7fe25e30
SUCCESS checkout https://github.com/nerdsupremacist/syntax-highlight-publish-plugin.git at 0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/nerdsupremacist/syntax-highlight-publish-plugin.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/johnsundell/shellout.git
Fetching https://github.com/johnsundell/plot.git
Fetching https://github.com/JohnSundell/Publish.git
Fetching https://github.com/JohnSundell/Splash.git
Fetching https://github.com/nerdsupremacist/SyntaxTree.git
Fetching https://github.com/nerdsupremacist/TextMate.git
[1/956] Fetching shellout
[327/3054] Fetching shellout, splash
[1146/3389] Fetching shellout, splash, textmate
[1817/6271] Fetching shellout, splash, textmate, publish
[4860/6300] Fetching shellout, splash, textmate, publish, syntaxtree
[6281/8385] Fetching shellout, splash, textmate, publish, syntaxtree, plot
Fetched https://github.com/JohnSundell/Splash.git from cache (0.27s)
Fetched https://github.com/johnsundell/shellout.git from cache (0.27s)
Fetching https://github.com/nerdsupremacist/syntax-highlight.git
[4978/5331] Fetching textmate, publish, syntaxtree, plot
Fetching https://github.com/johnsundell/sweep.git
Fetched https://github.com/nerdsupremacist/SyntaxTree.git from cache (0.28s)
Fetching https://github.com/nerdsupremacist/Syntax.git
Fetched https://github.com/nerdsupremacist/TextMate.git from cache (0.28s)
Fetching https://github.com/johnsundell/codextended.git
Fetched https://github.com/JohnSundell/Publish.git from cache (0.29s)
Fetching https://github.com/johnsundell/files.git
Fetched https://github.com/johnsundell/plot.git from cache (0.35s)
Fetching https://github.com/johnsundell/ink.git
[1/116] Fetching sweep
[117/297] Fetching sweep, codextended
[143/391] Fetching sweep, codextended, syntax-highlight
[388/1622] Fetching sweep, codextended, syntax-highlight, files
[1619/4384] Fetching sweep, codextended, syntax-highlight, files, syntax
[1785/6282] Fetching sweep, codextended, syntax-highlight, files, syntax, ink
Fetched https://github.com/johnsundell/sweep.git from cache (0.24s)
[1950/6166] Fetching codextended, syntax-highlight, files, syntax, ink
Fetched https://github.com/nerdsupremacist/syntax-highlight.git from cache (0.24s)
[2400/6072] Fetching codextended, files, syntax, ink
Fetched https://github.com/johnsundell/codextended.git from cache (0.25s)
Fetched https://github.com/johnsundell/files.git from cache (0.26s)
[3086/4660] Fetching syntax, ink
Fetched https://github.com/johnsundell/ink.git from cache (0.21s)
[1243/2762] Fetching syntax
Fetched https://github.com/nerdsupremacist/Syntax.git from cache (0.36s)
Computing version for https://github.com/JohnSundell/Publish.git
Computed https://github.com/JohnSundell/Publish.git at 0.7.0 (0.40s)
Computing version for https://github.com/JohnSundell/Splash.git
Computed https://github.com/JohnSundell/Splash.git at 0.15.0 (0.40s)
Computing version for https://github.com/nerdsupremacist/TextMate.git
Computed https://github.com/nerdsupremacist/TextMate.git at 0.1.0 (0.39s)
Computing version for https://github.com/nerdsupremacist/syntax-highlight.git
Computed https://github.com/nerdsupremacist/syntax-highlight.git at 0.1.0 (0.39s)
Computing version for https://github.com/nerdsupremacist/Syntax.git
Computed https://github.com/nerdsupremacist/Syntax.git at 1.0.2 (0.39s)
Computing version for https://github.com/johnsundell/sweep.git
Computed https://github.com/johnsundell/sweep.git at 0.4.0 (0.38s)
Computing version for https://github.com/johnsundell/shellout.git
Computed https://github.com/johnsundell/shellout.git at 2.3.0 (1.03s)
Computing version for https://github.com/johnsundell/codextended.git
Computed https://github.com/johnsundell/codextended.git at 0.3.0 (0.39s)
Computing version for https://github.com/johnsundell/files.git
Computed https://github.com/johnsundell/files.git at 4.2.0 (0.39s)
Computing version for https://github.com/johnsundell/plot.git
Computed https://github.com/johnsundell/plot.git at 0.8.0 (0.38s)
Computing version for https://github.com/johnsundell/ink.git
Computed https://github.com/johnsundell/ink.git at 0.5.0 (0.39s)
Computing version for https://github.com/nerdsupremacist/SyntaxTree.git
Computed https://github.com/nerdsupremacist/SyntaxTree.git at 0.1.0 (0.38s)
Creating working copy for https://github.com/johnsundell/shellout.git
Working copy of https://github.com/johnsundell/shellout.git resolved at 2.3.0
Creating working copy for https://github.com/nerdsupremacist/TextMate.git
Working copy of https://github.com/nerdsupremacist/TextMate.git resolved at 0.1.0
Creating working copy for https://github.com/johnsundell/files.git
Working copy of https://github.com/johnsundell/files.git resolved at 4.2.0
Creating working copy for https://github.com/johnsundell/plot.git
Working copy of https://github.com/johnsundell/plot.git resolved at 0.8.0
Creating working copy for https://github.com/JohnSundell/Splash.git
Working copy of https://github.com/JohnSundell/Splash.git resolved at 0.15.0
Creating working copy for https://github.com/johnsundell/sweep.git
Working copy of https://github.com/johnsundell/sweep.git resolved at 0.4.0
Creating working copy for https://github.com/johnsundell/ink.git
Working copy of https://github.com/johnsundell/ink.git resolved at 0.5.0
Creating working copy for https://github.com/nerdsupremacist/SyntaxTree.git
Working copy of https://github.com/nerdsupremacist/SyntaxTree.git resolved at 0.1.0
Creating working copy for https://github.com/johnsundell/codextended.git
Working copy of https://github.com/johnsundell/codextended.git resolved at 0.3.0
Creating working copy for https://github.com/nerdsupremacist/Syntax.git
Working copy of https://github.com/nerdsupremacist/Syntax.git resolved at 1.0.2
Creating working copy for https://github.com/nerdsupremacist/syntax-highlight.git
Working copy of https://github.com/nerdsupremacist/syntax-highlight.git resolved at 0.1.0
Creating working copy for https://github.com/JohnSundell/Publish.git
Working copy of https://github.com/JohnSundell/Publish.git resolved at 0.7.0
Building for debugging...
[0/14] Write sources
[13/14] Write swift-version-24593BA9C3E375BF.txt
[15/124] Emitting module Splash
[16/127] Emitting module Plot
[17/132] Compiling Splash MarkdownDecorator.swift
[18/132] Compiling Splash OutputBuilder.swift
[19/132] Compiling Splash OutputFormat.swift
[20/132] Compiling Splash SyntaxHighlighter.swift
[21/132] Compiling Splash SyntaxRule.swift
[22/132] Compiling Splash Color.swift
[23/132] Compiling Splash Font.swift
[24/132] Compiling Splash Theme+Defaults.swift
[25/136] Compiling Plot HTMLElements.swift
[26/136] Compiling Plot Attribute.swift
[27/136] Compiling Plot ControlFlow.swift
[28/136] Compiling Splash String+Removing.swift
[29/136] Compiling Splash Substring+HasSuffix.swift
[30/136] Compiling Plot Element.swift
[31/136] Compiling Splash SwiftGrammar.swift
[32/136] Compiling Splash AttributedStringOutputFormat.swift
[33/136] Compiling Splash HTMLOutputFormat.swift
[34/136] Compiling Plot HTMLAnchorRelationship.swift
[35/136] Compiling Plot HTMLAnchorTarget.swift
[36/136] Compiling Plot HTMLAttributes.swift
[37/136] Compiling Plot HTMLAudioFormat.swift
[38/136] Compiling Plot HTMLComponents.swift
[39/136] Emitting module Ink
[40/136] Compiling Ink TextStyle.swift
[41/136] Compiling Ink TextStyleMarker.swift
[42/136] Compiling Ink URL.swift
[43/136] Compiling Ink URLDeclaration.swift
[44/136] Compiling Splash Segment.swift
[45/136] Compiling Splash TokenType.swift
[46/136] Compiling Splash Tokenizer.swift
[47/136] Compiling Plot PodcastMediaType.swift
[48/136] Compiling Plot PodcastType.swift
[49/136] Compiling Plot RSS.swift
[50/136] Compiling Plot RSSAttributes.swift
[51/136] Compiling Splash Theme.swift
[63/136] Compiling SyntaxTree SyntaxTreeFactory.swift
[89/137] Compiling SyntaxTree MutableSyntaxTree.swift
[90/137] Compiling SyntaxTree Location.swift
[101/137] Compiling SyntaxTree LineColumnIndex.swift
[111/138] Compiling Plot XMLElements.swift
[112/138] Compiling Plot AnyNode.swift
[113/138] Compiling Plot ElementRenderer.swift
[114/138] Compiling Plot NodeConvertible.swift
[115/138] Compiling Plot String+Escaping.swift
[116/138] Emitting module SyntaxTree
[117/138] Compiling SyntaxTree Kind.swift
[118/138] Compiling Plot SiteMapElements.swift
[119/138] Compiling Plot TwitterCardType.swift
[120/138] Compiling Plot URLRepresentable.swift
[121/138] Compiling Plot XML.swift
[122/138] Compiling Plot XMLAttributes.swift
[129/139] Compiling SyntaxTree SyntaxTree.swift
[131/140] Emitting module ShellOut
[132/140] Compiling ShellOut ShellOut.swift
[134/140] Emitting module Codextended
[135/140] Compiling Codextended Codextended.swift
[137/140] Emitting module Sweep
[138/140] Compiling Sweep Sweep.swift
[142/143] Emitting module Files
[143/143] Compiling Files Files.swift
[145/231] Compiling TextMate LanguageError.swift
[146/236] Compiling SyntaxHighlight Parser+highlight.swift
[147/236] Compiling SyntaxHighlight Parser+attributedString.swift
/host/spi-builder-workspace/.build/checkouts/syntax-highlight/Sources/SyntaxHighlight/Parser+attributedString.swift:25:49: error: missing argument for parameter 'string' in call
        self.string = NSMutableAttributedString()
                                                ^
                                                string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
    override public init(string: String)
                    ^
[148/236] Compiling SyntaxHighlight Format.swift
[149/236] Emitting module SyntaxHighlight
[150/236] Compiling SyntaxHighlight Parser+html.swift
[151/263] Compiling Publish AnyItem.swift
[152/263] Compiling Publish Audio.swift
[153/263] Emitting module TextMate
[154/267] Compiling TextMate Name.swift
[155/267] Compiling TextMate ParsedPattern.swift
error: fatalError
[156/267] Compiling Publish Content.swift
[157/267] Compiling Publish ContentProtocol.swift
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/114] Compiling SyntaxHighlight Parser+attributedString.swift
/host/spi-builder-workspace/.build/checkouts/syntax-highlight/Sources/SyntaxHighlight/Parser+attributedString.swift:25:49: error: missing argument for parameter 'string' in call
        self.string = NSMutableAttributedString()
                                                ^
                                                string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
    override public init(string: String)
                    ^
[3/114] Emitting module SyntaxHighlight
error: fatalError
BUILD FAILURE 5.10 linux