The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Terminus, reference 0.1.2 (7c5c57), with Swift 6.2 for Linux on 20 Jun 2025 00:21:04 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jbadger3/Terminus.git
Reference: 0.1.2
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/jbadger3/Terminus
 * tag               0.1.2      -> FETCH_HEAD
HEAD is now at 7c5c573 Merge pull request #4 from jbadger3/issue_3
Cloned https://github.com/jbadger3/Terminus.git
Revision (git rev-parse @):
7c5c57397ef0234b4e39bb6a77122672b385ef8a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jbadger3/Terminus.git at 0.1.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/jbadger3/Terminus.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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-argument-parser.git
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.20s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (2.67s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/12] Write sources
[5/12] Write swift-version-24593BA9C3E375BF.txt
[7/31] Emitting module ArgumentParserToolInfo
[8/31] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/32] Wrapping AST for ArgumentParserToolInfo for debugging
[11/70] Emitting module ArgumentParser
[12/75] Compiling ArgumentParser OptionGroup.swift
[13/75] Compiling ArgumentParser AsyncParsableCommand.swift
[14/77] Compiling ArgumentParser ZshCompletionsGenerator.swift
[15/77] Compiling ArgumentParser Argument.swift
[16/77] Compiling ArgumentParser ArgumentHelp.swift
[17/77] Compiling ArgumentParser Errors.swift
[18/77] Compiling ArgumentParser Flag.swift
[19/77] Compiling ArgumentParser CommandConfiguration.swift
[20/77] Compiling ArgumentParser CommandGroup.swift
[21/77] Compiling ArgumentParser NameSpecification.swift
[22/77] Compiling ArgumentParser Option.swift
[23/77] Emitting module Terminus
[24/77] Compiling ArgumentParser BashCompletionsGenerator.swift
[25/77] Compiling ArgumentParser CompletionsGenerator.swift
[26/77] Compiling ArgumentParser FishCompletionsGenerator.swift
[27/77] Compiling ArgumentParser ArgumentVisibility.swift
[28/77] Compiling ArgumentParser CompletionKind.swift
[45/77] Compiling Terminus LineEditor.swift
[46/77] Compiling ArgumentParser CollectionExtensions.swift
[47/77] Compiling ArgumentParser Platform.swift
[48/77] Compiling ArgumentParser SequenceExtensions.swift
[49/77] Compiling ArgumentParser StringExtensions.swift
[50/77] Compiling ArgumentParser Tree.swift
[52/77] Compiling Terminus Menu.swift
[54/78] Compiling ArgumentParser DumpHelpGenerator.swift
[55/78] Compiling ArgumentParser HelpCommand.swift
[56/78] Compiling ArgumentParser HelpGenerator.swift
[57/78] Compiling ArgumentParser MessageInfo.swift
[58/78] Compiling ArgumentParser UsageGenerator.swift
[59/78] Compiling ArgumentParser ExpressibleByArgument.swift
[60/78] Compiling ArgumentParser ParsableArguments.swift
[61/78] Compiling ArgumentParser ParsableArgumentsValidation.swift
[62/78] Compiling ArgumentParser ParsableCommand.swift
[63/78] Compiling ArgumentParser ArgumentDecoder.swift
[65/78] Compiling ArgumentParser Parsed.swift
[66/78] Compiling ArgumentParser ParsedValues.swift
[67/78] Compiling ArgumentParser ParserError.swift
[68/78] Compiling ArgumentParser SplitArguments.swift
[69/78] Compiling ArgumentParser ArgumentDefinition.swift
[70/78] Compiling ArgumentParser ArgumentSet.swift
[71/78] Compiling ArgumentParser CommandParser.swift
[72/78] Compiling ArgumentParser InputKey.swift
[73/78] Compiling ArgumentParser InputOrigin.swift
[73/78] Wrapping AST for Terminus for debugging
[75/79] Wrapping AST for ArgumentParser for debugging
[77/87] Compiling TerminusTestApp VisualTest.swift
[78/88] Compiling TerminusTestApp TestLogger.swift
[79/88] Compiling TerminusTestApp TestCase.swift
[80/88] Compiling TerminusTestApp TestAssertions.swift
[81/88] Emitting module TerminusTestApp
[82/88] Compiling TerminusTestApp TerminalTests.swift
[83/88] Compiling TerminusTestApp CursorTests.swift
/host/spi-builder-workspace/Sources/TerminusTestApp/Tests/CursorTests.swift:48:30: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
 46 |     func saveCursorPosition() {
 47 |         var saveCS = Esc + "7"
 48 |         write(STDOUT_FILENO, &saveCS, saveCS.lengthOfBytes(using: .utf8))
    |                              `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
 49 |     }
 50 |
/host/spi-builder-workspace/Sources/TerminusTestApp/Tests/CursorTests.swift:53:30: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
 51 |     func restoreCursorPosition() {
 52 |         var restoreCS = Esc + "8"
 53 |         write(STDOUT_FILENO, &restoreCS, restoreCS.lengthOfBytes(using: .utf8))
    |                              `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
 54 |     }
 55 |
