The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AttributedTextUI with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/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/Everything-as-UI/AttributedTextUI.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/Everything-as-UI/AttributedTextUI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2ffc808 Last changes.
Cloned https://github.com/Everything-as-UI/AttributedTextUI.git
Revision (git rev-parse @):
2ffc808e262861d7716083ddadca67a03e610950
SUCCESS checkout https://github.com/Everything-as-UI/AttributedTextUI.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Everything-as-UI/AttributedTextUI.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Everything-as-UI/DocumentUI.git
[1/52] Fetching documentui
Fetched https://github.com/Everything-as-UI/DocumentUI.git from cache (0.22s)
Fetching https://github.com/Everything-as-UI/CoreUI.git
[1/24] Fetching coreui
Fetched https://github.com/Everything-as-UI/CoreUI.git from cache (0.20s)
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 (8bb66a2)
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 (77fe58c)
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/7] Emitting module CoreUI
[7/7] Compiling CoreUI CoreUI.swift
[9/10] Emitting module CommonUI
[10/10] Compiling CommonUI CommonUI.swift
[12/19] Compiling DocumentUI TextDocument.swift
[13/19] Compiling DocumentUI Joined.swift
[14/19] Compiling DocumentUI TextDocumentBuilders.swift
[15/19] Compiling DocumentUI TupleDocument.swift
[16/19] Compiling DocumentUI Modifiers.swift
[17/19] Compiling DocumentUI DocumentUI.swift
[18/19] Emitting module DocumentUI
[19/19] Compiling DocumentUI AnyTextDocument.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/23] Compiling AttributedTextUI AttributedTextBuilders.swift
[22/23] 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 {
                                                                            ^~~~~~~~~~~~~~~~~~~~~~~
[23/23] 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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] 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 {
                                                                            ^~~~~~~~~~~~~~~~~~~~~~~
[3/3] 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.10 linux

Build Machine: Linux 1