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.10 for Linux on 14 Jan 2025 04:05:53 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
Building package at path:  $PWD
https://github.com/vapor/console-kit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
[1/3743] Fetching swift-log
[3744/76660] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (3.48s)
Fetched https://github.com/apple/swift-nio.git from cache (3.56s)
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.08s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1569] Fetching swift-atomics
[472/5529] Fetching swift-atomics, swift-system
[3754/21139] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.89s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.89s)
Fetched https://github.com/apple/swift-collections.git from cache (0.93s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.34s)
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.63s)
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-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-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-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/25] Write sources
[8/25] Compiling c-nioatomics.c
[9/25] Compiling c-atomics.c
[10/25] Write swift-version-24593BA9C3E375BF.txt
[12/36] Emitting module NIOConcurrencyHelpers
[13/36] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[14/36] Compiling Logging MetadataProvider.swift
[15/36] Emitting module Logging
[16/36] Compiling Logging Locks.swift
[17/36] Compiling NIOConcurrencyHelpers NIOLock.swift
[18/36] Compiling NIOConcurrencyHelpers lock.swift
[19/36] Compiling NIOConcurrencyHelpers atomics.swift
[20/36] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[21/37] Wrapping AST for NIOConcurrencyHelpers for debugging
[23/37] Compiling Logging LogHandler.swift
[24/37] Compiling Logging Logging.swift
[25/38] Wrapping AST for Logging for debugging
[27/64] Emitting module ConsoleKitTerminal
[28/67] Compiling ConsoleKitTerminal Console+Confirm.swift
[29/67] Compiling ConsoleKitTerminal Console+Input.swift
[30/67] Compiling ConsoleKitTerminal Console+Center.swift
[31/67] Compiling ConsoleKitTerminal Console+Output.swift
[32/67] Compiling ConsoleKitTerminal CustomActivity.swift
[33/67] Compiling ConsoleKitTerminal LoadingBar.swift
[34/67] Compiling ConsoleKitTerminal ProgressBar.swift
[35/67] Compiling ConsoleKitTerminal Console+Clear.swift
[36/67] Compiling ConsoleKitTerminal ConsoleText.swift
[37/67] Compiling ConsoleKitTerminal ConsoleTextFragment.swift
[38/67] Compiling ConsoleKitTerminal ANSI.swift
[39/67] Compiling ConsoleKitTerminal ActivityBar.swift
[40/67] Compiling ConsoleKitTerminal ActivityIndicator.swift
[41/67] Compiling ConsoleKitTerminal ActivityIndicatorRenderer.swift
[42/67] Compiling ConsoleKitTerminal ActivityIndicatorState.swift
[43/67] Compiling ConsoleKitTerminal AnySendableHashable.swift
[44/67] Compiling ConsoleKitTerminal ConsoleLogger.swift
[45/67] Compiling ConsoleKitTerminal LoggerFragment.swift
[46/67] Compiling ConsoleKitTerminal Console+Ephemeral.swift
[47/67] Compiling ConsoleKitTerminal ConsoleClear.swift
[48/67] Compiling ConsoleKitTerminal Console+Ask.swift
[49/67] Compiling ConsoleKitTerminal Console+Choose.swift
[50/67] Compiling ConsoleKitTerminal Console+Wait.swift
[51/67] Compiling ConsoleKitTerminal ConsoleColor.swift
[52/67] Compiling ConsoleKitTerminal ConsoleStyle.swift
[53/67] 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; this is an error in Swift 6
        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; this is an error in Swift 6
            putc_unlocked(CInt(c), stderr)
                                   ^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
           ^
[54/67] 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; this is an error in Swift 6
        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; this is an error in Swift 6
            putc_unlocked(CInt(c), stderr)
                                   ^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
           ^
[55/67] 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; this is an error in Swift 6
        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; this is an error in Swift 6
            putc_unlocked(CInt(c), stderr)
                                   ^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
           ^
[56/68] Wrapping AST for ConsoleKitTerminal for debugging
[58/90] Emitting module ConsoleKitCommands
[59/92] Compiling ConsoleKitCommands AnyAsyncCommand.swift
[60/92] Compiling ConsoleKitCommands AsyncCommand.swift
[61/92] Compiling ConsoleKitCommands AsyncCommandGroup.swift
[62/92] Compiling ConsoleKitCommands CommandGroup.swift
[63/92] Compiling ConsoleKitCommands CommandInput.swift
[64/92] Compiling ConsoleKitCommands Commands.swift
[65/92] Compiling ConsoleKitCommands GenerateAutocompleteCommand.swift
[66/92] Compiling ConsoleKitCommands MergedAsyncCommandGroup.swift
[67/92] Compiling ConsoleKitCommands Argument.swift
[68/92] Compiling ConsoleKitCommands AsyncCommands.swift
[69/92] Compiling ConsoleKitCommands GenerateAsyncAutocompleteCommand.swift
[70/92] Compiling ConsoleKitCommands AnyCommand.swift
[71/92] Compiling ConsoleKitCommands CommandSignature.swift
[72/92] Compiling ConsoleKitCommands Flag.swift
[73/92] Compiling ConsoleKitCommands Option.swift
[74/92] Compiling ConsoleKitCommands Command.swift
[75/92] Compiling ConsoleKitCommands CommandContext.swift
[76/92] Compiling ConsoleKitCommands CommandError.swift
[77/92] Compiling ConsoleKitCommands String+LevenshteinDistance.swift
[78/92] Compiling ConsoleKitCommands Utilities.swift
[79/92] Compiling ConsoleKitCommands Console+Run.swift
[80/92] Compiling ConsoleKitCommands ConsoleError.swift
[81/92] Compiling ConsoleKitCommands Completion.swift
[82/93] Wrapping AST for ConsoleKitCommands for debugging
[84/95] Emitting module ConsoleKit
[85/95] Compiling ConsoleKit Exports.swift
[86/96] Wrapping AST for ConsoleKit for debugging
[88/104] Compiling ConsoleKitExample entrypoint.swift
[89/104] Emitting module ConsoleLoggerExample
[90/104] Compiling ConsoleLoggerExample entrypoint.swift
[91/104] Compiling ConsoleKitAsyncExample entrypoint.swift
[92/104] Emitting module ConsoleKitExample
[93/104] Compiling ConsoleKitExample DemoCommand.swift
[94/104] Emitting module ConsoleKitAsyncExample
[95/104] Compiling ConsoleKitAsyncExample DemoCommand.swift
[98/107] Wrapping AST for ConsoleKitExample for debugging
[99/107] Write Objects.LinkFileList
[100/107] Wrapping AST for ConsoleLoggerExample for debugging
[101/107] Write Objects.LinkFileList
[102/107] Wrapping AST for ConsoleKitAsyncExample for debugging
[103/107] Write Objects.LinkFileList
[104/107] Linking ConsoleKitExample
[105/107] Linking ConsoleLoggerExample
[106/107] Linking ConsoleKitAsyncExample
Build complete! (19.88s)
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.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Done.