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 console-kit, reference main (b7854a), with Swift 5.9 for Linux on 14 Jan 2025 04:05:59 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/console-kit.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/vapor/console-kit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b7854a8 Update CI to use shared workflow's Musl check
Cloned https://github.com/vapor/console-kit.git
Revision (git rev-parse @):
b7854a8c1a806fc78173712f5ac9665e33d080dc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/console-kit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/vapor/console-kit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/3743] Fetching swift-log
[3744/76660] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git (3.86s)
Fetched https://github.com/apple/swift-nio.git (3.94s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.30s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.78.0 (1.14s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/15610] Fetching swift-collections
[782/17179] Fetching swift-collections, swift-atomics
[1316/21139] Fetching swift-collections, swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git (0.45s)
[8331/19570] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git (1.20s)
Fetched https://github.com/apple/swift-collections.git (1.24s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.67s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.35s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.50s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.78.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Building for debugging...
[0/18] Compiling c-nioatomics.c
[1/18] Compiling c-atomics.c
[3/24] Emitting module NIOConcurrencyHelpers
[4/24] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[5/24] Compiling NIOConcurrencyHelpers NIOLock.swift
[6/24] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[7/24] Compiling NIOConcurrencyHelpers lock.swift
[8/24] Compiling NIOConcurrencyHelpers atomics.swift
[11/26] Compiling Logging MetadataProvider.swift
[12/26] Compiling Logging Locks.swift
[13/26] Emitting module Logging
[14/26] Compiling Logging LogHandler.swift
[15/26] Compiling Logging Logging.swift
[17/28] Wrapping AST for Logging for debugging
[18/28] Wrapping AST for NIOConcurrencyHelpers for debugging
[20/54] Emitting module ConsoleKitTerminal
[21/57] Compiling ConsoleKitTerminal CustomActivity.swift
[22/57] Compiling ConsoleKitTerminal LoadingBar.swift
[23/57] Compiling ConsoleKitTerminal ProgressBar.swift
[24/57] Compiling ConsoleKitTerminal Console+Clear.swift
[25/57] Compiling ConsoleKitTerminal Console+Wait.swift
[26/57] Compiling ConsoleKitTerminal ConsoleColor.swift
[27/57] Compiling ConsoleKitTerminal ConsoleStyle.swift
[28/57] Compiling ConsoleKitTerminal AnySendableHashable.swift
[29/57] Compiling ConsoleKitTerminal ConsoleLogger.swift
[30/57] Compiling ConsoleKitTerminal LoggerFragment.swift
[31/57] Compiling ConsoleKitTerminal Console.swift
/host/spi-builder-workspace/Sources/ConsoleKitTerminal/Terminal/Terminal.swift:127:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
        fflush(stdout)
               ^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
           ^
/host/spi-builder-workspace/Sources/ConsoleKitTerminal/Terminal/Terminal.swift:136:36: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
            putc_unlocked(CInt(c), stderr)
                                   ^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
           ^
[32/57] Compiling ConsoleKitTerminal Terminal.swift
/host/spi-builder-workspace/Sources/ConsoleKitTerminal/Terminal/Terminal.swift:127:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
        fflush(stdout)
               ^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
           ^
/host/spi-builder-workspace/Sources/ConsoleKitTerminal/Terminal/Terminal.swift:136:36: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
            putc_unlocked(CInt(c), stderr)
                                   ^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
           ^
[33/57] Compiling ConsoleKitTerminal readpassphrase_linux.swift
/host/spi-builder-workspace/Sources/ConsoleKitTerminal/Terminal/Terminal.swift:127:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
        fflush(stdout)
               ^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
           ^
/host/spi-builder-workspace/Sources/ConsoleKitTerminal/Terminal/Terminal.swift:136:36: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
            putc_unlocked(CInt(c), stderr)
                                   ^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
           ^