/host/spi-builder-workspace/Sources/TerminusTestApp/Tests/CursorTests.swift:59:31: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
 57 |         saveCursorPosition()
 58 |         var locationString = CSI + "3;2H"
 59 |         write(STDOUT_FILENO , &locationString, locationString.lengthOfBytes(using: .utf8))
    |                               `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
 60 |         let expectedLocation = Location(x: 2, y: 3)
 61 |         let cursorLocation = sut.location
[84/88] Compiling TerminusTestApp MenuTests.swift
[85/88] Compiling TerminusTestApp main.swift
/host/spi-builder-workspace/Sources/TerminusTestApp/main.swift:80:21: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 78 |
 79 |         let fileManager = FileManager.default
 80 |         fileManager.createFile(atPath: logFile, contents: nil)
    |                     `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 81 |         let fileHandle = FileHandle(forWritingAtPath: logFile)
 82 |         let testLogger = TestLogger.shared
[86/89] Wrapping AST for TerminusTestApp for debugging
[87/89] Write Objects.LinkFileList
[88/89] Linking TerminusTest
Build complete! (22.47s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "Terminus",
  "name" : "Terminus",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Terminus",
      "targets" : [
        "Terminus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TerminusTest",
      "targets" : [
        "TerminusTestApp"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TerminusTests",
      "module_type" : "SwiftTarget",
      "name" : "TerminusTests",
      "path" : "Tests/TerminusTests",
      "sources" : [
        "CursorTests.swift",
        "MockTerminalIO.swift",
        "TerminalTests.swift",
        "TermiosTests.swift"
      ],
      "target_dependencies" : [
        "Terminus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TerminusTestApp",
      "module_type" : "SwiftTarget",
      "name" : "TerminusTestApp",
      "path" : "Sources/TerminusTestApp",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "TerminusTest"
      ],
      "sources" : [
        "TestAssertions.swift",
        "TestCase.swift",
        "TestLogger.swift",
        "Tests/CursorTests.swift",
        "Tests/MenuTests.swift",
        "Tests/TerminalTests.swift",
        "VisualTest.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Terminus"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Terminus",
      "module_type" : "SwiftTarget",
      "name" : "Terminus",
      "path" : "Sources/Terminus",
      "product_memberships" : [
        "Terminus",
        "TerminusTest"
      ],
      "sources" : [
        "Core/ANSIEscapeCode.swift",
        "Core/Attribute.swift",
        "Core/AttributeScopes+Terminal.swift",
        "Core/Color/Color.swift",
        "Core/Color/ColorPair.swift",
        "Core/Color/ColorPalette.swift",
        "Core/Color/Palettes/BasicColorPalette.swift",
        "Core/Color/Palettes/X11WebPalette.swift",
        "Core/Color/Palettes/XTermPalette.swift",
        "Core/Cursor.swift",
        "Core/Key.swift",
        "Core/KeyTypes.swift",
        "Core/Location.swift",
        "Core/String+strippingCSI.swift",
        "Core/Terminal.swift",
        "Core/Termios.swift",
        "UIControls/LineEditor.swift",
        "UIControls/Menu.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.