The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SRM, reference 0.0.6 (d01710), with Swift 6.1 for Android on 30 May 2025 06:28:44 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: 0.0.6
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
 * tag               0.0.6      -> FETCH_HEAD
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 0.0.6
========================================
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.53s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/Maxim-Lanskoy/ShellOut.git
Fetching https://github.com/onevcat/Rainbow
[1/378] Fetching shellout
[379/1574] Fetching shellout, rainbow
Fetched https://github.com/Maxim-Lanskoy/ShellOut.git from cache (0.49s)
Fetched https://github.com/onevcat/Rainbow from cache (0.50s)
[1/15386] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.42s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.0.1 (4.97s)
Computing version for https://github.com/Maxim-Lanskoy/ShellOut.git
Computed https://github.com/Maxim-Lanskoy/ShellOut.git at 2.4.0 (0.97s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.13s)
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
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.0.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/37] Compiling Rainbow BackgroundColor.swift
[12/37] Compiling Rainbow CodesParser.swift
[13/38] Compiling Rainbow StringGenerator.swift
[14/38] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/38] Emitting module ArgumentParserToolInfo
[17/39] Compiling Rainbow String+Rainbow.swift
[17/39] Wrapping AST for ArgumentParserToolInfo for debugging
[19/39] Compiling Rainbow Style.swift
[20/77] Compiling ArgumentParser OptionGroup.swift
[21/77] Compiling ArgumentParser AsyncParsableCommand.swift
[22/77] Compiling ArgumentParser CommandConfiguration.swift
[23/77] Compiling ArgumentParser CommandGroup.swift
[24/77] Compiling ArgumentParser EnumerableFlag.swift
[25/82] Emitting module ArgumentParser
[26/82] Compiling ArgumentParser ArgumentVisibility.swift
[27/82] Compiling ArgumentParser CompletionKind.swift
[28/82] Compiling ArgumentParser Errors.swift
[29/82] Compiling ArgumentParser Flag.swift
[30/82] Compiling ArgumentParser NameSpecification.swift
[31/82] Compiling ArgumentParser Option.swift
[32/82] Compiling ArgumentParser BashCompletionsGenerator.swift
[33/82] Compiling ArgumentParser CompletionsGenerator.swift
[34/82] Compiling ArgumentParser FishCompletionsGenerator.swift
[35/82] Compiling ArgumentParser ZshCompletionsGenerator.swift
[36/82] Compiling ArgumentParser Argument.swift
[37/82] Compiling ArgumentParser ArgumentHelp.swift
[38/82] Compiling ArgumentParser CollectionExtensions.swift
[39/82] Compiling ArgumentParser Platform.swift
[40/82] Compiling ArgumentParser SequenceExtensions.swift
[41/82] Compiling ArgumentParser StringExtensions.swift
[42/82] Compiling ArgumentParser Tree.swift
[43/82] Compiling ShellOut ShellOut.swift
[44/82] Emitting module ShellOut
[48/83] Compiling Rainbow Rainbow.swift
[49/83] 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 |         }
[50/83] 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
[51/83] 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
[54/84] Compiling ArgumentParser ExpressibleByArgument.swift
[55/84] Compiling ArgumentParser ParsableArguments.swift
[56/84] Compiling ArgumentParser ParsableArgumentsValidation.swift
[57/84] Compiling ArgumentParser ParsableCommand.swift
[58/84] Compiling ArgumentParser ArgumentDecoder.swift
[58/84] Wrapping AST for ShellOut for debugging
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] Compiling Rainbow BackgroundColor.swift
[4/30] Compiling Rainbow CodesParser.swift
[5/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 |         }
[6/31] Compiling Rainbow StringGenerator.swift
[7/31] Emitting module Concatenator
[8/31] Compiling Concatenator FilesConcatenator.swift
[9/32] Compiling Rainbow Style.swift
[10/32] Compiling Rainbow Rainbow.swift
[11/32] Compiling Rainbow ControlCode.swift
[12/32] Compiling Rainbow ModesExtractor.swift
[13/32] Compiling Rainbow String+Rainbow.swift
[14/32] 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 |         }
[16/32] Emitting module ShellOut
[17/32] Compiling ShellOut ShellOut.swift
[18/33] Wrapping AST for Concatenator for debugging
[19/33] Write Objects.LinkFileList
[21/33] Compiling ArgumentParserToolInfo ToolInfo.swift
[22/33] Emitting module ArgumentParserToolInfo
[23/34] Compiling Rainbow Color.swift
[24/34] Compiling Rainbow ColorApproximation.swift
[24/34] Wrapping AST for ShellOut for debugging
[24/34] Linking Concatenator
BUILD FAILURE 6.1 android