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 swift-test-codecov with Swift 6.0 (beta) 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/mattpolzin/swift-test-codecov.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/mattpolzin/swift-test-codecov
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 401f6bb Merge pull request #22 from nickpdemarco/npd/bump-argument-parser
Cloned https://github.com/mattpolzin/swift-test-codecov.git
Revision (git rev-parse @):
401f6bb153dea22a22ae1bdd38afe6b361ef606f
SUCCESS checkout https://github.com/mattpolzin/swift-test-codecov.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/mattpolzin/swift-test-codecov.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
Fetching https://github.com/mattpolzin/TextTable.git
[1/189] Fetching texttable
Fetched https://github.com/mattpolzin/TextTable.git from cache (0.21s)
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/apple/swift-argument-parser
[1/1254] Fetching regex
[892/12933] Fetching regex, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.79s)
Fetched https://github.com/sharplet/Regex.git from cache (0.81s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (1.39s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.3 (0.56s)
Creating working copy for https://github.com/mattpolzin/TextTable.git
Working copy of https://github.com/mattpolzin/TextTable.git resolved at swift-5 (5366206)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.0.3
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/36] Emitting module TextTable
[9/37] Emitting module ArgumentParserToolInfo
[10/37] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/38] Wrapping AST for ArgumentParserToolInfo for debugging
[13/72] Compiling ArgumentParser ArgumentSet.swift
[14/72] Compiling ArgumentParser CommandParser.swift
[15/72] Compiling ArgumentParser InputOrigin.swift
[16/72] Compiling ArgumentParser Name.swift
[17/72] Compiling ArgumentParser Parsed.swift
[18/76] Compiling Regex String+ReplaceMatching.swift
[19/76] Compiling ArgumentParser ArgumentHelp.swift
[20/76] Compiling ArgumentParser CompletionKind.swift
[21/76] Compiling ArgumentParser Errors.swift
[22/76] Compiling ArgumentParser Flag.swift
[23/76] Compiling ArgumentParser NameSpecification.swift
[24/76] Compiling Regex Foundation+Ranges.swift
[25/76] Compiling TextTable RstFormat.swift
[28/76] Compiling TextTable String+Util.swift
[29/76] Compiling TextTable SimpleFormat.swift
[30/76] Compiling Regex Options.swift
[31/76] Compiling Regex ThreadLocal.swift
[32/76] Compiling Regex Regex.swift
[33/76] Compiling Regex MatchResult.swift
[34/76] Emitting module Regex
[35/77] Compiling ArgumentParser FishCompletionsGenerator.swift
[36/77] Compiling ArgumentParser ZshCompletionsGenerator.swift
[37/77] Compiling ArgumentParser BashCompletionsGenerator.swift
[38/77] Compiling ArgumentParser CompletionsGenerator.swift
[39/77] Compiling ArgumentParser Argument.swift
[41/77] Compiling TextTable TextTable.swift
[42/77] Emitting module ArgumentParser
[48/78] Compiling ArgumentParser HelpCommand.swift
[49/78] Compiling ArgumentParser HelpGenerator.swift
[50/78] Compiling ArgumentParser MessageInfo.swift
[51/78] Compiling ArgumentParser UsageGenerator.swift
[53/78] Wrapping AST for Regex for debugging
[54/81] Wrapping AST for TextTable for debugging
[56/81] Compiling ArgumentParser ParsableArguments.swift
[57/81] Compiling ArgumentParser ParsableArgumentsValidation.swift
[58/81] Compiling ArgumentParser ParsableCommand.swift
[59/81] Compiling ArgumentParser ArgumentDecoder.swift
[60/81] Compiling ArgumentParser ArgumentDefinition.swift
[61/81] Compiling ArgumentParser Option.swift
[62/81] Compiling ArgumentParser OptionGroup.swift
[63/81] Compiling ArgumentParser CommandConfiguration.swift
[64/81] Compiling ArgumentParser EnumerableFlag.swift
[65/81] Compiling ArgumentParser ExpressibleByArgument.swift
[66/81] Compiling ArgumentParser ParsedValues.swift
[67/81] Compiling ArgumentParser ParserError.swift
[68/81] Compiling ArgumentParser SplitArguments.swift
[69/81] Compiling ArgumentParser DumpHelpGenerator.swift
[70/81] Compiling ArgumentParser CollectionExtensions.swift
[71/81] Compiling ArgumentParser SequenceExtensions.swift
[72/81] Compiling ArgumentParser StringExtensions.swift
[73/81] Compiling ArgumentParser Tree.swift
[75/82] Emitting module SwiftTestCodecovLib
[76/82] Compiling SwiftTestCodecovLib Aggregate.swift
[77/82] Compiling SwiftTestCodecovLib CodeCov.swift
[77/83] Wrapping AST for ArgumentParser for debugging
[79/83] Wrapping AST for SwiftTestCodecovLib for debugging
[81/85] Emitting module swift_test_codecov
/host/spi-builder-workspace/Sources/swift-test-codecov/main.swift:7:1: warning: extension declares a conformance of imported type 'AggregateProperty' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'SwiftTestCodecovLib' introduce this conformance in the future
  5 | import TextTable
  6 |
  7 | extension CodeCov.AggregateProperty: ExpressibleByArgument {}
    | |- warning: extension declares a conformance of imported type 'AggregateProperty' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'SwiftTestCodecovLib' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  8 |
  9 | let codecovFileDiscussion = """
/host/spi-builder-workspace/Sources/swift-test-codecov/main.swift:31:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 29 |
 30 | struct StatsCommand: ParsableCommand {
 31 |     static let configuration: CommandConfiguration = .init(
    |                `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |         commandName: "swift-test-codecov",
 33 |         abstract: "Analyze Code Coverage Metrics",
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/host/spi-builder-workspace/Sources/swift-test-codecov/main.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
  1 |
  2 | import ArgumentParser
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
  3 | import Foundation
  4 | import SwiftTestCodecovLib
    :
 29 |
 30 | struct StatsCommand: ParsableCommand {
 31 |     static let configuration: CommandConfiguration = .init(
    |                |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |         commandName: "swift-test-codecov",
 33 |         abstract: "Analyze Code Coverage Metrics",
/host/spi-builder-workspace/Sources/swift-test-codecov/main.swift:37:16: warning: static property 'jsonDecoder' is not concurrency-safe because non-'Sendable' type 'JSONDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     )
 36 |
 37 |     static let jsonDecoder = JSONDecoder()
    |                `- warning: static property 'jsonDecoder' is not concurrency-safe because non-'Sendable' type 'JSONDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
 38 |     static let jsonEncoder = JSONEncoder()
 39 |
Foundation.JSONDecoder:1:12: note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
 1 | open class JSONDecoder {
   |            `- note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
 2 |     public enum DateDecodingStrategy {
 3 |         case deferredToDate
/host/spi-builder-workspace/Sources/swift-test-codecov/main.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
  1 |
  2 | import ArgumentParser
  3 | import Foundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
  4 | import SwiftTestCodecovLib
  5 | import TextTable
    :
 35 |     )
 36 |
 37 |     static let jsonDecoder = JSONDecoder()
    |                |- note: annotate 'jsonDecoder' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |     static let jsonEncoder = JSONEncoder()
 39 |
/host/spi-builder-workspace/Sources/swift-test-codecov/main.swift:38:16: warning: static property 'jsonEncoder' is not concurrency-safe because non-'Sendable' type 'JSONEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
 36 |
 37 |     static let jsonDecoder = JSONDecoder()
 38 |     static let jsonEncoder = JSONEncoder()
    |                |- warning: static property 'jsonEncoder' is not concurrency-safe because non-'Sendable' type 'JSONEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'jsonEncoder' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |     @Argument(
Foundation.JSONEncoder:1:12: note: class 'JSONEncoder' does not conform to the 'Sendable' protocol
 1 | open class JSONEncoder {
   |            `- note: class 'JSONEncoder' does not conform to the 'Sendable' protocol
 2 |     public struct OutputFormatting : OptionSet {
 3 |         public let rawValue: UInt
[82/85] Compiling swift_test_codecov main.swift
/host/spi-builder-workspace/Sources/swift-test-codecov/main.swift:7:1: warning: extension declares a conformance of imported type 'AggregateProperty' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'SwiftTestCodecovLib' introduce this conformance in the future
  5 | import TextTable
  6 |
  7 | extension CodeCov.AggregateProperty: ExpressibleByArgument {}
    | |- warning: extension declares a conformance of imported type 'AggregateProperty' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'SwiftTestCodecovLib' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  8 |
  9 | let codecovFileDiscussion = """
