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 (401f6b), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 22:27:13 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/mattpolzin/swift-test-codecov.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/mattpolzin/TextTable.git
[1/189] Fetching texttable
Fetched https://github.com/mattpolzin/TextTable.git from cache (0.65s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/sharplet/Regex.git
[1/1254] Fetching regex
[817/13607] Fetching regex, swift-argument-parser
Fetched https://github.com/sharplet/Regex.git from cache (1.63s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.63s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (2.65s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.3 (0.69s)
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
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/mattpolzin/TextTable.git
Working copy of https://github.com/mattpolzin/TextTable.git resolved at swift-5 (5366206)
========================================
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/mattpolzin/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": [
          ]
        },
        {
          "identity": "texttable",
          "name": "TextTable",
          "url": "https://github.com/mattpolzin/TextTable.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TextTable",
          "dependencies": [
          ]
        },
        {
          "identity": "regex",
          "name": "Regex",
          "url": "https://github.com/sharplet/Regex.git",
          "version": "2.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Regex",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/mattpolzin/swift-test-codecov.git
[1/566] Fetching swift-test-codecov
Fetched https://github.com/mattpolzin/swift-test-codecov.git from cache (0.88s)
Fetching https://github.com/mattpolzin/TextTable.git from cache
Fetched https://github.com/mattpolzin/TextTable.git from cache (0.48s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/sharplet/Regex.git from cache
Fetched https://github.com/sharplet/Regex.git from cache (0.59s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.59s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (0.02s)
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/mattpolzin/swift-test-codecov.git
Working copy of https://github.com/mattpolzin/swift-test-codecov.git resolved at main (401f6bb)
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/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Creating working copy for https://github.com/mattpolzin/TextTable.git
Working copy of https://github.com/mattpolzin/TextTable.git resolved at swift-5 (5366206)
Found 3 product dependencies
  - swift-argument-parser
  - TextTable
  - Regex
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mattpolzin/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/11] Write sources
[3/11] Write swift-test-codecov-entitlement.plist
[3/11] Write sources
[7/11] Write swift-version--7754E27361AE5C74.txt
[9/32] Emitting module ArgumentParserToolInfo
[10/32] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/67] Compiling ArgumentParser CommandConfiguration.swift
[12/67] Compiling ArgumentParser EnumerableFlag.swift
[13/67] Compiling ArgumentParser ExpressibleByArgument.swift
[14/67] Compiling ArgumentParser ParsableArguments.swift
[15/70] Compiling ArgumentParser Argument.swift
[16/70] Compiling ArgumentParser ArgumentHelp.swift
[17/70] Compiling ArgumentParser CompletionKind.swift
[18/70] Compiling ArgumentParser Errors.swift
[19/70] Compiling ArgumentParser Parsed.swift
[20/70] Compiling ArgumentParser ParsedValues.swift
[21/70] Compiling ArgumentParser ParserError.swift
[22/70] Compiling ArgumentParser SplitArguments.swift
[23/70] Compiling ArgumentParser ParsableArgumentsValidation.swift
[24/70] Compiling ArgumentParser ParsableCommand.swift
[25/70] Compiling ArgumentParser ArgumentDecoder.swift
[26/70] Compiling ArgumentParser ArgumentDefinition.swift
[27/70] Compiling ArgumentParser BashCompletionsGenerator.swift
[28/70] Compiling ArgumentParser CompletionsGenerator.swift
[29/70] Compiling ArgumentParser FishCompletionsGenerator.swift
[30/70] Compiling ArgumentParser ZshCompletionsGenerator.swift
[31/70] Compiling ArgumentParser SequenceExtensions.swift
[32/70] Compiling ArgumentParser StringExtensions.swift
[33/70] Compiling ArgumentParser Tree.swift
[34/70] Emitting module ArgumentParser
[35/70] Compiling ArgumentParser ArgumentSet.swift
[36/70] Compiling ArgumentParser CommandParser.swift
[37/70] Compiling ArgumentParser InputOrigin.swift
[38/70] Compiling ArgumentParser Name.swift
[39/70] Compiling ArgumentParser MessageInfo.swift
[40/70] Compiling ArgumentParser UsageGenerator.swift
[41/70] Compiling ArgumentParser CollectionExtensions.swift
[42/70] Compiling ArgumentParser Flag.swift
[43/70] Compiling ArgumentParser NameSpecification.swift
[44/70] Compiling ArgumentParser Option.swift
[45/70] Compiling ArgumentParser OptionGroup.swift
[46/70] Compiling Regex MatchResult.swift
[47/70] Compiling Regex Regex.swift
[48/70] Compiling Regex ThreadLocal.swift
[49/70] Compiling Regex String+ReplaceMatching.swift
[50/70] Compiling Regex Foundation+Ranges.swift
[51/70] Emitting module Regex
[52/70] Compiling Regex Options.swift
[53/70] Compiling TextTable String+Util.swift
[54/70] Compiling TextTable SimpleFormat.swift
[55/70] Compiling TextTable PsqlFormat.swift
[56/70] Compiling TextTable RstFormat.swift
[57/71] Compiling TextTable PipeFormat.swift
[58/71] Compiling ArgumentParser HelpGenerator.swift
[60/71] Compiling TextTable OrgFormat.swift
[61/71] Compiling ArgumentParser DumpHelpGenerator.swift
[62/71] Compiling ArgumentParser HelpCommand.swift
[63/71] Emitting module TextTable
[64/71] Compiling TextTable PlainFormat.swift
[68/74] Compiling TextTable TextTable.swift
[69/74] Compiling SwiftTestCodecovLib Aggregate.swift
[70/74] Compiling SwiftTestCodecovLib CodeCov.swift
[71/74] Emitting module SwiftTestCodecovLib
[72/76] Emitting module swift_test_codecov
/Users/admin/builder/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 = """
/Users/admin/builder/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",
/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
    :
 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",
[73/76] Compiling swift_test_codecov main.swift
/Users/admin/builder/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 = """
/Users/admin/builder/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",
/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
    :
 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",
[73/76] Write Objects.LinkFileList
[74/76] Linking swift-test-codecov
[75/76] Applying swift-test-codecov
Build complete! (18.82s)
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" : "/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",
        "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.