The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SRM, reference main (d01710), with Swift 6.1 for Android on 30 May 2025 06:27:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Maxim-Lanskoy/SRM.git
Reference: main
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/Maxim-Lanskoy/SRM
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d01710a Minor installation process fix.
Cloned https://github.com/Maxim-Lanskoy/SRM.git
Revision (git rev-parse @):
d01710ae60d554829a318c8743650418a039c763
SUCCESS checkout https://github.com/Maxim-Lanskoy/SRM.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Maxim-Lanskoy/SRM.git
https://github.com/Maxim-Lanskoy/SRM.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "shellout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Maxim-Lanskoy/ShellOut.git"
    },
    {
      "identity" : "cli-table-swift",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/heroesofcode/CLI-Table-Swift"
    }
  ],
  "manifest_display_name" : "SRM",
  "name" : "SRM",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "srm",
      "targets" : [
        "SRM"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Concatenator",
      "targets" : [
        "Concatenator"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SRM",
      "module_type" : "SwiftTarget",
      "name" : "SRM",
      "path" : "Sources/SRM",
      "product_dependencies" : [
        "ShellOut",
        "ArgumentParser",
        "CLITable"
      ],
      "product_memberships" : [
        "srm"
      ],
      "sources" : [
        "CLI/delete.swift",
        "CLI/destroy.swift",
        "CLI/list.swift",
        "CLI/logs.swift",
        "CLI/minotor.swift",
        "CLI/restart.swift",
        "CLI/setup.swift",
        "CLI/start.swift",
        "CLI/stop.swift",
        "Utils/ProcessManager.swift",
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Concatenator",
      "module_type" : "SwiftTarget",
      "name" : "Concatenator",
      "path" : "Sources/Concatenator",
      "product_memberships" : [
        "Concatenator"
      ],
      "sources" : [
        "FilesConcatenator.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/heroesofcode/CLI-Table-Swift
[1/174] Fetching cli-table-swift
Fetched https://github.com/heroesofcode/CLI-Table-Swift from cache (0.50s)
Fetching https://github.com/Maxim-Lanskoy/ShellOut.git
Fetching https://github.com/onevcat/Rainbow
[1/378] Fetching shellout
[330/1574] Fetching shellout, rainbow
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/Maxim-Lanskoy/ShellOut.git from cache (0.48s)
Fetched https://github.com/onevcat/Rainbow from cache (0.48s)
[1/15386] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.33s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.0.1 (5.38s)
Computing version for https://github.com/Maxim-Lanskoy/ShellOut.git
Computed https://github.com/Maxim-Lanskoy/ShellOut.git at 2.4.0 (0.93s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.99s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.0.1
Creating working copy for https://github.com/Maxim-Lanskoy/ShellOut.git
Working copy of https://github.com/Maxim-Lanskoy/ShellOut.git resolved at 2.4.0
Creating working copy for https://github.com/heroesofcode/CLI-Table-Swift
Working copy of https://github.com/heroesofcode/CLI-Table-Swift resolved at main (c64517e)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/20] Write sources
[8/20] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/37] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[11/38] Compiling Rainbow StringGenerator.swift
[12/38] Emitting module Concatenator
/host/spi-builder-workspace/Sources/Concatenator/FilesConcatenator.swift:25:16: warning: static property 'systemInstructions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |
 24 |     // Updated header structure
 25 |     static var systemInstructions = ""/*"""
    |                |- warning: static property 'systemInstructions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'systemInstructions' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'systemInstructions' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |     **System Instructions:**
 27 |     // Use the provided request and concatenated code to address the user's issue or implement new features.
/host/spi-builder-workspace/Sources/Concatenator/FilesConcatenator.swift:34:16: warning: static property 'requestHeader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 32 |     """*/
 33 |
 34 |     static var requestHeader = "**Request: \"-=-=-=-\".**\n\n"
    |                |- warning: static property 'requestHeader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'requestHeader' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'requestHeader' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 35 |
 36 |     static var additionalInfo = """
/host/spi-builder-workspace/Sources/Concatenator/FilesConcatenator.swift:36:16: warning: static property 'additionalInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 34 |     static var requestHeader = "**Request: \"-=-=-=-\".**\n\n"
 35 |
 36 |     static var additionalInfo = """
    |                |- warning: static property 'additionalInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'additionalInfo' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'additionalInfo' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     Hi! I'm making SRM (Swift Running Manager).
 38 |
/host/spi-builder-workspace/Sources/Concatenator/FilesConcatenator.swift:108:16: warning: static property 'swiftFilesAndContent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
106 |     """
107 |
108 |     static var swiftFilesAndContent = ""
    |                |- warning: static property 'swiftFilesAndContent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'swiftFilesAndContent' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'swiftFilesAndContent' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |
110 |     // Build the directory tree
[13/38] Compiling Rainbow String+Rainbow.swift
[14/38] Emitting module ArgumentParserToolInfo
[15/38] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/39] Compiling Rainbow Style.swift
[17/39] Emitting module ShellOut
[18/39] Wrapping AST for ArgumentParserToolInfo for debugging
[20/77] Emitting module ArgumentParser
[21/82] Compiling ArgumentParser OptionGroup.swift
[22/82] Compiling ArgumentParser AsyncParsableCommand.swift
[23/82] Compiling ArgumentParser CommandConfiguration.swift
[24/82] Compiling ArgumentParser CommandGroup.swift
[25/82] Compiling ArgumentParser EnumerableFlag.swift
[26/82] Compiling ArgumentParser CollectionExtensions.swift
[27/82] Compiling ArgumentParser Platform.swift
[28/82] Compiling ArgumentParser SequenceExtensions.swift
[29/82] Compiling ArgumentParser StringExtensions.swift
[30/82] Compiling ArgumentParser Tree.swift
[31/82] Compiling ArgumentParser Argument.swift
[32/82] Compiling ArgumentParser ArgumentHelp.swift
[33/82] Compiling ArgumentParser FishCompletionsGenerator.swift
[34/82] Compiling ArgumentParser ZshCompletionsGenerator.swift
[35/82] Compiling ArgumentParser BashCompletionsGenerator.swift
[36/82] Compiling ArgumentParser CompletionsGenerator.swift
[37/82] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[38/82] Compiling Rainbow Rainbow.swift
[39/82] Compiling Concatenator FilesConcatenator.swift
/host/spi-builder-workspace/Sources/Concatenator/FilesConcatenator.swift:25:16: warning: static property 'systemInstructions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |
 24 |     // Updated header structure
 25 |     static var systemInstructions = ""/*"""
    |                |- warning: static property 'systemInstructions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'systemInstructions' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'systemInstructions' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |     **System Instructions:**
 27 |     // Use the provided request and concatenated code to address the user's issue or implement new features.
/host/spi-builder-workspace/Sources/Concatenator/FilesConcatenator.swift:34:16: warning: static property 'requestHeader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 32 |     """*/
 33 |
 34 |     static var requestHeader = "**Request: \"-=-=-=-\".**\n\n"
    |                |- warning: static property 'requestHeader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'requestHeader' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'requestHeader' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 35 |
 36 |     static var additionalInfo = """
/host/spi-builder-workspace/Sources/Concatenator/FilesConcatenator.swift:36:16: warning: static property 'additionalInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 34 |     static var requestHeader = "**Request: \"-=-=-=-\".**\n\n"
 35 |
 36 |     static var additionalInfo = """
    |                |- warning: static property 'additionalInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'additionalInfo' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'additionalInfo' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |     Hi! I'm making SRM (Swift Running Manager).
 38 |
/host/spi-builder-workspace/Sources/Concatenator/FilesConcatenator.swift:108:16: warning: static property 'swiftFilesAndContent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
106 |     """
107 |
108 |     static var swiftFilesAndContent = ""
    |                |- warning: static property 'swiftFilesAndContent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'swiftFilesAndContent' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'swiftFilesAndContent' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |
110 |     // Build the directory tree
[40/83] Compiling ShellOut ShellOut.swift
[41/84] Compiling ArgumentParser ExpressibleByArgument.swift
[42/84] Compiling ArgumentParser ParsableArguments.swift
[43/84] Compiling ArgumentParser ParsableArgumentsValidation.swift
[44/84] Compiling ArgumentParser ParsableCommand.swift
[45/84] Compiling ArgumentParser ArgumentDecoder.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/30] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[4/31] Compiling Rainbow StringGenerator.swift
[5/31] Compiling Rainbow ControlCode.swift
[6/31] Compiling Rainbow ModesExtractor.swift
[7/31] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[8/31] Emitting module Concatenator
[9/31] Compiling Concatenator FilesConcatenator.swift
[10/32] Emitting module ShellOut
[11/32] Compiling ShellOut ShellOut.swift
[12/33] Compiling Rainbow String+Rainbow.swift
[13/33] Compiling Rainbow Style.swift
[14/33] Compiling Rainbow Rainbow.swift
[17/33] Compiling Rainbow BackgroundColor.swift
[18/33] Compiling Rainbow CodesParser.swift
[19/33] Compiling Rainbow Color.swift
[20/33] Compiling Rainbow ColorApproximation.swift
[20/33] Wrapping AST for ShellOut for debugging
[21/33] Emitting module ArgumentParserToolInfo
[21/33] Wrapping AST for Concatenator for debugging
BUILD FAILURE 6.1 android