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 28 Nov 2024 10:50:47 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 -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.58.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/KS1019/SwiftyXcActivityLog
Fetching https://github.com/scottrhoyt/SwiftyTextTable
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/JohnSundell/Files
Fetching https://github.com/1024jp/GzipSwift
[1/1231] Fetching files
[186/2771] Fetching files, gzipswift
[417/3700] Fetching files, gzipswift, swiftytexttable
[492/3820] Fetching files, gzipswift, swiftytexttable, swiftyxcactivitylog
[3272/16215] Fetching files, gzipswift, swiftytexttable, swiftyxcactivitylog, swift-argument-parser
Fetched https://github.com/JohnSundell/Files from cache (0.97s)
Fetched https://github.com/KS1019/SwiftyXcActivityLog from cache (0.97s)
[1987/14864] Fetching gzipswift, swiftytexttable, swift-argument-parser
Fetched https://github.com/scottrhoyt/SwiftyTextTable from cache (1.52s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.52s)
Fetched https://github.com/1024jp/GzipSwift from cache (1.52s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable
Computed https://github.com/scottrhoyt/SwiftyTextTable at 0.9.0 (2.46s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.1 (0.58s)
Computing version for https://github.com/KS1019/SwiftyXcActivityLog
Computed https://github.com/KS1019/SwiftyXcActivityLog at 0.0.5 (0.69s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 5.1.1 (0.73s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (0.53s)
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/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/scottrhoyt/SwiftyTextTable
Working copy of https://github.com/scottrhoyt/SwiftyTextTable resolved at 0.9.0
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 5.1.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.72s)
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/apple/swift-argument-parser from cache (0.58s)
Fetched https://github.com/KS1019/SwiftyXcActivityLog from cache (0.58s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable from cache (0.58s)
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/JohnSundell/Files from cache (0.49s)
Fetched https://github.com/1024jp/GzipSwift from cache (0.49s)
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.51s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.42s)
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/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/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 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 -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
[3/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] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/21] Emitting module ArgumentParserToolInfo
[13/56] Emitting module SwiftyTextTable
[14/56] Compiling ArgumentParser Parsed.swift
[15/56] Compiling ArgumentParser ParsedValues.swift
[16/56] Compiling ArgumentParser ParserError.swift
[17/56] Compiling ArgumentParser SplitArguments.swift
[18/59] Compiling ArgumentParser CommandConfiguration.swift
[19/59] Compiling ArgumentParser EnumerableFlag.swift
[20/59] Compiling ArgumentParser ExpressibleByArgument.swift
[21/59] Compiling ArgumentParser ParsableArguments.swift
[22/59] Compiling ArgumentParser BashCompletionsGenerator.swift
[23/59] Compiling ArgumentParser CompletionsGenerator.swift
[24/59] Compiling ArgumentParser FishCompletionsGenerator.swift
[25/59] Compiling ArgumentParser ZshCompletionsGenerator.swift
[26/59] Emitting module ArgumentParser
[27/59] Compiling ArgumentParser ArgumentSet.swift
[28/59] Compiling ArgumentParser CommandParser.swift
[29/59] Compiling ArgumentParser InputOrigin.swift
[30/59] Compiling ArgumentParser Name.swift
[31/59] Compiling ArgumentParser SequenceExtensions.swift
[32/59] Compiling ArgumentParser StringExtensions.swift
[33/59] Compiling ArgumentParser Tree.swift
[34/59] Compiling SwiftyTextTable TextTable.swift
[35/59] Compiling Gzip Data+Gzip.swift
[36/59] Emitting module Gzip
[37/59] Compiling ArgumentParser ParsableArgumentsValidation.swift
[38/59] Compiling ArgumentParser ParsableCommand.swift
[39/59] Compiling ArgumentParser ArgumentDecoder.swift
[40/59] Compiling ArgumentParser ArgumentDefinition.swift
[41/59] Compiling ArgumentParser Flag.swift
[42/59] Compiling ArgumentParser NameSpecification.swift
[43/59] Compiling ArgumentParser Option.swift
[44/59] Compiling ArgumentParser OptionGroup.swift
[45/59] Compiling ArgumentParser Argument.swift
[46/59] Compiling ArgumentParser ArgumentHelp.swift
[47/59] Compiling ArgumentParser CompletionKind.swift
[48/59] Compiling ArgumentParser Errors.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] Emitting module SwiftyXcActivityLog
[59/63] Compiling SwiftyXcActivityLog Extensions.swift
[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: 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] 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] Write Objects.LinkFileList
[64/66] Linking swprofiler
[65/66] Applying swprofiler
Build complete! (11.39s)
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.