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 for Linux.

Swift 6 data race errors: 0

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/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/brightdigit/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/brightdigit/swift-test-codecov
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b1085f5 Merge pull request #2 from brightdigit/1.1.0
Cloned https://github.com/brightdigit/swift-test-codecov.git
Revision (git rev-parse @):
b1085f527c83bf666978f4828ac5ceb541637f14
SUCCESS checkout https://github.com/brightdigit/swift-test-codecov.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/brightdigit/swift-test-codecov.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/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/apple/swift-argument-parser
[1/11679] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.84s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.1.2 (0.80s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.1.2
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/16] Compiling ArgumentParserToolInfo ToolInfo.swift
[7/16] Emitting module ArgumentParserToolInfo
[8/17] Wrapping AST for ArgumentParserToolInfo for debugging
[10/53] Compiling ArgumentParser NameSpecification.swift
[11/53] Compiling ArgumentParser Option.swift
[12/53] Compiling ArgumentParser OptionGroup.swift
[13/53] Compiling ArgumentParser AsyncParsableCommand.swift
[14/53] Compiling ArgumentParser CommandConfiguration.swift
[15/57] Emitting module ArgumentParser
[16/57] Compiling ArgumentParser Name.swift
[17/57] Compiling ArgumentParser Parsed.swift
[18/57] Compiling ArgumentParser ParsedValues.swift
[19/57] Compiling ArgumentParser ParserError.swift
[20/57] Compiling ArgumentParser SplitArguments.swift
[21/57] Compiling ArgumentParser CollectionExtensions.swift
[22/57] Compiling ArgumentParser SequenceExtensions.swift
[23/57] Compiling ArgumentParser StringExtensions.swift
[24/57] Compiling ArgumentParser Tree.swift
[25/57] Compiling SwiftTestCodecovLib CodeCov.swift
[26/57] Emitting module SwiftTestCodecovLib
[27/57] Compiling SwiftTestCodecovLib Aggregate.swift
[28/57] Compiling ArgumentParser EnumerableFlag.swift
[29/57] Compiling ArgumentParser ExpressibleByArgument.swift
[30/57] Compiling ArgumentParser ParsableArguments.swift
[31/57] Compiling ArgumentParser ParsableArgumentsValidation.swift
[32/57] Compiling ArgumentParser ParsableCommand.swift
[34/58] Compiling ArgumentParser BashCompletionsGenerator.swift
[35/58] Compiling ArgumentParser CompletionsGenerator.swift
[36/58] Compiling ArgumentParser FishCompletionsGenerator.swift
[37/58] Compiling ArgumentParser ZshCompletionsGenerator.swift
[38/58] Compiling ArgumentParser Argument.swift
[38/58] Wrapping AST for SwiftTestCodecovLib for debugging
[40/58] Compiling ArgumentParser ArgumentHelp.swift
[41/58] Compiling ArgumentParser ArgumentVisibility.swift
[42/58] Compiling ArgumentParser CompletionKind.swift
[43/58] Compiling ArgumentParser Errors.swift
[44/58] Compiling ArgumentParser Flag.swift
[45/58] Compiling ArgumentParser ArgumentDecoder.swift
[46/58] Compiling ArgumentParser ArgumentDefinition.swift
[47/58] Compiling ArgumentParser ArgumentSet.swift
[48/58] Compiling ArgumentParser CommandParser.swift
[49/58] Compiling ArgumentParser InputOrigin.swift
[50/58] Compiling ArgumentParser DumpHelpGenerator.swift
[51/58] Compiling ArgumentParser HelpCommand.swift
[52/58] Compiling ArgumentParser HelpGenerator.swift
[53/58] Compiling ArgumentParser MessageInfo.swift
[54/58] Compiling ArgumentParser UsageGenerator.swift
[55/59] Wrapping AST for ArgumentParser for debugging
[57/61] Emitting module swift_test_codecov
/host/spi-builder-workspace/Sources/swift-test-codecov/main.swift:6: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
  4 | import SwiftTestCodecovLib
  5 |
  6 | 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
  7 |
  8 | let codecovFileDiscussion = """
/host/spi-builder-workspace/Sources/swift-test-codecov/main.swift:28: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
 26 |
 27 | struct StatsCommand: ParsableCommand {
 28 |     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
 29 |         commandName: "swift-test-codecov",
 30 |         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
    :
 26 |
 27 | struct StatsCommand: ParsableCommand {
 28 |     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
 29 |         commandName: "swift-test-codecov",
 30 |         abstract: "Analyze Code Coverage Metrics",
/host/spi-builder-workspace/Sources/swift-test-codecov/main.swift:34: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
 32 |     )
 33 |
 34 |     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
 35 |     static let jsonEncoder = JSONEncoder()
 36 |
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 |
    :
 32 |     )
 33 |
 34 |     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
 35 |     static let jsonEncoder = JSONEncoder()
 36 |
/host/spi-builder-workspace/Sources/swift-test-codecov/main.swift:35: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
 33 |
 34 |     static let jsonDecoder = JSONDecoder()
 35 |     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
 36 |
 37 |     @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
[58/61] Compiling swift_test_codecov main.swift
/host/spi-builder-workspace/Sources/swift-test-codecov/main.swift:6: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
  4 | import SwiftTestCodecovLib
  5 |
  6 | 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
  7 |
  8 | let codecovFileDiscussion = """
/host/spi-builder-workspace/Sources/swift-test-codecov/main.swift:28: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
 26 |
 27 | struct StatsCommand: ParsableCommand {
 28 |     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
 29 |         commandName: "swift-test-codecov",
 30 |         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
    :
 26 |
 27 | struct StatsCommand: ParsableCommand {
 28 |     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
 29 |         commandName: "swift-test-codecov",
 30 |         abstract: "Analyze Code Coverage Metrics",
/host/spi-builder-workspace/Sources/swift-test-codecov/main.swift:34: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
 32 |     )
 33 |
 34 |     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
 35 |     static let jsonEncoder = JSONEncoder()
 36 |
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 |
    :
 32 |     )
 33 |
 34 |     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
 35 |     static let jsonEncoder = JSONEncoder()
 36 |
/host/spi-builder-workspace/Sources/swift-test-codecov/main.swift:35: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
 33 |
 34 |     static let jsonDecoder = JSONDecoder()
 35 |     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
 36 |
 37 |     @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
[59/62] Wrapping AST for swift-test-codecov for debugging
[60/62] Write Objects.LinkFileList
[61/62] Linking swift-test-codecov
Build complete! (26.72s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "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"
      ],
      "product_memberships" : [
        "swift-test-codecov"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftTestCodecovLib"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftTestCodecovLibTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTestCodecovLibTests",
      "path" : "Tests/SwiftTestCodecovLibTests",
      "sources" : [
        "PlaceholderTests.swift"
      ],
      "target_dependencies" : [
        "SwiftTestCodecovLib"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftTestCodecovLib",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTestCodecovLib",
      "path" : "Sources/SwiftTestCodecovLib",
      "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.