Build Information
Failed to build syntax-highlight with Swift 5.8 for Linux.
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerdsupremacist/syntax-highlight.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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 61ea287 updating syntax tree
Cloned https://github.com/nerdsupremacist/syntax-highlight.git
Revision (git rev-parse @):
61ea287164c6453925d7967f9d7fa6b236752e3d
SUCCESS checkout https://github.com/nerdsupremacist/syntax-highlight.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/nerdsupremacist/SyntaxTree.git
[1/29] Fetching syntaxtree
Fetched https://github.com/nerdsupremacist/SyntaxTree.git (0.21s)
Computing version for https://github.com/nerdsupremacist/SyntaxTree.git
Computed https://github.com/nerdsupremacist/SyntaxTree.git at 0.1.0 (0.33s)
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 SyntaxTreeFactory.swift
[2/7] Emitting module SyntaxTree
[3/7] Compiling SyntaxTree SyntaxTree.swift
[4/7] Compiling SyntaxTree LineColumnIndex.swift
[5/7] Compiling SyntaxTree Location.swift
[6/7] Compiling SyntaxTree Kind.swift
[7/7] Compiling SyntaxTree MutableSyntaxTree.swift
[10/14] Compiling SyntaxHighlight Format.swift
[11/14] Emitting module SyntaxHighlight
[12/14] Compiling SyntaxHighlight Parser+highlight.swift
[13/14] Compiling SyntaxHighlight Parser+html.swift
[14/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)
^
[0/1] Planning build
Building for debugging...
warning: Will not do cross-module incremental builds, priors saved at TimePoint(seconds: 1701671204, nanoseconds: 0)), but the previous build started at TimePoint(seconds: 1701671204, nanoseconds: 356241000), at '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SyntaxHighlight.build/master.priors'
[1/5] Compiling SyntaxHighlight Format.swift
[2/5] Emitting module SyntaxHighlight
[3/5] Compiling SyntaxHighlight Parser+highlight.swift
[4/5] Compiling SyntaxHighlight Parser+html.swift
[5/5] 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)
^
BUILD FAILURE 5.8 linux