Build Information
Failed to build syntax-highlight with Swift 5.9 for Linux.
Build Command
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerdsupremacist/syntax-highlight.git
Reference: 0.1.0
Cloned https://github.com/nerdsupremacist/syntax-highlight.git into spi-builder-workspace
SUCCESS checkout https://github.com/nerdsupremacist/syntax-highlight.git at 0.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/nerdsupremacist/SyntaxTree.git
Fetched https://github.com/nerdsupremacist/SyntaxTree.git (0.17s)
Computing version for https://github.com/nerdsupremacist/SyntaxTree.git
Computed https://github.com/nerdsupremacist/SyntaxTree.git at 0.1.0 (0.30s)
Creating working copy for https://github.com/nerdsupremacist/SyntaxTree.git
Working copy of https://github.com/nerdsupremacist/SyntaxTree.git resolved at 0.1.0
Building for debugging...
[1/7] Compiling SyntaxTree Kind.swift
[2/7] Emitting module SyntaxTree
[3/7] Compiling SyntaxTree LineColumnIndex.swift
[4/7] Compiling SyntaxTree SyntaxTree.swift
[5/7] Compiling SyntaxTree Location.swift
[6/7] Compiling SyntaxTree MutableSyntaxTree.swift
[7/7] Compiling SyntaxTree SyntaxTreeFactory.swift
[10/14] Compiling SyntaxHighlight Format.swift
[11/14] Emitting module SyntaxHighlight
[12/14] Compiling SyntaxHighlight Parser+highlight.swift
[13/14] Compiling SyntaxHighlight Parser+attributedString.swift
/host/spi-builder-workspace/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)
^
[14/14] Compiling SyntaxHighlight Parser+html.swift
error: fatalError
BUILD FAILURE 5.9 linux
Build Machine: Linux 2