The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RPG-card-generator 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/Samasaur1/RPG-card-generator.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/Samasaur1/RPG-card-generator
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e852b6d Update RPGSTDLIB with four more spells
Cloned https://github.com/Samasaur1/RPG-card-generator.git
Revision (git rev-parse @):
e852b6d565d973f82d3d3e46eb9dbcbc949b95e8
SUCCESS checkout https://github.com/Samasaur1/RPG-card-generator.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Samasaur1/RPG-card-generator.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/onevcat/Rainbow
Fetching https://github.com/JohnSundell/Files
[1/1114] Fetching rainbow
[1115/2345] Fetching rainbow, files
Fetched https://github.com/onevcat/Rainbow from cache (0.30s)
Fetched https://github.com/JohnSundell/Files from cache (0.30s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.4 (0.65s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 2.2.1 (0.79s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.1.4
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 2.2.1
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/22] Emitting module Files
[6/22] Emitting module Rainbow
[7/23] Compiling Rainbow String+Rainbow.swift
[8/23] Compiling Rainbow BackgroundColor.swift
[9/23] Compiling Rainbow CodesParser.swift
[10/23] Compiling Rainbow Style.swift
[11/23] Compiling Rainbow XcodeColorsSupport.swift
[12/23] Compiling Rainbow StringGenerator.swift
[13/23] Compiling Rainbow Color.swift
[14/23] Compiling Rainbow ControlCode.swift
[15/23] Compiling Rainbow ModesExtractor.swift
[16/23] Compiling Rainbow OutputTarget.swift
[17/23] Compiling Rainbow Rainbow.swift
[18/24] Wrapping AST for Rainbow for debugging
[20/24] Compiling Files Files.swift
[21/25] Wrapping AST for Files for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/27] Emitting module RPG_card_generator
/host/spi-builder-workspace/Sources/RPG-card-generator/main.swift:4:8: error: no such module 'AppKit'
import AppKit
       ^
[24/27] Compiling RPG_card_generator main.swift
/host/spi-builder-workspace/Sources/RPG-card-generator/main.swift:4:8: error: no such module 'AppKit'
import AppKit
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/6] Emitting module RPG_card_generator
/host/spi-builder-workspace/Sources/RPG-card-generator/main.swift:4:8: error: no such module 'AppKit'
import AppKit
       ^
[3/6] Compiling RPG_card_generator main.swift
/host/spi-builder-workspace/Sources/RPG-card-generator/main.swift:4:8: error: no such module 'AppKit'
import AppKit
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2