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, reference main (4c6c7c), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 04:55:06 UTC.

Swift 6 data race errors: 1

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/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
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/scottrhoyt/SwiftyTextTable
Fetching https://github.com/JohnSundell/Files
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/KS1019/SwiftyXcActivityLog
[1/120] Fetching swiftyxcactivitylog
[121/1656] Fetching swiftyxcactivitylog, gzipswift
[152/2585] Fetching swiftyxcactivitylog, gzipswift, swiftytexttable
[291/3816] Fetching swiftyxcactivitylog, gzipswift, swiftytexttable, files
[2972/16169] Fetching swiftyxcactivitylog, gzipswift, swiftytexttable, files, swift-argument-parser
Fetched https://github.com/JohnSundell/Files from cache (0.96s)
[2709/14938] Fetching swiftyxcactivitylog, gzipswift, swiftytexttable, swift-argument-parser
Fetched https://github.com/KS1019/SwiftyXcActivityLog from cache (1.55s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.55s)
Fetched https://github.com/1024jp/GzipSwift from cache (1.55s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable from cache (1.55s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable
Computed https://github.com/scottrhoyt/SwiftyTextTable at 0.9.0 (2.63s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.1 (0.69s)
Computing version for https://github.com/KS1019/SwiftyXcActivityLog
Computed https://github.com/KS1019/SwiftyXcActivityLog at 0.0.5 (0.68s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 5.1.1 (0.68s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (0.70s)
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/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/KS1019/SwiftyXcActivityLog
Working copy of https://github.com/KS1019/SwiftyXcActivityLog resolved at 0.0.5
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/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.2.0
========================================
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": "swiftyprofiler",
      "name": "SwiftyProfiler",
      "url": "https://github.com/KS1019/SwiftyProfiler.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyProfiler",
      "dependencies": [
        {
          "identity": "swiftyxcactivitylog",
          "name": "SwiftyXcActivityLog",
          "url": "https://github.com/KS1019/SwiftyXcActivityLog",
          "version": "0.0.5",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyXcActivityLog",
          "dependencies": [
            {
              "identity": "files",
              "name": "Files",
              "url": "https://github.com/JohnSundell/Files",
              "version": "4.2.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Files",
              "dependencies": [
              ]
            },
            {
              "identity": "gzipswift",
              "name": "Gzip",
              "url": "https://github.com/1024jp/GzipSwift",
              "version": "5.2.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GzipSwift",
              "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": "swiftytexttable",
          "name": "SwiftyTextTable",
          "url": "https://github.com/scottrhoyt/SwiftyTextTable",
          "version": "0.9.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyTextTable",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/KS1019/SwiftyProfiler.git
[1/198] Fetching swiftyprofiler
Fetched https://github.com/KS1019/SwiftyProfiler.git from cache (0.64s)
Fetching https://github.com/scottrhoyt/SwiftyTextTable from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/KS1019/SwiftyXcActivityLog from cache
Fetched https://github.com/KS1019/SwiftyXcActivityLog from cache (0.46s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable from cache (0.46s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.59s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable
Computed https://github.com/scottrhoyt/SwiftyTextTable at 0.9.0 (0.03s)
Computing version for https://github.com/KS1019/SwiftyXcActivityLog
Computed https://github.com/KS1019/SwiftyXcActivityLog at 0.0.5 (0.03s)
Fetching https://github.com/1024jp/GzipSwift from cache
Fetching https://github.com/JohnSundell/Files from cache
Fetched https://github.com/JohnSundell/Files from cache (0.44s)
Fetched https://github.com/1024jp/GzipSwift from cache (0.44s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (0.02s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 5.2.0 (0.65s)
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/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.2.0
Creating working copy for https://github.com/KS1019/SwiftyXcActivityLog
Working copy of https://github.com/KS1019/SwiftyXcActivityLog resolved at 0.0.5
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/KS1019/SwiftyProfiler.git
Working copy of https://github.com/KS1019/SwiftyProfiler.git resolved at main (4c6c7c2)
Found 3 product dependencies
  - SwiftyXcActivityLog
  - swift-argument-parser
  - SwiftyTextTable
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/KS1019/SwiftyProfiler.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/13] Write sources
[5/13] Write swprofiler-entitlement.plist
[7/13] Write sources
[8/13] Compiling system-zlib anchor.c
[9/13] Write swift-version--7754E27361AE5C74.txt
[11/21] Emitting module ArgumentParserToolInfo
[12/21] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/56] Compiling ArgumentParser Argument.swift
[14/56] Compiling ArgumentParser ArgumentHelp.swift
[15/56] Compiling ArgumentParser CompletionKind.swift
[16/56] Compiling ArgumentParser Errors.swift
[17/59] Compiling ArgumentParser CommandConfiguration.swift
[18/59] Compiling ArgumentParser EnumerableFlag.swift
[19/59] Compiling ArgumentParser ExpressibleByArgument.swift
[20/59] Compiling ArgumentParser ParsableArguments.swift
[21/59] Compiling ArgumentParser Flag.swift
[22/59] Compiling ArgumentParser NameSpecification.swift
[23/59] Compiling ArgumentParser Option.swift
[24/59] Compiling ArgumentParser OptionGroup.swift
[25/59] Compiling ArgumentParser BashCompletionsGenerator.swift
[26/59] Compiling ArgumentParser CompletionsGenerator.swift
[27/59] Compiling ArgumentParser FishCompletionsGenerator.swift
[28/59] Compiling ArgumentParser ZshCompletionsGenerator.swift
[29/59] Compiling ArgumentParser Parsed.swift
[30/59] Compiling ArgumentParser ParsedValues.swift
[31/59] Compiling ArgumentParser ParserError.swift
[32/59] Compiling ArgumentParser SplitArguments.swift
[33/59] Emitting module ArgumentParser
[34/59] Compiling ArgumentParser ParsableArgumentsValidation.swift
[35/59] Compiling ArgumentParser ParsableCommand.swift
[36/59] Compiling ArgumentParser ArgumentDecoder.swift
[37/59] Compiling ArgumentParser ArgumentDefinition.swift
[38/59] Compiling ArgumentParser SequenceExtensions.swift
[39/59] Compiling ArgumentParser StringExtensions.swift
[40/59] Compiling ArgumentParser Tree.swift
[41/59] Emitting module SwiftyTextTable
[42/59] Compiling SwiftyTextTable TextTable.swift
[43/59] Emitting module Gzip
[44/59] Compiling Gzip Data+Gzip.swift
[45/59] Compiling ArgumentParser ArgumentSet.swift
[46/59] Compiling ArgumentParser CommandParser.swift
[47/59] Compiling ArgumentParser InputOrigin.swift
[48/59] Compiling ArgumentParser Name.swift
[49/59] Compiling ArgumentParser MessageInfo.swift
[50/59] Compiling ArgumentParser UsageGenerator.swift
[51/59] Compiling ArgumentParser CollectionExtensions.swift
[52/59] Compiling ArgumentParser DumpHelpGenerator.swift
[53/59] Compiling ArgumentParser HelpCommand.swift
[54/59] Compiling ArgumentParser HelpGenerator.swift
[55/59] Emitting module Files
[56/59] Compiling Files Files.swift
[57/63] Emitting module SwiftyXcActivityLog
[58/63] Compiling SwiftyXcActivityLog Extensions.swift
[59/63] Compiling SwiftyXcActivityLog XcActivityLog.swift
[60/63] Compiling SwiftyXcActivityLog Execution.swift
[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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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! (12.91s)
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.