[34/57] Compiling ConsoleKitTerminal Console+Confirm.swift
[35/57] Compiling ConsoleKitTerminal Console+Input.swift
[36/57] Compiling ConsoleKitTerminal Console+Center.swift
[37/57] Compiling ConsoleKitTerminal Console+Output.swift
[38/57] Compiling ConsoleKitTerminal ConsoleText.swift
[39/57] Compiling ConsoleKitTerminal ConsoleTextFragment.swift
[40/57] Compiling ConsoleKitTerminal ANSI.swift
[41/57] Compiling ConsoleKitTerminal Console+Ephemeral.swift
[42/57] Compiling ConsoleKitTerminal ConsoleClear.swift
[43/57] Compiling ConsoleKitTerminal Console+Ask.swift
[44/57] Compiling ConsoleKitTerminal Console+Choose.swift
[45/57] Compiling ConsoleKitTerminal ActivityBar.swift
[46/57] Compiling ConsoleKitTerminal ActivityIndicator.swift
[47/57] Compiling ConsoleKitTerminal ActivityIndicatorRenderer.swift
[48/57] Compiling ConsoleKitTerminal ActivityIndicatorState.swift
[50/59] Wrapping AST for ConsoleKitTerminal for debugging
[52/81] Emitting module ConsoleKitCommands
[53/83] Compiling ConsoleKitCommands AnyAsyncCommand.swift
[54/83] Compiling ConsoleKitCommands AsyncCommand.swift
[55/83] Compiling ConsoleKitCommands AsyncCommandGroup.swift
[56/83] Compiling ConsoleKitCommands AsyncCommands.swift
[57/83] Compiling ConsoleKitCommands GenerateAsyncAutocompleteCommand.swift
[58/83] Compiling ConsoleKitCommands AnyCommand.swift
[59/83] Compiling ConsoleKitCommands CommandGroup.swift
[60/83] Compiling ConsoleKitCommands CommandInput.swift
[61/83] Compiling ConsoleKitCommands Commands.swift
[62/83] Compiling ConsoleKitCommands CommandSignature.swift
[63/83] Compiling ConsoleKitCommands Flag.swift
[64/83] Compiling ConsoleKitCommands Option.swift
[65/83] Compiling ConsoleKitCommands GenerateAutocompleteCommand.swift
[66/83] Compiling ConsoleKitCommands MergedAsyncCommandGroup.swift
[67/83] Compiling ConsoleKitCommands Argument.swift
[68/83] Compiling ConsoleKitCommands Command.swift
[69/83] Compiling ConsoleKitCommands CommandContext.swift
[70/83] Compiling ConsoleKitCommands CommandError.swift
[71/83] Compiling ConsoleKitCommands String+LevenshteinDistance.swift
[72/83] Compiling ConsoleKitCommands Utilities.swift
[73/83] Compiling ConsoleKitCommands Console+Run.swift
[74/83] Compiling ConsoleKitCommands ConsoleError.swift
[75/83] Compiling ConsoleKitCommands Completion.swift
[77/85] Wrapping AST for ConsoleKitCommands for debugging
[79/87] Emitting module ConsoleKit
[80/87] Compiling ConsoleKit Exports.swift
[82/89] Wrapping AST for ConsoleKit for debugging
[84/97] Emitting module ConsoleLoggerExample
[85/97] Compiling ConsoleLoggerExample entrypoint.swift
[86/97] Compiling ConsoleKitExample entrypoint.swift
[87/97] Compiling ConsoleKitAsyncExample entrypoint.swift
[88/98] Emitting module ConsoleKitAsyncExample
[89/98] Compiling ConsoleKitAsyncExample DemoCommand.swift
[90/99] Emitting module ConsoleKitExample
[91/99] Compiling ConsoleKitExample DemoCommand.swift
[97/103] Wrapping AST for ConsoleLoggerExample for debugging
[98/103] Wrapping AST for ConsoleKitAsyncExample for debugging
[99/103] Wrapping AST for ConsoleKitExample for debugging
[100/103] Linking ConsoleLoggerExample
[101/103] Linking ConsoleKitExample
[102/103] Linking ConsoleKitAsyncExample
Build complete! (23.12s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.62.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "manifest_display_name" : "console-kit",
  "name" : "console-kit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "ConsoleKit",
      "targets" : [
        "ConsoleKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ConsoleKitTerminal",
      "targets" : [
        "ConsoleKitTerminal"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ConsoleKitCommands",
      "targets" : [
        "ConsoleKitCommands"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ConsoleLoggerExample",
      "targets" : [
        "ConsoleLoggerExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ConsoleKitExample",
      "targets" : [
        "ConsoleKitExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ConsoleKitAsyncExample",
      "targets" : [
        "ConsoleKitAsyncExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ConsoleLoggerExample",
      "module_type" : "SwiftTarget",
      "name" : "ConsoleLoggerExample",
      "path" : "Sources/ConsoleLoggerExample",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "ConsoleLoggerExample"
      ],
      "sources" : [
        "entrypoint.swift"
      ],
      "target_dependencies" : [
        "ConsoleKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ConsoleKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ConsoleKitTests",
      "path" : "Tests/ConsoleKitTests",
      "sources" : [
        "ActivityTests.swift",
        "CommandErrorTests.swift",
        "CommandTests.swift",
        "ConsoleTests.swift",
        "LoggingTests.swift",
        "TerminalTests.swift",
        "Utilities.swift"
      ],
      "target_dependencies" : [
        "ConsoleKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ConsoleKitTerminal",
      "module_type" : "SwiftTarget",
      "name" : "ConsoleKitTerminal",
      "path" : "Sources/ConsoleKitTerminal",
      "product_dependencies" : [
        "Logging",
        "NIOConcurrencyHelpers"
      ],
      "product_memberships" : [
        "ConsoleKit",
        "ConsoleKitTerminal",
        "ConsoleKitCommands",
        "ConsoleLoggerExample",
        "ConsoleKitExample",
        "ConsoleKitAsyncExample"
      ],
      "sources" : [
        "Activity/ActivityBar.swift",
        "Activity/ActivityIndicator.swift",
        "Activity/ActivityIndicatorRenderer.swift",
        "Activity/ActivityIndicatorState.swift",
        "Activity/CustomActivity.swift",
        "Activity/LoadingBar.swift",
        "Activity/ProgressBar.swift",
        "Clear/Console+Clear.swift",
        "Clear/Console+Ephemeral.swift",
        "Clear/ConsoleClear.swift",
        "Input/Console+Ask.swift",
        "Input/Console+Choose.swift",
        "Input/Console+Confirm.swift",
        "Input/Console+Input.swift",
        "Output/Console+Center.swift",
        "Output/Console+Output.swift",
        "Output/Console+Wait.swift",
        "Output/ConsoleColor.swift",
        "Output/ConsoleStyle.swift",
        "Output/ConsoleText.swift",
        "Output/ConsoleTextFragment.swift",
        "Terminal/ANSI.swift",
        "Terminal/Console.swift",
        "Terminal/Terminal.swift",
        "Terminal/readpassphrase_linux.swift",
        "Utilities/AnySendableHashable.swift",
        "Utilities/ConsoleLogger.swift",
        "Utilities/LoggerFragment.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ConsoleKitPerformanceTests",
      "module_type" : "SwiftTarget",
      "name" : "ConsoleKitPerformanceTests",
      "path" : "Tests/ConsoleKitPerformanceTests",
      "sources" : [
        "ConsoleLoggerPerformanceTests.swift"
      ],
      "target_dependencies" : [
        "ConsoleKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ConsoleKitExample",
      "module_type" : "SwiftTarget",
      "name" : "ConsoleKitExample",
      "path" : "Sources/ConsoleKitExample",
      "product_memberships" : [
        "ConsoleKitExample"
      ],
      "sources" : [
        "DemoCommand.swift",
        "entrypoint.swift"
      ],
      "target_dependencies" : [
        "ConsoleKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ConsoleKitCommands",
      "module_type" : "SwiftTarget",
      "name" : "ConsoleKitCommands",
      "path" : "Sources/ConsoleKitCommands",
      "product_dependencies" : [
        "Logging",
        "NIOConcurrencyHelpers"
      ],
      "product_memberships" : [
        "ConsoleKit",
        "ConsoleKitCommands",
        "ConsoleLoggerExample",
        "ConsoleKitExample",
        "ConsoleKitAsyncExample"
      ],
      "sources" : [
        "Async/AnyAsyncCommand.swift",
        "Async/AsyncCommand.swift",
        "Async/AsyncCommandGroup.swift",
        "Async/AsyncCommands.swift",
        "Async/GenerateAsyncAutocompleteCommand.swift",
        "Base/AnyCommand.swift",
        "Base/Command.swift",
        "Base/CommandContext.swift",
        "Base/CommandError.swift",
        "Base/CommandGroup.swift",
        "Base/CommandInput.swift",
        "Base/Commands.swift",
        "Base/Console+Run.swift",
        "Base/ConsoleError.swift",
        "Completion/Completion.swift",
        "Completion/GenerateAutocompleteCommand.swift",
        "Deprecated/MergedAsyncCommandGroup.swift",
        "Signatures/Argument.swift",
        "Signatures/CommandSignature.swift",
        "Signatures/Flag.swift",
        "Signatures/Option.swift",
        "Utilities/String+LevenshteinDistance.swift",
        "Utilities/Utilities.swift"
      ],
      "target_dependencies" : [
        "ConsoleKitTerminal"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ConsoleKitAsyncExample",
      "module_type" : "SwiftTarget",
      "name" : "ConsoleKitAsyncExample",
      "path" : "Sources/ConsoleKitAsyncExample",
      "product_memberships" : [
        "ConsoleKitAsyncExample"
      ],
      "sources" : [
        "DemoCommand.swift",
        "entrypoint.swift"
      ],
      "target_dependencies" : [
        "ConsoleKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ConsoleKit",
      "module_type" : "SwiftTarget",
      "name" : "ConsoleKit",
      "path" : "Sources/ConsoleKit",
      "product_memberships" : [
        "ConsoleKit",
        "ConsoleLoggerExample",
        "ConsoleKitExample",
        "ConsoleKitAsyncExample"
      ],
      "sources" : [
        "Exports.swift"
      ],
      "target_dependencies" : [
        "ConsoleKitCommands",
        "ConsoleKitTerminal"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AsyncConsoleKitTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncConsoleKitTests",
      "path" : "Tests/AsyncConsoleKitTests",
      "sources" : [
        "AsyncCommandErrorTests.swift",
        "AsyncCommandTests.swift",
        "AsyncUtilities.swift"
      ],
      "target_dependencies" : [
        "ConsoleKit"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.9"
}
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Done.