Build Information
Failed to build RichString with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/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: 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: 5.9
Building package at path: $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/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
Fetched https://github.com/Quick/Quick.git (0.60s)
[1/16733] Fetching nimble
Fetched https://github.com/Quick/Nimble.git (1.44s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.2.0 (0.37s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.4 (0.36s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.2.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.4
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...
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 Font_PlatformDependent.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
import AppKit
^
[3/7] Compiling RichString NSAttributedStringOperators.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
import AppKit
^
[4/7] Compiling RichString Color_PlatformDependent.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
import AppKit
^
[5/7] Compiling RichString String+Rich.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 RichString.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/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/RichString/RichString/tvOS': 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/iOS': 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...
[1/7] Compiling RichString RichString.swift
/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
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/7] Emitting module RichString
/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
BUILD FAILURE 5.9 linux