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 SwiftyProfiler with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KS1019/SwiftyProfiler.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/KS1019/SwiftyProfiler
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4c6c7c2 Update README.md
Cloned https://github.com/KS1019/SwiftyProfiler.git
Revision (git rev-parse @):
4c6c7c2f92e9545a69db919e434777572a8db37f
SUCCESS checkout https://github.com/KS1019/SwiftyProfiler.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/KS1019/SwiftyProfiler.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/13] Write sources
[4/13] Write swprofiler-entitlement.plist
[7/13] Write sources
[8/13] Compiling system-zlib anchor.c
[9/13] Write swift-version-6F35C1178C84523A.txt
[11/21] Emitting module ArgumentParserToolInfo
[12/21] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/56] Compiling ArgumentParser CommandConfiguration.swift
[14/56] Compiling ArgumentParser EnumerableFlag.swift
[15/56] Compiling ArgumentParser ExpressibleByArgument.swift
[16/56] Compiling ArgumentParser ParsableArguments.swift
[17/59] Compiling ArgumentParser Parsed.swift
[18/59] Compiling ArgumentParser ParsedValues.swift
[19/59] Compiling ArgumentParser ParserError.swift
[20/59] Compiling ArgumentParser SplitArguments.swift
[21/59] Compiling ArgumentParser Argument.swift
[22/59] Compiling ArgumentParser ArgumentHelp.swift
[23/59] Compiling ArgumentParser CompletionKind.swift
[24/59] Compiling ArgumentParser Errors.swift
[25/59] Emitting module ArgumentParser
[26/59] Compiling ArgumentParser ParsableArgumentsValidation.swift
[27/59] Compiling ArgumentParser ParsableCommand.swift
[28/59] Compiling ArgumentParser ArgumentDecoder.swift
[29/59] Compiling ArgumentParser ArgumentDefinition.swift
[30/59] Compiling ArgumentParser SequenceExtensions.swift
[31/59] Compiling ArgumentParser StringExtensions.swift
[32/59] Compiling ArgumentParser Tree.swift
[33/59] Compiling Gzip Data+Gzip.swift
[34/59] Emitting module Gzip
[35/59] Compiling SwiftyTextTable TextTable.swift
[36/59] Emitting module SwiftyTextTable
[37/59] Compiling ArgumentParser DumpHelpGenerator.swift
[38/59] Compiling ArgumentParser HelpCommand.swift
[39/59] Compiling ArgumentParser HelpGenerator.swift
[40/59] Compiling ArgumentParser Flag.swift
[41/59] Compiling ArgumentParser NameSpecification.swift
[42/59] Compiling ArgumentParser Option.swift
[43/59] Compiling ArgumentParser OptionGroup.swift
[44/59] Compiling ArgumentParser ArgumentSet.swift
[45/59] Compiling ArgumentParser CommandParser.swift
[46/59] Compiling ArgumentParser InputOrigin.swift
[47/59] Compiling ArgumentParser Name.swift
[48/59] Compiling ArgumentParser MessageInfo.swift
[49/59] Compiling ArgumentParser UsageGenerator.swift
[50/59] Compiling ArgumentParser CollectionExtensions.swift
[51/59] Compiling ArgumentParser BashCompletionsGenerator.swift
[52/59] Compiling ArgumentParser CompletionsGenerator.swift
[53/59] Compiling ArgumentParser FishCompletionsGenerator.swift
[54/59] Compiling ArgumentParser ZshCompletionsGenerator.swift
[55/59] Emitting module Files
[56/59] Compiling Files Files.swift
[57/63] Compiling SwiftyXcActivityLog Execution.swift
[58/63] Compiling SwiftyXcActivityLog Extensions.swift
[59/63] Compiling SwiftyXcActivityLog XcActivityLog.swift
[60/63] Emitting module SwiftyXcActivityLog
[61/66] Emitting module SwiftyProfiler
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyProfiler/main.swift:5:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | struct Profiler: ParsableCommand {
 5 |     static var configuration: CommandConfiguration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- 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
 6 |         commandName: "swprofiler",
 7 |         abstract: "",
[62/66] Compiling SwiftyProfiler Reporter.swift
[63/66] Compiling SwiftyProfiler main.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyProfiler/main.swift:5:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | struct Profiler: ParsableCommand {
 5 |     static var configuration: CommandConfiguration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- 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
 6 |         commandName: "swprofiler",
 7 |         abstract: "",
[63/66] Write Objects.LinkFileList
[64/66] Linking swprofiler
[65/66] Applying swprofiler
Build complete! (35.11s)
Fetching https://github.com/scottrhoyt/SwiftyTextTable
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/KS1019/SwiftyXcActivityLog
Fetching https://github.com/JohnSundell/Files
[1/929] Fetching swiftytexttable
[76/2420] Fetching swiftytexttable, gzipswift
[300/2540] Fetching swiftytexttable, gzipswift, swiftyxcactivitylog
[420/3771] Fetching swiftytexttable, gzipswift, swiftyxcactivitylog, files
[3342/15450] Fetching swiftytexttable, gzipswift, swiftyxcactivitylog, files, swift-argument-parser
Fetched https://github.com/1024jp/GzipSwift from cache (1.70s)
Fetched https://github.com/JohnSundell/Files from cache (1.70s)
Fetched https://github.com/KS1019/SwiftyXcActivityLog from cache (1.70s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable from cache (1.70s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.70s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable
Computed https://github.com/scottrhoyt/SwiftyTextTable at 0.9.0 (2.89s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.1 (0.71s)
Computing version for https://github.com/KS1019/SwiftyXcActivityLog
Computed https://github.com/KS1019/SwiftyXcActivityLog at 0.0.5 (0.70s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 5.1.1 (0.70s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (0.73s)
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.1
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable
Working copy of https://github.com/scottrhoyt/SwiftyTextTable resolved at 0.9.0
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.2.0
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 5.1.1
Creating working copy for https://github.com/KS1019/SwiftyXcActivityLog
Working copy of https://github.com/KS1019/SwiftyXcActivityLog resolved at 0.0.5
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftyxcactivitylog",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.5",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/KS1019/SwiftyXcActivityLog"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swiftytexttable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/scottrhoyt/SwiftyTextTable"
    }
  ],
  "manifest_display_name" : "SwiftyProfiler",
  "name" : "SwiftyProfiler",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    }
  ],
  "products" : [
    {
      "name" : "swprofiler",
      "targets" : [
        "SwiftyProfiler"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyProfilerTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyProfilerTests",
      "path" : "Tests/SwiftyProfilerTests",
      "sources" : [
        "SwiftyProfilerTests.swift"
      ],
      "target_dependencies" : [
        "SwiftyProfiler"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyProfiler",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyProfiler",
      "path" : "Sources/SwiftyProfiler",
      "product_dependencies" : [
        "SwiftyXcActivityLog",
        "SwiftyTextTable",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "swprofiler"
      ],
      "sources" : [
        "main.swift",
        "reporters/Reporter.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.5"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.