Build Information
Failed to build RichString with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/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/svdo/swift-RichString.git
Reference: master
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/svdo/swift-RichString
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a0b6e52 Update gems
Cloned https://github.com/svdo/swift-RichString.git
Revision (git rev-parse @):
a0b6e5250d3d77f7aa7ab7e411f1ae4f65c39b08
SUCCESS checkout https://github.com/svdo/swift-RichString.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/svdo/swift-RichString.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/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/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/14549] Fetching quick
[14550/33189] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.66s)
Fetched https://github.com/Quick/Nimble.git from cache (1.68s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.2.0 (0.52s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.4 (0.50s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.4
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.2.0
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichString/RichString/tvOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichString/RichString/watchOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichString/RichString/iOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichStringTests/RichStringTests/tvOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichStringTests/RichStringTests/iOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichStringTests/RichStringTests/watchOS': File not found.
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/9] Emitting module RichString
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
4 |
5 | #if SWIFT_PACKAGE || os(macOS)
6 | import AppKit
| `- error: no such module 'AppKit'
7 | #else
8 | import UIKit
[4/9] Compiling RichString Color_PlatformDependent.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
4 |
5 | #if SWIFT_PACKAGE || os(macOS)
6 | import AppKit
| `- error: no such module 'AppKit'
7 | #else
8 | import UIKit
[5/9] Compiling RichString Font_PlatformDependent.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
4 |
5 | #if SWIFT_PACKAGE || os(macOS)
6 | import AppKit
| `- error: no such module 'AppKit'
7 | #else
8 | import UIKit
[6/9] Compiling RichString NSAttributedString+Rich.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
4 |
5 | #if SWIFT_PACKAGE || os(macOS)
6 | import AppKit
| `- error: no such module 'AppKit'
7 | #else
8 | import UIKit
[7/9] Compiling RichString NSAttributedStringOperators.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
4 |
5 | #if SWIFT_PACKAGE || os(macOS)
6 | import AppKit
| `- error: no such module 'AppKit'
7 | #else
8 | import UIKit
[8/9] Compiling RichString String+Rich.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
4 |
5 | #if SWIFT_PACKAGE || os(macOS)
6 | import AppKit
| `- error: no such module 'AppKit'
7 | #else
8 | import UIKit
[9/9] Compiling RichString RichString.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
4 |
5 | #if SWIFT_PACKAGE || os(macOS)
6 | import AppKit
| `- error: no such module 'AppKit'
7 | #else
8 | import UIKit
BUILD FAILURE 6.0 linux