Build Information
Failed to build RichString with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.25.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/svdo/swift-RichString.git
Reference: 2.2.1
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
* tag 2.2.1 -> FETCH_HEAD
HEAD is now at 8634ca3 Updates jazzy
Cloned https://github.com/svdo/swift-RichString.git
Revision (git rev-parse @):
8634ca31b00110f108eb121ea372bc4c8531dc27
SUCCESS checkout https://github.com/svdo/swift-RichString.git at 2.2.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
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.9-latest swift build 2>&1
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/14041] Fetching quick
[14042/30774] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git (1.89s)
Fetched https://github.com/Quick/Nimble.git (1.90s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.2.0 (0.48s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.4 (0.41s)
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/iOS': File not found.
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/RichStringTests/RichStringTests/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/watchOS': File not found.
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/7] Emitting module RichString
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
import AppKit
^
[2/7] Compiling RichString String+Rich.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
import AppKit
^
[3/7] Compiling RichString RichString.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
import AppKit
^
[4/7] Compiling RichString NSAttributedStringOperators.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
import AppKit
^
[5/7] Compiling RichString Color_PlatformDependent.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
import AppKit
^
[6/7] Compiling RichString NSAttributedString+Rich.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
import AppKit
^
[7/7] Compiling RichString Font_PlatformDependent.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
import AppKit
^
error: fatalError
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/RichString/RichString/watchOS': File not found.
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/RichStringTests/RichStringTests/iOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichStringTests/RichStringTests/watchOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichStringTests/RichStringTests/tvOS': File not found.
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/7] Emitting module RichString
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
import AppKit
^
[2/7] Compiling RichString Color_PlatformDependent.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
import AppKit
^
[3/7] Compiling RichString Font_PlatformDependent.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
import AppKit
^
[4/7] Compiling RichString String+Rich.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
import AppKit
^
[5/7] Compiling RichString RichString.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
import AppKit
^
[6/7] Compiling RichString NSAttributedString+Rich.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
import AppKit
^
[7/7] Compiling RichString NSAttributedStringOperators.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
import AppKit
^
error: fatalError
BUILD FAILURE 5.9 linux