The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build RPG-card-generator, reference master (e852b6), with Swift 6.0 for Linux on 31 Oct 2024 22:59:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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:             6.0
Building package at path:  $PWD
https://github.com/Samasaur1/RPG-card-generator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/JohnSundell/Files
[1/1231] Fetching files
[235/2357] Fetching files, rainbow
Fetched https://github.com/JohnSundell/Files from cache (0.26s)
Fetched https://github.com/onevcat/Rainbow from cache (0.26s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 2.3.0 (0.43s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.45s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 2.3.0
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/22] Compiling Rainbow StringGenerator.swift
[6/23] Compiling Rainbow Style.swift
[7/23] Compiling Rainbow XcodeColorsSupport.swift
[8/23] Compiling Rainbow String+Rainbow.swift
[9/23] Emitting module Rainbow
[10/23] Compiling Rainbow Rainbow.swift
[11/23] Compiling Rainbow Color.swift
[12/23] Compiling Rainbow ControlCode.swift
[13/23] Compiling Rainbow BackgroundColor.swift
[14/23] Compiling Rainbow CodesParser.swift
[15/23] Compiling Rainbow ModesExtractor.swift
[16/23] Compiling Rainbow OutputTarget.swift
[18/24] Compiling Files Files.swift
[19/24] Emitting module Files
[19/24] Wrapping AST for Rainbow for debugging
[21/27] 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'
  2 | import Files
  3 | import Rainbow
  4 | import AppKit
    |        `- error: no such module 'AppKit'
  5 |
  6 | extension String {
[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'
  2 | import Files
  3 | import Rainbow
  4 | import AppKit
    |        `- error: no such module 'AppKit'
  5 |
  6 | extension String {
BUILD FAILURE 6.0 linux