The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RPG-card-generator with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Samasaur1/RPG-card-generator.git
Reference: v0.6.0
Cloned https://github.com/Samasaur1/RPG-card-generator.git into spi-builder-workspace
SUCCESS checkout https://github.com/Samasaur1/RPG-card-generator.git at v0.6.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/JohnSundell/Files
[1/1231] Fetching files
[235/2341] Fetching files, rainbow
Fetched https://github.com/onevcat/Rainbow (0.27s)
Fetched https://github.com/JohnSundell/Files (0.27s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.4 (0.31s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 2.2.1 (0.32s)
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...
[1/17] Compiling Rainbow Style.swift
[2/18] Compiling Rainbow StringGenerator.swift
[3/18] Compiling Rainbow BackgroundColor.swift
[4/18] Compiling Rainbow CodesParser.swift
[5/18] Compiling Rainbow String+Rainbow.swift
[6/18] Compiling Rainbow XcodeColorsSupport.swift
[7/18] Compiling Rainbow ModesExtractor.swift
[8/18] Compiling Rainbow OutputTarget.swift
[9/18] Compiling Rainbow Color.swift
[10/18] Compiling Rainbow ControlCode.swift
[11/18] Emitting module Rainbow
[12/18] Compiling Rainbow Rainbow.swift
[14/20] Wrapping AST for Rainbow for debugging
[16/20] Compiling Files Files.swift
[17/20] Emitting module Files
[19/22] Wrapping AST for Files for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/24] Emitting module RPG_card_generator
/host/spi-builder-workspace/Sources/RPG-card-generator/main.swift:4:8: error: no such module 'AppKit'
import AppKit
       ^
[22/24] 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.9 linux

Build Machine: Linux 2