/host/spi-builder-workspace/Sources/swift-test-codecov/main.swift:31:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 29 |
 30 | struct StatsCommand: ParsableCommand {
 31 |     static let configuration: CommandConfiguration = .init(
    |                `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |         commandName: "swift-test-codecov",
 33 |         abstract: "Analyze Code Coverage Metrics",
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/host/spi-builder-workspace/Sources/swift-test-codecov/main.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
  1 |
  2 | import ArgumentParser
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
  3 | import Foundation
  4 | import SwiftTestCodecovLib
    :
 29 |
 30 | struct StatsCommand: ParsableCommand {
 31 |     static let configuration: CommandConfiguration = .init(
    |                |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |         commandName: "swift-test-codecov",
 33 |         abstract: "Analyze Code Coverage Metrics",
/host/spi-builder-workspace/Sources/swift-test-codecov/main.swift:37:16: warning: static property 'jsonDecoder' is not concurrency-safe because non-'Sendable' type 'JSONDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     )
 36 |
 37 |     static let jsonDecoder = JSONDecoder()
    |                `- warning: static property 'jsonDecoder' is not concurrency-safe because non-'Sendable' type 'JSONDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
 38 |     static let jsonEncoder = JSONEncoder()
 39 |
Foundation.JSONDecoder:1:12: note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
 1 | open class JSONDecoder {
   |            `- note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
 2 |     public enum DateDecodingStrategy {
 3 |         case deferredToDate
/host/spi-builder-workspace/Sources/swift-test-codecov/main.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
  1 |
  2 | import ArgumentParser
  3 | import Foundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
  4 | import SwiftTestCodecovLib
  5 | import TextTable
    :
 35 |     )
 36 |
 37 |     static let jsonDecoder = JSONDecoder()
    |                |- note: annotate 'jsonDecoder' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |     static let jsonEncoder = JSONEncoder()
 39 |
/host/spi-builder-workspace/Sources/swift-test-codecov/main.swift:38:16: warning: static property 'jsonEncoder' is not concurrency-safe because non-'Sendable' type 'JSONEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
 36 |
 37 |     static let jsonDecoder = JSONDecoder()
 38 |     static let jsonEncoder = JSONEncoder()
    |                |- warning: static property 'jsonEncoder' is not concurrency-safe because non-'Sendable' type 'JSONEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'jsonEncoder' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |     @Argument(
Foundation.JSONEncoder:1:12: note: class 'JSONEncoder' does not conform to the 'Sendable' protocol
 1 | open class JSONEncoder {
   |            `- note: class 'JSONEncoder' does not conform to the 'Sendable' protocol
 2 |     public struct OutputFormatting : OptionSet {
 3 |         public let rawValue: UInt
[83/86] Wrapping AST for swift-test-codecov for debugging
[84/86] Write Objects.LinkFileList
[85/86] Linking swift-test-codecov
Build complete! (34.66s)
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"
    },
    {
      "identity" : "texttable",
      "requirement" : {
        "branch" : [
          "swift-5"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattpolzin/TextTable.git"
    },
    {
      "identity" : "regex",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "2.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sharplet/Regex.git"
    }
  ],
  "manifest_display_name" : "swift-test-codecov",
  "name" : "swift-test-codecov",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "swift-test-codecov",
      "targets" : [
        "swift-test-codecov"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SwiftTestCodecovLib",
      "targets" : [
        "SwiftTestCodecovLib"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_test_codecovTests",
      "module_type" : "SwiftTarget",
      "name" : "swift-test-codecovTests",
      "path" : "Tests/swift-test-codecovTests",
      "sources" : [
        "PlaceholderTests2.swift"
      ],
      "target_dependencies" : [
        "swift-test-codecov"
      ],
      "type" : "test"
    },
    {
      "c99name" : "swift_test_codecov",
      "module_type" : "SwiftTarget",
      "name" : "swift-test-codecov",
      "path" : "Sources/swift-test-codecov",
      "product_dependencies" : [
        "ArgumentParser",
        "TextTable"
      ],
      "product_memberships" : [
        "swift-test-codecov"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftTestCodecovLib"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftTestCodecovLibTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTestCodecovLibTests",
      "path" : "Tests/SwiftTestCodecovLibTests",
      "product_dependencies" : [
        "Regex"
      ],
      "sources" : [
        "AggregateTests.swift"
      ],
      "target_dependencies" : [
        "SwiftTestCodecovLib"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftTestCodecovLib",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTestCodecovLib",
      "path" : "Sources/SwiftTestCodecovLib",
      "product_dependencies" : [
        "Regex"
      ],
      "product_memberships" : [
        "swift-test-codecov",
        "SwiftTestCodecovLib"
      ],
      "sources" : [
        "Aggregate.swift",
        "CodeCov.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.