The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RichString with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-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/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.10
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-5.10-latest swift build 2>&1
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/14209] Fetching quick
[14210/31500] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.90s)
Fetched https://github.com/Quick/Nimble.git from cache (1.92s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.2.0 (0.68s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.4 (0.62s)
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/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.
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling RichString Font_PlatformDependent.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)
[4/9] Emitting module RichString
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
    import AppKit
           ^
[5/9] Compiling RichString Color_PlatformDependent.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
    import AppKit
           ^
[6/9] Compiling RichString NSAttributedStringOperators.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
    import AppKit
           ^
[7/9] Compiling RichString NSAttributedString+Rich.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
    import AppKit
           ^
[8/9] Compiling RichString String+Rich.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
    import AppKit
           ^
[9/9] 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/tvOS': 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/watchOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichStringTests/RichStringTests/iOS': File not found.
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling RichString NSAttributedStringOperators.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
    import AppKit
           ^
[3/8] Compiling RichString RichString.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
    import AppKit
           ^
[4/8] 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)
[5/8] Emitting module RichString
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
    import AppKit
           ^
[6/8] Compiling RichString Color_PlatformDependent.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
    import AppKit
           ^
[7/8] Compiling RichString Font_PlatformDependent.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
    import AppKit
           ^
[8/8] Compiling RichString NSAttributedString+Rich.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
    import AppKit
           ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2