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.1 for Linux on 25 Apr 2025 18:38:39 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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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.1
Building package at path:  $PWD
https://github.com/Samasaur1/RPG-card-generator.git
https://github.com/Samasaur1/RPG-card-generator.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "files",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/Files"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.4",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    }
  ],
  "manifest_display_name" : "RPG-card-generator",
  "name" : "RPG-card-generator",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "RPGCardGenerator",
      "targets" : [
        "RPG-card-generator"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RPG_card_generator",
      "module_type" : "SwiftTarget",
      "name" : "RPG-card-generator",
      "path" : "Sources/RPG-card-generator",
      "product_dependencies" : [
        "Files",
        "Rainbow"
      ],
      "product_memberships" : [
        "RPGCardGenerator"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/JohnSundell/Files
[1/1236] Fetching files
[1237/2432] Fetching files, rainbow
Fetched https://github.com/JohnSundell/Files from cache (0.21s)
Fetched https://github.com/onevcat/Rainbow from cache (0.22s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 2.3.0 (0.67s)
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/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 2.3.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/22] Compiling Rainbow Style.swift
[6/23] Compiling Rainbow StringGenerator.swift
[7/23] Compiling Rainbow String+Rainbow.swift
[8/23] Compiling Rainbow XcodeColorsSupport.swift
[9/23] Compiling Rainbow BackgroundColor.swift
[10/23] Compiling Rainbow CodesParser.swift
[11/23] Emitting module Rainbow
[12/23] Compiling Rainbow Color.swift
[13/23] Compiling Rainbow ControlCode.swift
[14/23] Emitting module Files
[15/23] Compiling Files Files.swift
[16/24] Compiling Rainbow ModesExtractor.swift
[17/24] Compiling Rainbow OutputTarget.swift
[18/24] Compiling Rainbow Rainbow.swift
[20/25] Wrapping AST for Files for debugging
[21/25] Wrapping AST for Rainbow 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 {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
[2/19] Compiling Rainbow Style.swift
[3/20] Compiling Rainbow String+Rainbow.swift
[4/20] Compiling Rainbow Rainbow.swift
[5/20] Compiling Rainbow Color.swift
[6/20] Compiling Rainbow ControlCode.swift
[7/20] Emitting module Rainbow
[8/20] Compiling Rainbow ModesExtractor.swift
[9/20] Compiling Rainbow OutputTarget.swift
[10/20] Compiling Rainbow BackgroundColor.swift
[11/20] Compiling Rainbow CodesParser.swift
[12/20] Compiling Rainbow StringGenerator.swift
[13/20] Compiling Rainbow XcodeColorsSupport.swift
[15/21] Emitting module Files
[16/21] Compiling Files Files.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/22] 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 {
[19/22] 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.1 linux