Build Information
Failed to build AttributedTextUI 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/Everything-as-UI/AttributedTextUI.git
Reference: main
Cloned https://github.com/Everything-as-UI/AttributedTextUI.git into spi-builder-workspace
SUCCESS checkout https://github.com/Everything-as-UI/AttributedTextUI.git at main
========================================
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/Everything-as-UI/DocumentUI.git
Fetched https://github.com/Everything-as-UI/DocumentUI.git (0.23s)
Fetching https://github.com/Everything-as-UI/CoreUI.git
Fetched https://github.com/Everything-as-UI/CoreUI.git (0.18s)
Creating working copy for https://github.com/Everything-as-UI/DocumentUI.git
Working copy of https://github.com/Everything-as-UI/DocumentUI.git resolved at main
Creating working copy for https://github.com/Everything-as-UI/CoreUI.git
Working copy of https://github.com/Everything-as-UI/CoreUI.git resolved at main
Building for debugging...
[1/2] Emitting module CoreUI
[2/2] Compiling CoreUI CoreUI.swift
[5/6] Compiling CommonUI CommonUI.swift
[6/6] Emitting module CommonUI
[9/11] Compiling DocumentUI TextDocumentBuilders.swift
[10/11] Emitting module DocumentUI
[11/11] Compiling DocumentUI DocumentUI.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/16] Compiling AttributedTextUI AttributedTextBuilders.swift
[15/16] Emitting module AttributedTextUI
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:500:77: error: cannot find type 'NSMutableParagraphStyle' in scope
extension AttributedText where AttributedTextInterpolation.ModifyContent == NSMutableParagraphStyle {
^~~~~~~~~~~~~~~~~~~~~~~
[16/16] Compiling AttributedTextUI AttributedText.swift
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:500:77: error: cannot find type 'NSMutableParagraphStyle' in scope
extension AttributedText where AttributedTextInterpolation.ModifyContent == NSMutableParagraphStyle {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:295:49: error: missing argument for parameter 'string' in call
let aString = NSMutableAttributedString()
^
string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
override public init(string: String)
^
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:324:19: error: type 'AttributedContent.NestedContent' has no member 'image'
case .image: continue
~^~~~~
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:332:19: error: type 'NSAttributedString.Key' has no member 'backgroundColor'
case .backgroundColor: append("\\u{1b}[41m")
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:333:19: error: type 'NSAttributedString.Key' has no member 'foregroundColor'
case .foregroundColor: append("\\u{1b}[33m")
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:334:19: error: type 'NSAttributedString.Key' has no member 'underlineStyle'
case .underlineStyle: append("\\u{1b}[4m")
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:335:19: error: type 'NSAttributedString.Key' has no member 'strikethroughStyle'
case .strikethroughStyle: append("\\u{1b}[9m")
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:336:19: error: type 'NSAttributedString.Key' has no member 'font'
case .font: append("\\u{1b}[1m")
~^~~~
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:337:19: error: type 'NSAttributedString.Key' has no member 'textEffect'
case .textEffect: append("\\u{1b}[5m")
~^~~~~~~~~~
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:338:19: error: type 'NSAttributedString.Key' has no member 'shadow'
case .shadow: append("\\u{1b}[2m")
~^~~~~~
error: fatalError
BUILD FAILURE 5.9 linux
Build Machine: Linux 2