This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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

Successful build of ANSIEscapeCode with Swift 6.0 for Linux.

Swift 6 data race errors: 0

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/flintprocessor/ANSIEscapeCode.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/flintprocessor/ANSIEscapeCode
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 892f5f3 Merge branch 'develop'
Cloned https://github.com/flintprocessor/ANSIEscapeCode.git
Revision (git rev-parse @):
892f5f3067ea4c029af05cb45efb3b6a3be2f838
SUCCESS checkout https://github.com/flintprocessor/ANSIEscapeCode.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/flintprocessor/ANSIEscapeCode.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/17] Compiling ANSIEscapeCode String+ANSIEscapeCode.swift
/host/spi-builder-workspace/Sources/ANSIEscapeCode/String+ANSIEscapeCode.swift:32:5: warning: 'public' modifier is redundant for property declared in a public extension
 30 |
 31 |     /// Set text bold on terminal.
 32 |     public var boldOutput: String {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 33 |         return ANSIEscapeCode.Decoration.bold
 34 |             + self + ANSIEscapeCode.Decoration.reset
/host/spi-builder-workspace/Sources/ANSIEscapeCode/String+ANSIEscapeCode.swift:38:5: warning: 'public' modifier is redundant for property declared in a public extension
 36 |
 37 |     /// Set text italic on terminal.
 38 |     public var italicOutput: String {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 39 |         return ANSIEscapeCode.Decoration.italic
 40 |             + self + ANSIEscapeCode.Decoration.reset
/host/spi-builder-workspace/Sources/ANSIEscapeCode/String+ANSIEscapeCode.swift:44:5: warning: 'public' modifier is redundant for property declared in a public extension
 42 |
 43 |     /// Set text underline on terminal.
 44 |     public var underlineOutput: String {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 45 |         return ANSIEscapeCode.Decoration.underline
 46 |             + self + ANSIEscapeCode.Decoration.reset
/host/spi-builder-workspace/Sources/ANSIEscapeCode/String+ANSIEscapeCode.swift:50:5: warning: 'public' modifier is redundant for property declared in a public extension
 48 |
 49 |     /// Set text blink on terminal.
 50 |     public var blinkOutput: String {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 51 |         return ANSIEscapeCode.Decoration.blink
 52 |             + self + ANSIEscapeCode.Decoration.reset
/host/spi-builder-workspace/Sources/ANSIEscapeCode/String+ANSIEscapeCode.swift:59:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 57 |     /// - Parameter color: Text color.
 58 |     /// - Returns: Processed string.
 59 |     public func color(_ color: TextColor) -> String {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 60 |         return ANSIEscapeCode.Decoration.textColor(color)
 61 |             + self + ANSIEscapeCode.Decoration.reset
/host/spi-builder-workspace/Sources/ANSIEscapeCode/String+ANSIEscapeCode.swift:69:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 67 |     ///                    Refer: https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit
 68 |     /// - Returns: Processed string.
 69 |     public func colorFrom8BitsColorSet(_ color: Int) -> String {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 70 |         return ANSIEscapeCode.Decoration.text8BitsColor(color)
 71 |             + self + ANSIEscapeCode.Decoration.reset
/host/spi-builder-workspace/Sources/ANSIEscapeCode/String+ANSIEscapeCode.swift:82:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 80 |     ///   - blue: 8 bits blue color value.
 81 |     /// - Returns: Processed string.
 82 |     public func colorFromRGBColorSet(red: Int, green: Int, blue: Int) -> String {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 83 |         return ANSIEscapeCode.Decoration.textRGBColor(red: red, green: green, blue: blue)
 84 |             + self + ANSIEscapeCode.Decoration.reset
/host/spi-builder-workspace/Sources/ANSIEscapeCode/String+ANSIEscapeCode.swift:91:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 89 |     /// - Parameter color: Background color.
 90 |     /// - Returns: Processed string.
 91 |     public func backgroundColor(_ color: BackgroundColor) -> String {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 92 |         return ANSIEscapeCode.Decoration.backgroundColor(color)
 93 |             + self + ANSIEscapeCode.Decoration.reset
/host/spi-builder-workspace/Sources/ANSIEscapeCode/String+ANSIEscapeCode.swift:101:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 99 |     ///                    Refer: https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit
100 |     /// - Returns: Processed string.
101 |     public func backgroundColorFrom8BitsColorSet(_ color: Int) -> String {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
102 |         return ANSIEscapeCode.Decoration.background8BitsColor(color)
103 |             + self + ANSIEscapeCode.Decoration.reset
/host/spi-builder-workspace/Sources/ANSIEscapeCode/String+ANSIEscapeCode.swift:114:5: warning: 'public' modifier is redundant for instance method declared in a public extension
112 |     ///   - blue: 8 bits blue color value.
113 |     /// - Returns: Processed string.
114 |     public func backgroundColorFromRGBColorSet(red: Int, green: Int, blue: Int) -> String {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
115 |         return ANSIEscapeCode.Decoration.backgroundRGBColor(red: red, green: green, blue: blue)
116 |             + self + ANSIEscapeCode.Decoration.reset
[5/17] Compiling ANSIEscapeCode Scroll.swift
[6/18] Compiling ANSIEscapeCode PrintANSIEscapeCode.swift
/host/spi-builder-workspace/Sources/ANSIEscapeCode/PrintANSIEscapeCode.swift:33:12: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
31 | public func printANSIEscapeCode(_ code: String) {
32 |     print(code, terminator: "")
33 |     fflush(stdout)
   |            `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
[7/18] Compiling ANSIEscapeCode EraseInLineType.swift
[8/18] Compiling ANSIEscapeCode ANSIEscapeCode.swift
[9/18] Compiling ANSIEscapeCode BackgroundColor.swift
[10/18] Emitting module ANSIEscapeCode
/host/spi-builder-workspace/Sources/ANSIEscapeCode/String+ANSIEscapeCode.swift:32:5: warning: 'public' modifier is redundant for property declared in a public extension
 30 |
 31 |     /// Set text bold on terminal.
 32 |     public var boldOutput: String {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 33 |         return ANSIEscapeCode.Decoration.bold
 34 |             + self + ANSIEscapeCode.Decoration.reset
/host/spi-builder-workspace/Sources/ANSIEscapeCode/String+ANSIEscapeCode.swift:38:5: warning: 'public' modifier is redundant for property declared in a public extension
 36 |
 37 |     /// Set text italic on terminal.
 38 |     public var italicOutput: String {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 39 |         return ANSIEscapeCode.Decoration.italic
 40 |             + self + ANSIEscapeCode.Decoration.reset
/host/spi-builder-workspace/Sources/ANSIEscapeCode/String+ANSIEscapeCode.swift:44:5: warning: 'public' modifier is redundant for property declared in a public extension
 42 |
 43 |     /// Set text underline on terminal.
 44 |     public var underlineOutput: String {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 45 |         return ANSIEscapeCode.Decoration.underline
 46 |             + self + ANSIEscapeCode.Decoration.reset
/host/spi-builder-workspace/Sources/ANSIEscapeCode/String+ANSIEscapeCode.swift:50:5: warning: 'public' modifier is redundant for property declared in a public extension
 48 |
 49 |     /// Set text blink on terminal.
 50 |     public var blinkOutput: String {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 51 |         return ANSIEscapeCode.Decoration.blink
 52 |             + self + ANSIEscapeCode.Decoration.reset
/host/spi-builder-workspace/Sources/ANSIEscapeCode/String+ANSIEscapeCode.swift:59:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 57 |     /// - Parameter color: Text color.
 58 |     /// - Returns: Processed string.
 59 |     public func color(_ color: TextColor) -> String {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 60 |         return ANSIEscapeCode.Decoration.textColor(color)
 61 |             + self + ANSIEscapeCode.Decoration.reset
/host/spi-builder-workspace/Sources/ANSIEscapeCode/String+ANSIEscapeCode.swift:69:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 67 |     ///                    Refer: https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit
 68 |     /// - Returns: Processed string.
 69 |     public func colorFrom8BitsColorSet(_ color: Int) -> String {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 70 |         return ANSIEscapeCode.Decoration.text8BitsColor(color)
 71 |             + self + ANSIEscapeCode.Decoration.reset
/host/spi-builder-workspace/Sources/ANSIEscapeCode/String+ANSIEscapeCode.swift:82:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 80 |     ///   - blue: 8 bits blue color value.
 81 |     /// - Returns: Processed string.
 82 |     public func colorFromRGBColorSet(red: Int, green: Int, blue: Int) -> String {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 83 |         return ANSIEscapeCode.Decoration.textRGBColor(red: red, green: green, blue: blue)
 84 |             + self + ANSIEscapeCode.Decoration.reset
/host/spi-builder-workspace/Sources/ANSIEscapeCode/String+ANSIEscapeCode.swift:91:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 89 |     /// - Parameter color: Background color.
 90 |     /// - Returns: Processed string.
 91 |     public func backgroundColor(_ color: BackgroundColor) -> String {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 92 |         return ANSIEscapeCode.Decoration.backgroundColor(color)
 93 |             + self + ANSIEscapeCode.Decoration.reset
/host/spi-builder-workspace/Sources/ANSIEscapeCode/String+ANSIEscapeCode.swift:101:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 99 |     ///                    Refer: https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit
100 |     /// - Returns: Processed string.
101 |     public func backgroundColorFrom8BitsColorSet(_ color: Int) -> String {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
102 |         return ANSIEscapeCode.Decoration.background8BitsColor(color)
103 |             + self + ANSIEscapeCode.Decoration.reset
/host/spi-builder-workspace/Sources/ANSIEscapeCode/String+ANSIEscapeCode.swift:114:5: warning: 'public' modifier is redundant for instance method declared in a public extension
112 |     ///   - blue: 8 bits blue color value.
113 |     /// - Returns: Processed string.
114 |     public func backgroundColorFromRGBColorSet(red: Int, green: Int, blue: Int) -> String {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
115 |         return ANSIEscapeCode.Decoration.backgroundRGBColor(red: red, green: green, blue: blue)
116 |             + self + ANSIEscapeCode.Decoration.reset
[11/18] Compiling ANSIEscapeCode Cursor.swift
[12/18] Compiling ANSIEscapeCode Erase.swift
[13/18] Compiling ANSIEscapeCode EraseInDisplayType.swift
[14/18] Compiling ANSIEscapeCode TextColor.swift
[15/19] Wrapping AST for ANSIEscapeCode for debugging
[17/21] Compiling ANSIEscapeCode_logo main.swift
[18/21] Emitting module ANSIEscapeCode_logo
[19/22] Wrapping AST for ANSIEscapeCode-logo for debugging
[20/22] Write Objects.LinkFileList
[21/22] Linking ANSIEscapeCode-logo
Build complete! (12.12s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ANSIEscapeCode",
  "name" : "ANSIEscapeCode",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ANSIEscapeCode",
      "targets" : [
        "ANSIEscapeCode"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ANSIEscapeCode-logo",
      "targets" : [
        "ANSIEscapeCode-logo"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ANSIEscapeCode_logo",
      "module_type" : "SwiftTarget",
      "name" : "ANSIEscapeCode-logo",
      "path" : "Sources/ANSIEscapeCode-logo",
      "product_memberships" : [
        "ANSIEscapeCode-logo"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ANSIEscapeCode"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ANSIEscapeCode",
      "module_type" : "SwiftTarget",
      "name" : "ANSIEscapeCode",
      "path" : "Sources/ANSIEscapeCode",
      "product_memberships" : [
        "ANSIEscapeCode",
        "ANSIEscapeCode-logo"
      ],
      "sources" : [
        "ANSIEscapeCode.swift",
        "BackgroundColor.swift",
        "Cursor.swift",
        "Erase.swift",
        "EraseInDisplayType.swift",
        "EraseInLineType.swift",
        "PrintANSIEscapeCode.swift",
        "Scroll.swift",
        "String+ANSIEscapeCode.swift",
        "TextColor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.