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, reference main (b1085f), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 02:52:08 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/swift-test-codecov.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/apple/swift-argument-parser
[1/12353] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.1.2 (0.75s)
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-test-codecov",
      "name": "swift-test-codecov",
      "url": "https://github.com/brightdigit/swift-test-codecov.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-test-codecov",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/brightdigit/swift-test-codecov.git
[4/330] Fetching swift-test-codecov
Fetched https://github.com/brightdigit/swift-test-codecov.git from cache (0.83s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.53s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/brightdigit/swift-test-codecov.git
Working copy of https://github.com/brightdigit/swift-test-codecov.git resolved at main (b1085f5)
Found 1 product dependencies
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/brightdigit/swift-test-codecov.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/9] Write sources
[3/9] Write swift-test-codecov-entitlement.plist
[3/9] Write sources
[5/9] Write swift-version--7754E27361AE5C74.txt
[7/14] Emitting module ArgumentParserToolInfo
[8/14] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/51] Compiling ArgumentParser OptionGroup.swift
[10/51] Compiling ArgumentParser AsyncParsableCommand.swift
[11/51] Compiling ArgumentParser CommandConfiguration.swift
[12/51] Compiling ArgumentParser EnumerableFlag.swift
[13/54] Compiling ArgumentParser SequenceExtensions.swift
[14/54] Compiling ArgumentParser StringExtensions.swift
[15/54] Compiling ArgumentParser Tree.swift
[16/54] Emitting module ArgumentParser
[17/54] Compiling ArgumentParser BashCompletionsGenerator.swift
[18/54] Compiling ArgumentParser CompletionsGenerator.swift
[19/54] Compiling ArgumentParser FishCompletionsGenerator.swift
[20/54] Compiling ArgumentParser ZshCompletionsGenerator.swift
[21/54] Compiling ArgumentParser ExpressibleByArgument.swift
[22/54] Compiling ArgumentParser ParsableArguments.swift
[23/54] Compiling ArgumentParser ParsableArgumentsValidation.swift
[24/54] Compiling ArgumentParser ParsableCommand.swift
[25/54] Compiling ArgumentParser Errors.swift
[26/54] Compiling ArgumentParser Flag.swift
[27/54] Compiling ArgumentParser NameSpecification.swift
[28/54] Compiling ArgumentParser Option.swift
[29/54] Compiling ArgumentParser Argument.swift
[30/54] Compiling ArgumentParser ArgumentHelp.swift
[31/54] Compiling ArgumentParser ArgumentVisibility.swift
[32/54] Compiling ArgumentParser CompletionKind.swift
[33/54] Compiling SwiftTestCodecovLib Aggregate.swift
[34/54] Compiling SwiftTestCodecovLib CodeCov.swift
[35/54] Emitting module SwiftTestCodecovLib
[36/54] Compiling ArgumentParser ArgumentDecoder.swift
[37/54] Compiling ArgumentParser ArgumentDefinition.swift
[38/54] Compiling ArgumentParser ArgumentSet.swift
[39/54] Compiling ArgumentParser CommandParser.swift
[40/54] Compiling ArgumentParser ParserError.swift
[41/54] Compiling ArgumentParser SplitArguments.swift
[42/54] Compiling ArgumentParser DumpHelpGenerator.swift
[43/54] Compiling ArgumentParser HelpCommand.swift
[44/54] Compiling ArgumentParser InputOrigin.swift
[45/54] Compiling ArgumentParser Name.swift
[46/54] Compiling ArgumentParser Parsed.swift
[47/54] Compiling ArgumentParser ParsedValues.swift
[48/54] Compiling ArgumentParser HelpGenerator.swift
[49/54] Compiling ArgumentParser MessageInfo.swift
[50/54] Compiling ArgumentParser UsageGenerator.swift
[51/54] Compiling ArgumentParser CollectionExtensions.swift
[52/56] Emitting module swift_test_codecov
/Users/admin/builder/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 = """
/Users/admin/builder/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",
/Users/admin/builder/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 |   ///
/Users/admin/builder/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",
[53/56] Compiling swift_test_codecov main.swift
/Users/admin/builder/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 = """
/Users/admin/builder/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",
/Users/admin/builder/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 |   ///
/Users/admin/builder/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",
[53/56] Write Objects.LinkFileList
[54/56] Linking swift-test-codecov
[55/56] Applying swift-test-codecov
Build complete! (8.34s)
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" : "/Users/admin/builder/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.