Build Information
Failed to build syntax-highlight-publish-plugin with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerdsupremacist/syntax-highlight-publish-plugin.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/nerdsupremacist/syntax-highlight-publish-plugin
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 79f4747 Update README.md
Cloned https://github.com/nerdsupremacist/syntax-highlight-publish-plugin.git
Revision (git rev-parse @):
79f4747fb57af2592f7572f0c67d6efc204b745d
SUCCESS checkout https://github.com/nerdsupremacist/syntax-highlight-publish-plugin.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
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-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
Fetching https://github.com/nerdsupremacist/TextMate.git
Fetching https://github.com/nerdsupremacist/SyntaxTree.git
Fetching https://github.com/johnsundell/sweep.git
Fetching https://github.com/JohnSundell/Splash.git
Fetching https://github.com/johnsundell/ink.git
Fetching https://github.com/nerdsupremacist/syntax-highlight.git
[1/116] Fetching sweep
[117/145] Fetching sweep, syntaxtree
[146/480] Fetching sweep, syntaxtree, textmate
[481/2598] Fetching sweep, syntaxtree, textmate, splash
[524/2692] Fetching sweep, syntaxtree, textmate, splash, syntax-highlight
[2693/4597] Fetching sweep, syntaxtree, textmate, splash, syntax-highlight, ink
Fetched https://github.com/johnsundell/ink.git from cache (0.34s)
Fetching https://github.com/nerdsupremacist/Syntax.git
Fetched https://github.com/nerdsupremacist/TextMate.git from cache (0.34s)
Fetched https://github.com/JohnSundell/Splash.git from cache (0.34s)
Fetching https://github.com/johnsundell/shellout.git
Fetching https://github.com/JohnSundell/Publish.git
Fetched https://github.com/johnsundell/sweep.git from cache (0.35s)
Fetching https://github.com/johnsundell/files.git
Fetched https://github.com/nerdsupremacist/syntax-highlight.git from cache (0.35s)
Fetched https://github.com/nerdsupremacist/SyntaxTree.git from cache (0.35s)
Fetching https://github.com/johnsundell/plot.git
Fetching https://github.com/johnsundell/codextended.git
[1/956] Fetching shellout
[135/1137] Fetching shellout, codextended
[1138/2368] Fetching shellout, codextended, files
[2369/5130] Fetching shellout, codextended, files, syntax
[2922/7215] Fetching shellout, codextended, files, syntax, plot
[3422/10097] Fetching shellout, codextended, files, syntax, plot, publish
Fetched https://github.com/johnsundell/codextended.git from cache (0.29s)
[8229/9916] Fetching shellout, files, syntax, plot, publish
Fetched https://github.com/johnsundell/files.git from cache (0.39s)
Fetched https://github.com/johnsundell/plot.git from cache (0.40s)
Fetched https://github.com/JohnSundell/Publish.git from cache (0.48s)
Fetched https://github.com/johnsundell/shellout.git from cache (0.49s)
Fetched https://github.com/nerdsupremacist/Syntax.git from cache (0.49s)
Computing version for https://github.com/JohnSundell/Publish.git
Computed https://github.com/JohnSundell/Publish.git at 0.7.0 (0.67s)
Computing version for https://github.com/JohnSundell/Splash.git
Computed https://github.com/JohnSundell/Splash.git at 0.15.0 (0.44s)
Computing version for https://github.com/nerdsupremacist/TextMate.git
Computed https://github.com/nerdsupremacist/TextMate.git at 0.1.0 (0.43s)
Computing version for https://github.com/nerdsupremacist/syntax-highlight.git
Computed https://github.com/nerdsupremacist/syntax-highlight.git at 0.1.0 (1.38s)
Computing version for https://github.com/nerdsupremacist/Syntax.git
Computed https://github.com/nerdsupremacist/Syntax.git at 1.0.2 (0.47s)
Computing version for https://github.com/johnsundell/sweep.git
Computed https://github.com/johnsundell/sweep.git at 0.4.0 (0.46s)
Computing version for https://github.com/johnsundell/shellout.git
Computed https://github.com/johnsundell/shellout.git at 2.3.0 (1.11s)
Computing version for https://github.com/johnsundell/codextended.git
Computed https://github.com/johnsundell/codextended.git at 0.3.0 (0.45s)
Computing version for https://github.com/johnsundell/files.git
Computed https://github.com/johnsundell/files.git at 4.2.0 (0.73s)
Computing version for https://github.com/johnsundell/plot.git
Computed https://github.com/johnsundell/plot.git at 0.8.0 (0.58s)
Computing version for https://github.com/johnsundell/ink.git
Computed https://github.com/johnsundell/ink.git at 0.5.0 (0.65s)
Computing version for https://github.com/nerdsupremacist/SyntaxTree.git
Computed https://github.com/nerdsupremacist/SyntaxTree.git at 0.1.0 (0.44s)
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/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/Syntax.git
Working copy of https://github.com/nerdsupremacist/Syntax.git resolved at 1.0.2
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/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/plot.git
Working copy of https://github.com/johnsundell/plot.git resolved at 0.8.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/codextended.git
Working copy of https://github.com/johnsundell/codextended.git resolved at 0.3.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
Creating working copy for https://github.com/johnsundell/shellout.git
Working copy of https://github.com/johnsundell/shellout.git resolved at 2.3.0
Building for debugging...
[0/14] Write sources
[13/14] Write swift-version-24593BA9C3E375BF.txt
[15/124] Compiling Ink List.swift
[16/124] Compiling Ink Metadata.swift
[17/124] Compiling Ink Modifiable.swift
[18/124] Compiling Ink ModifierCollection.swift
[19/128] Compiling Plot HTMLLinkRelationship.swift
[20/128] Compiling Plot HTMLVideoFormat.swift
[21/128] Compiling Plot HTMLViewportWidthMode.swift
[22/128] Compiling Plot HTMLAnchorRelationship.swift
[23/128] Compiling Plot PodcastElements.swift
[24/128] Compiling Plot PodcastEpisodeType.swift
[25/128] Compiling Plot PodcastFeed.swift
[26/128] Compiling Plot PodcastMediaType.swift
[27/128] Compiling Plot PodcastType.swift
[28/128] Compiling Plot RSS.swift
[29/128] Compiling Plot HTMLFormContentType.swift
[30/128] Compiling Plot HTMLFormMethod.swift
[31/128] Compiling Plot HTMLInputType.swift
[32/128] Emitting module Ink
[33/128] Compiling Plot Indentation.swift
[34/128] Compiling Plot Language.swift
[35/128] Compiling Plot Node.swift
[36/128] Compiling Plot PodcastAttributes.swift
[37/128] Compiling Plot PodcastComponents.swift
[38/128] Compiling Ink TextStyle.swift
[39/128] Compiling Ink TextStyleMarker.swift
[40/128] Compiling Ink URL.swift
[41/128] Compiling Ink URLDeclaration.swift
[42/128] Compiling SyntaxTree SyntaxTreeFactory.swift
[43/128] Compiling SyntaxTree Kind.swift
[44/128] Emitting module SyntaxTree
[56/131] Emitting module Splash
[57/131] Compiling Plot SiteMapElements.swift
[58/131] Compiling Plot TwitterCardType.swift
[59/131] Compiling Plot URLRepresentable.swift
[60/131] Compiling Plot XML.swift
[61/131] Compiling Plot XMLAttributes.swift
[62/131] Compiling Codextended Codextended.swift
[63/131] Compiling Sweep Sweep.swift
[64/131] Emitting module Sweep
[65/134] Emitting module Codextended
[77/136] Compiling Files Files.swift
[78/136] Emitting module Files
[79/136] Compiling SyntaxTree LineColumnIndex.swift
[80/136] Compiling SyntaxTree Location.swift
[81/136] Compiling SyntaxTree MutableSyntaxTree.swift
[82/136] Emitting module ShellOut
[83/136] Compiling ShellOut ShellOut.swift
[93/139] Compiling SyntaxTree SyntaxTree.swift
[94/139] Compiling Ink Readable.swift
[99/139] Compiling Ink NamedURLCollection.swift
[100/140] Compiling Ink Paragraph.swift
[101/140] Compiling Ink PlainTextConvertible.swift
[103/140] Compiling Ink Reader.swift
[104/140] Compiling Splash Segment.swift
[105/140] Compiling Splash TokenType.swift
[106/140] Compiling Splash Tokenizer.swift
[127/142] Emitting module Plot
[135/213] Compiling TextMate LanguageError.swift
[136/214] Emitting module SyntaxHighlight
[137/214] Compiling SyntaxHighlight Format.swift
[138/214] Compiling Syntax Group.swift
[139/214] Compiling Syntax neverBody.swift
[140/214] Compiling Syntax InternalParser.swift
[141/214] Compiling Syntax MemoizationKey.swift
[142/214] Compiling Syntax MemoizationStorage.swift
[143/215] Compiling Syntax StringLiteral.swift
[144/215] Compiling Syntax SwiftEscapeStrategy.swift
[145/215] Compiling Syntax Maybe.swift
[146/216] Emitting module TextMate
[149/216] Compiling SyntaxHighlight Parser+highlight.swift
[150/216] 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
23 | internal init(attributes: @escaping (Kind?, [String : Any]) -> [NSAttributedString.Key : Any]?) {
24 | self.attributes = attributes
25 | self.string = NSMutableAttributedString()
| `- error: missing argument for parameter 'string' in call
26 | }
27 |
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
14 | open func endEditing()
15 | override open func copy(with zone: NSZone? = nil) -> Any
16 | override public init(string: String)
| `- note: 'init(string:)' declared here
17 | override public init(string: String, attributes attrs: [NSAttributedString.Key : Any]? = nil)
18 | override public init(attributedString: NSAttributedString)
[151/216] Compiling SyntaxHighlight Parser+html.swift
[152/216] Compiling Syntax AnnotatedString.swift
[153/216] Compiling Syntax DiagnosticError.swift
BUILD FAILURE 6.0 linux