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 v0.0.13 (d5908a), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 04:55:56 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: v0.0.13
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/KS1019/SwiftyProfiler
 * tag               v0.0.13    -> FETCH_HEAD
HEAD is now at d5908a9 fix
Cloned https://github.com/KS1019/SwiftyProfiler.git
Revision (git rev-parse @):
d5908a9f02220dba64294a27dcf69c8c5526c6a1
SUCCESS checkout https://github.com/KS1019/SwiftyProfiler.git at v0.0.13
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/scottrhoyt/SwiftyTextTable
Fetching https://github.com/JohnSundell/Files
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/KS1019/SwiftyXcActivityLog
[1/1231] Fetching files
[211/2160] Fetching files, swiftytexttable
[286/2280] Fetching files, swiftytexttable, swiftyxcactivitylog
[616/3816] Fetching files, swiftytexttable, swiftyxcactivitylog, gzipswift
[3325/16169] Fetching files, swiftytexttable, swiftyxcactivitylog, gzipswift, swift-argument-parser
Fetched https://github.com/JohnSundell/Files from cache (4.01s)
Fetched https://github.com/apple/swift-argument-parser from cache (4.01s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable from cache (4.01s)
Fetched https://github.com/KS1019/SwiftyXcActivityLog from cache (4.01s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable
Fetched https://github.com/1024jp/GzipSwift from cache (4.01s)
Computed https://github.com/scottrhoyt/SwiftyTextTable at 0.9.0 (2.64s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.1 (0.68s)
Computing version for https://github.com/KS1019/SwiftyXcActivityLog
Computed https://github.com/KS1019/SwiftyXcActivityLog at 0.0.5 (0.64s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 5.1.1 (0.65s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (0.64s)
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
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable
Working copy of https://github.com/scottrhoyt/SwiftyTextTable resolved at 0.9.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.62s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/KS1019/SwiftyXcActivityLog from cache
Fetching https://github.com/scottrhoyt/SwiftyTextTable from cache
Fetched https://github.com/KS1019/SwiftyXcActivityLog from cache (0.54s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable from cache (0.53s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.62s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable
Computed https://github.com/scottrhoyt/SwiftyTextTable at 0.9.0 (0.02s)
Computing version for https://github.com/KS1019/SwiftyXcActivityLog
Computed https://github.com/KS1019/SwiftyXcActivityLog at 0.0.5 (0.02s)
Fetching https://github.com/1024jp/GzipSwift from cache
Fetching https://github.com/JohnSundell/Files from cache
Fetched https://github.com/1024jp/GzipSwift from cache (0.46s)
Fetched https://github.com/JohnSundell/Files from cache (0.46s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (0.03s)
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.52s)
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/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.2.0
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.5.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/SwiftyProfiler.git
Working copy of https://github.com/KS1019/SwiftyProfiler.git resolved at v0.0.13 (d5908a9)
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
[1/13] Write swprofiler-entitlement.plist
[1/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 Parsed.swift
[18/59] Compiling ArgumentParser ParsedValues.swift
[19/59] Compiling ArgumentParser ParserError.swift
[20/59] Compiling ArgumentParser SplitArguments.swift
[21/59] Compiling ArgumentParser BashCompletionsGenerator.swift
[22/59] Compiling ArgumentParser CompletionsGenerator.swift
[23/59] Compiling ArgumentParser FishCompletionsGenerator.swift
[24/59] Compiling ArgumentParser ZshCompletionsGenerator.swift
[25/59] Emitting module ArgumentParser
[26/59] Compiling ArgumentParser SequenceExtensions.swift
[27/59] Compiling ArgumentParser StringExtensions.swift
[28/59] Compiling ArgumentParser Tree.swift
[29/59] Emitting module SwiftyTextTable
[30/59] Compiling SwiftyTextTable TextTable.swift
[31/59] Emitting module Gzip
[32/59] Compiling Gzip Data+Gzip.swift
[33/59] Compiling ArgumentParser MessageInfo.swift
[34/59] Compiling ArgumentParser UsageGenerator.swift
[35/59] Compiling ArgumentParser CollectionExtensions.swift
[36/59] Compiling ArgumentParser CommandConfiguration.swift
[37/59] Compiling ArgumentParser EnumerableFlag.swift
[38/59] Compiling ArgumentParser ExpressibleByArgument.swift
[39/59] Compiling ArgumentParser ParsableArguments.swift
[40/59] Compiling ArgumentParser ArgumentSet.swift
[41/59] Compiling ArgumentParser CommandParser.swift
[42/59] Compiling ArgumentParser InputOrigin.swift
[43/59] Compiling ArgumentParser Name.swift
[44/59] Compiling ArgumentParser ParsableArgumentsValidation.swift
[45/59] Compiling ArgumentParser ParsableCommand.swift
[46/59] Compiling ArgumentParser ArgumentDecoder.swift
[47/59] Compiling ArgumentParser ArgumentDefinition.swift
[48/59] Compiling ArgumentParser Flag.swift
[49/59] Compiling ArgumentParser NameSpecification.swift
[50/59] Compiling ArgumentParser Option.swift
[51/59] Compiling ArgumentParser OptionGroup.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] Compiling SwiftyXcActivityLog Extensions.swift
[58/63] Emitting module SwiftyXcActivityLog
[59/63] Compiling SwiftyXcActivityLog XcActivityLog.swift
[60/63] Compiling SwiftyXcActivityLog Execution.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: 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] 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: "",
[63/66] Compiling SwiftyProfiler Reporter.swift
[63/66] Write Objects.LinkFileList
[64/66] Linking swprofiler
[65/66] Applying swprofiler
Build complete! (12.49s)
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",
        "XCTestManifests.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.3"
}
Done.