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.1 for macOS (SPM) on 26 Apr 2025 19:27:27 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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/scottrhoyt/SwiftyTextTable
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/KS1019/SwiftyXcActivityLog
Fetching https://github.com/JohnSundell/Files
Fetching https://github.com/apple/swift-argument-parser from cache
[1/120] Fetching swiftyxcactivitylog
[25/1356] Fetching swiftyxcactivitylog, files
Fetched https://github.com/KS1019/SwiftyXcActivityLog from cache (0.60s)
[212/2165] Fetching files, swiftytexttable
[287/3714] Fetching files, swiftytexttable, gzipswift
Fetched https://github.com/JohnSundell/Files from cache (0.83s)
Fetched https://github.com/1024jp/GzipSwift from cache (0.83s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.83s)
[446/929] Fetching swiftytexttable
Fetched https://github.com/scottrhoyt/SwiftyTextTable from cache (0.91s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable
Computed https://github.com/scottrhoyt/SwiftyTextTable at 0.9.0 (1.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.1 (0.59s)
Computing version for https://github.com/KS1019/SwiftyXcActivityLog
Computed https://github.com/KS1019/SwiftyXcActivityLog at 0.0.5 (0.57s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 5.1.1 (0.58s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (0.58s)
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/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/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
========================================
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.57s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/scottrhoyt/SwiftyTextTable from cache
Fetching https://github.com/KS1019/SwiftyXcActivityLog from cache
Fetched https://github.com/KS1019/SwiftyXcActivityLog from cache (0.51s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable from cache (0.51s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.51s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable
Computed https://github.com/scottrhoyt/SwiftyTextTable at 0.9.0 (0.57s)
Computing version for https://github.com/KS1019/SwiftyXcActivityLog
Computed https://github.com/KS1019/SwiftyXcActivityLog at 0.0.5 (0.02s)
Fetching https://github.com/JohnSundell/Files from cache
Fetching https://github.com/1024jp/GzipSwift from cache
Fetched https://github.com/1024jp/GzipSwift from cache (0.47s)
Fetched https://github.com/JohnSundell/Files from cache (0.47s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (0.52s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 5.2.0 (0.53s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.50s)
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/KS1019/SwiftyProfiler.git
Working copy of https://github.com/KS1019/SwiftyProfiler.git resolved at main (4c6c7c2)
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.2.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.5.0
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable
Working copy of https://github.com/scottrhoyt/SwiftyTextTable resolved at 0.9.0
Found 3 product dependencies
  - SwiftyXcActivityLog
  - swift-argument-parser
  - SwiftyTextTable
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/KS1019/SwiftyProfiler.git
https://github.com/KS1019/SwiftyProfiler.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/13] Write sources
[0/13] Write swprofiler-entitlement.plist
[2/13] Write sources
[8/13] Compiling system-zlib anchor.c
[9/13] Write swift-version-2F0A5646E1D333AE.txt
[11/21] Emitting module ArgumentParserToolInfo
[12/21] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/56] Emitting module ArgumentParser
[14/59] Compiling ArgumentParser ArgumentSet.swift
[15/59] Compiling ArgumentParser CommandParser.swift
[16/59] Compiling ArgumentParser InputOrigin.swift
[17/59] Compiling ArgumentParser Name.swift
[18/59] Compiling ArgumentParser SequenceExtensions.swift
[19/59] Compiling ArgumentParser StringExtensions.swift
[20/59] Compiling ArgumentParser Tree.swift
[21/59] Compiling ArgumentParser Parsed.swift
[22/59] Compiling ArgumentParser ParsedValues.swift
[23/59] Compiling ArgumentParser ParserError.swift
[24/59] Compiling ArgumentParser SplitArguments.swift
[25/59] Compiling ArgumentParser Flag.swift
[26/59] Compiling ArgumentParser NameSpecification.swift
[27/59] Compiling ArgumentParser Option.swift
[28/59] Compiling ArgumentParser OptionGroup.swift
[29/59] Compiling ArgumentParser CommandConfiguration.swift
[30/59] Compiling ArgumentParser EnumerableFlag.swift
[31/59] Compiling ArgumentParser ExpressibleByArgument.swift
[32/59] Compiling ArgumentParser ParsableArguments.swift
[33/59] Compiling ArgumentParser ParsableArgumentsValidation.swift
[34/59] Compiling ArgumentParser ParsableCommand.swift
[35/59] Compiling ArgumentParser ArgumentDecoder.swift
[36/59] Compiling ArgumentParser ArgumentDefinition.swift
[37/59] Compiling ArgumentParser Argument.swift
[38/59] Compiling ArgumentParser ArgumentHelp.swift
[39/59] Compiling ArgumentParser CompletionKind.swift
[40/59] Compiling ArgumentParser Errors.swift
[41/59] Compiling SwiftyTextTable TextTable.swift
[42/59] Emitting module SwiftyTextTable
[43/59] Compiling Gzip Data+Gzip.swift
[44/59] Emitting module Gzip
[45/59] Compiling ArgumentParser BashCompletionsGenerator.swift
[46/59] Compiling ArgumentParser CompletionsGenerator.swift
[47/59] Compiling ArgumentParser FishCompletionsGenerator.swift
[48/59] Compiling ArgumentParser ZshCompletionsGenerator.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] Compiling Files Files.swift
[56/59] Emitting module Files
[57/63] Compiling SwiftyXcActivityLog Execution.swift
[58/63] Compiling SwiftyXcActivityLog Extensions.swift
[59/63] Emitting module SwiftyXcActivityLog
[60/63] Compiling SwiftyXcActivityLog XcActivityLog.swift
[61/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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |         commandName: "swprofiler",
 7 |         abstract: "",
[62/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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |         commandName: "swprofiler",
 7 |         abstract: "",
[63/66] Compiling SwiftyProfiler Reporter.swift
[63/66] Write Objects.LinkFileList
[64/66] Linking swprofiler
[65/66] Applying swprofiler
Build complete! (10.20s)
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.