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 0.13.0 (67d173), with Swift 6.0 for Linux on 2 Nov 2024 22:19:31 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattpolzin/swift-test-codecov.git
Reference: 0.13.0
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
 * tag               0.13.0     -> FETCH_HEAD
HEAD is now at 67d173e Merge pull request #21 from mattpolzin/feature/20/fractional-minimum
Cloned https://github.com/mattpolzin/swift-test-codecov.git
Revision (git rev-parse @):
67d173ebf642b7b70038aaf9d3734ecda2473274
SUCCESS checkout https://github.com/mattpolzin/swift-test-codecov.git at 0.13.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mattpolzin/swift-test-codecov.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/mattpolzin/TextTable.git
[1/189] Fetching texttable
Fetched https://github.com/mattpolzin/TextTable.git from cache (0.20s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/sharplet/Regex.git
[1/1254] Fetching regex
[892/13607] Fetching regex, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.66s)
Fetched https://github.com/sharplet/Regex.git from cache (0.67s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (1.92s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.2 (0.46s)
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/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 0.3.2
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/64] Emitting module Regex
[8/64] Compiling ArgumentParser Option.swift
[9/64] Compiling ArgumentParser OptionGroup.swift
[10/64] Compiling ArgumentParser CommandConfiguration.swift
[11/64] Compiling ArgumentParser EnumerableFlag.swift
[12/64] Compiling ArgumentParser ExpressibleByArgument.swift
[13/64] Compiling ArgumentParser BashCompletionsGenerator.swift
[14/64] Compiling ArgumentParser CompletionsGenerator.swift
[15/64] Compiling ArgumentParser FishCompletionsGenerator.swift
[16/64] Compiling ArgumentParser ZshCompletionsGenerator.swift
[17/64] Compiling ArgumentParser Argument.swift
[18/64] Emitting module ArgumentParser
[19/68] Compiling TextTable String+Util.swift
[20/69] Compiling Regex ThreadLocal.swift
[21/69] Compiling ArgumentParser ParsableArguments.swift
[22/69] Compiling ArgumentParser ParsableArgumentsValidation.swift
[23/69] Compiling ArgumentParser ParsableCommand.swift
[24/69] Compiling ArgumentParser ArgumentDecoder.swift
[25/69] Compiling ArgumentParser Name.swift
[26/69] Compiling ArgumentParser Parsed.swift
[27/69] Compiling ArgumentParser ParsedValues.swift
[28/69] Compiling ArgumentParser ParserError.swift
[29/69] Compiling ArgumentParser ArgumentDefinition.swift
[30/69] Compiling ArgumentParser ArgumentSet.swift
[31/69] Compiling ArgumentParser CommandParser.swift
[32/69] Compiling ArgumentParser InputOrigin.swift
[33/69] Compiling ArgumentParser SplitArguments.swift
[34/69] Compiling ArgumentParser HelpCommand.swift
[35/69] Compiling ArgumentParser HelpGenerator.swift
[36/69] Compiling ArgumentParser MessageInfo.swift
[37/69] Compiling ArgumentParser ArgumentHelp.swift
[38/69] Compiling ArgumentParser CompletionKind.swift
[39/69] Compiling ArgumentParser Errors.swift
[40/69] Compiling ArgumentParser Flag.swift
[41/69] Compiling ArgumentParser NameSpecification.swift
[42/69] Compiling Regex Regex.swift
[43/69] Compiling Regex String+ReplaceMatching.swift
[44/69] Compiling Regex Options.swift
[45/69] Compiling TextTable RstFormat.swift
[46/69] Compiling TextTable SimpleFormat.swift
[49/69] Emitting module TextTable
[56/69] Compiling Regex Foundation+Ranges.swift
[57/69] Compiling Regex MatchResult.swift
[58/70] Wrapping AST for Regex for debugging
[60/70] Compiling TextTable TextTable.swift
[62/74] Compiling ArgumentParser UsageGenerator.swift
[63/74] Compiling ArgumentParser SequenceExtensions.swift
[64/74] Compiling ArgumentParser StringExtensions.swift
[65/74] Compiling ArgumentParser Tree.swift
[67/75] Emitting module SwiftTestCodecovLib
[68/75] Compiling SwiftTestCodecovLib Aggregate.swift
[69/75] Compiling SwiftTestCodecovLib CodeCov.swift
[70/76] Wrapping AST for TextTable for debugging
[71/76] Wrapping AST for ArgumentParser for debugging
[72/76] Wrapping AST for SwiftTestCodecovLib for debugging
[74/78] 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",
[75/78] 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",
[76/79] Wrapping AST for swift-test-codecov for debugging
[77/79] Write Objects.LinkFileList
[78/79] Linking swift-test-codecov
Build complete! (35.90s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.1",
            "upper_bound" : "0.4.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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.