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 Builder 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/elegantchaos/Builder.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/elegantchaos/Builder
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 778668b Update README.md
Cloned https://github.com/elegantchaos/Builder.git
Revision (git rev-parse @):
778668bb58d0bdc85dfb2027219bd538e9a8ffc0
SUCCESS checkout https://github.com/elegantchaos/Builder.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/elegantchaos/Builder.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/9] Write sources
[3/9] Write builder-entitlement.plist
[3/9] Write sources
[5/9] Write swift-version-6F35C1178C84523A.txt
[7/50] Emitting module ArgumentParser
[8/53] Compiling ArgumentParser SequenceExtensions.swift
[9/53] Compiling ArgumentParser StringExtensions.swift
[10/53] Compiling ArgumentParser Tree.swift
[11/53] Compiling ArgumentParser Name.swift
[12/53] Compiling ArgumentParser Parsed.swift
[13/53] Compiling ArgumentParser ParsedValues.swift
[14/53] Compiling ArgumentParser ParsableArgumentsValidation.swift
[15/53] Compiling ArgumentParser ParsableCommand.swift
[16/53] Compiling ArgumentParser ArgumentDecoder.swift
[17/53] Compiling ArgumentParser ArgumentDefinition.swift
[18/53] Compiling ArgumentParser Flag.swift
[19/53] Compiling ArgumentParser NameSpecification.swift
[20/53] Compiling ArgumentParser Option.swift
[21/53] Compiling ArgumentParser OptionGroup.swift
[22/53] Compiling ArgumentParser ArgumentSet.swift
[23/53] Compiling ArgumentParser CommandParser.swift
[24/53] Compiling ArgumentParser InputOrigin.swift
[25/53] Compiling ArgumentParser ParserError.swift
[26/53] Compiling ArgumentParser SplitArguments.swift
[27/53] Compiling ArgumentParser HelpCommand.swift
[28/53] Compiling ArgumentParser CommandConfiguration.swift
[29/53] Compiling ArgumentParser EnumerableFlag.swift
[30/53] Compiling ArgumentParser ExpressibleByArgument.swift
[31/53] Compiling ArgumentParser ParsableArguments.swift
[32/53] Compiling ArgumentParser BashCompletionsGenerator.swift
[33/53] Compiling ArgumentParser CompletionsGenerator.swift
[34/53] Compiling ArgumentParser FishCompletionsGenerator.swift
[35/53] Compiling ArgumentParser ZshCompletionsGenerator.swift
[36/53] Compiling Logger PrintHandler.swift
[37/53] Compiling Logger Manager.swift
[38/53] Compiling Logger Handler.swift
[39/53] Compiling Logger Context.swift
[40/53] Compiling Logger NSLogHandler.swift
[41/53] Compiling Logger OSLogHandler.swift
[42/53] Compiling Logger Channel.swift
[43/53] Emitting module Logger
[44/53] Compiling ArgumentParser Argument.swift
[45/53] Compiling ArgumentParser ArgumentHelp.swift
[46/53] Compiling ArgumentParser CompletionKind.swift
[47/53] Compiling ArgumentParser Errors.swift
[48/53] Compiling ArgumentParser HelpGenerator.swift
[49/53] Compiling ArgumentParser MessageInfo.swift
[50/53] Compiling ArgumentParser UsageGenerator.swift
[51/69] Compiling BuilderCore StringExtensions.swift
[52/69] Compiling BuilderCore SwiftSettingsMapper.swift
[53/69] Compiling BuilderCore RunAction.swift
[54/69] Compiling BuilderCore SemanticVersion.swift
[55/69] Compiling BuilderCore SettingsValue.swift
[56/69] Compiling BuilderCore BuilderActions.swift
[57/69] Compiling BuilderCore Configuration.swift
[58/69] Compiling BuilderCore Failure.swift
[59/69] Compiling BuilderCore MetadataAction.swift
[60/69] Compiling BuilderCore Settings.swift
[61/69] Compiling BuilderCore SettingsMapper.swift
[62/69] Compiling BuilderCore MetafileAction.swift
[63/69] Compiling BuilderCore Platform.swift
[64/70] Compiling BuilderCore XCConfigSettingsMapper.swift
[65/70] Emitting module BuilderCore
[66/70] Compiling BuilderCore BuildAction.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Channel.swift:55:23: warning: class property 'defaultManager' is not concurrency-safe because non-'Sendable' type 'Manager' may have shared mutable state; this is an error in the Swift 6 language mode
 53 |      */
 54 |
 55 |     public static let defaultManager = initDefaultManager()
    |                       |- warning: class property 'defaultManager' is not concurrency-safe because non-'Sendable' type 'Manager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'defaultManager' 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
 56 |
 57 |     /// Initialise the default log manager.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:9:14: note: class 'Manager' does not conform to the 'Sendable' protocol
  7 | import Foundation
  8 |
  9 | public class Manager {
    |              `- note: class 'Manager' does not conform to the 'Sendable' protocol
 10 |     typealias AssociatedChannelData = [Channel:Any]
 11 |     typealias AssociatedHandlerData = [Handler:AssociatedChannelData]
[67/70] Compiling BuilderCore Builder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Channel.swift:55:23: warning: class property 'defaultManager' is not concurrency-safe because non-'Sendable' type 'Manager' may have shared mutable state; this is an error in the Swift 6 language mode
 53 |      */
 54 |
 55 |     public static let defaultManager = initDefaultManager()
    |                       |- warning: class property 'defaultManager' is not concurrency-safe because non-'Sendable' type 'Manager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'defaultManager' 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
 56 |
 57 |     /// Initialise the default log manager.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:9:14: note: class 'Manager' does not conform to the 'Sendable' protocol
  7 | import Foundation
  8 |
  9 | public class Manager {
    |              `- note: class 'Manager' does not conform to the 'Sendable' protocol
 10 |     typealias AssociatedChannelData = [Channel:Any]
 11 |     typealias AssociatedHandlerData = [Handler:AssociatedChannelData]
[68/72] Emitting module Builder
/Users/admin/builder/spi-builder-workspace/Sources/Builder/main.swift:13: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
11 |
12 | struct Command: ParsableCommand {
13 |     static var configuration =
   |                |- 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
14 |         CommandConfiguration(
15 |             abstract: "Meta-builder tool for building swift products."
[69/72] Compiling Builder main.swift
/Users/admin/builder/spi-builder-workspace/Sources/Builder/main.swift:13: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
11 |
12 | struct Command: ParsableCommand {
13 |     static var configuration =
   |                |- 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
14 |         CommandConfiguration(
15 |             abstract: "Meta-builder tool for building swift products."
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Channel.swift:97:23: warning: class property 'stdout' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  */
 14 |
 15 | public class Channel {
    |              `- note: class 'Channel' does not conform to the 'Sendable' protocol
 16 |
 17 |     /**
    :
 95 |      */
 96 |
 97 |     public static let stdout = Channel("stdout", handlers:[stdoutHandler], alwaysEnabled: true)
    |                       |- warning: class property 'stdout' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stdout' 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
 98 |
 99 |     public let name: String
[69/72] Write Objects.LinkFileList
[70/72] Linking builder
[71/72] Applying builder
Build complete! (34.85s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/elegantchaos/Logger.git
[1/1847] Fetching logger
[1147/13526] Fetching logger, swift-argument-parser
Fetched https://github.com/elegantchaos/Logger.git from cache (1.65s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.65s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.2 (0.68s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.6.0 (0.72s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.3.2
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 1.6.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "logger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/Logger.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "Builder",
  "name" : "Builder",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "builder",
      "targets" : [
        "Builder"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BuilderTests",
      "module_type" : "SwiftTarget",
      "name" : "BuilderTests",
      "path" : "Tests/BuilderTests",
      "sources" : [
        "BuilderTests.swift"
      ],
      "target_dependencies" : [
        "Builder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BuilderCore",
      "module_type" : "SwiftTarget",
      "name" : "BuilderCore",
      "path" : "Sources/BuilderCore",
      "product_dependencies" : [
        "ArgumentParser",
        "Logger"
      ],
      "product_memberships" : [
        "builder"
      ],
      "sources" : [
        "BuildAction.swift",
        "Builder.swift",
        "BuilderActions.swift",
        "Configuration.swift",
        "Failure.swift",
        "MetadataAction.swift",
        "MetafileAction.swift",
        "Platform.swift",
        "RunAction.swift",
        "SemanticVersion.swift",
        "Settings.swift",
        "SettingsMapper.swift",
        "SettingsValue.swift",
        "StringExtensions.swift",
        "SwiftSettingsMapper.swift",
        "XCConfigSettingsMapper.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Builder",
      "module_type" : "SwiftTarget",
      "name" : "Builder",
      "path" : "Sources/Builder",
      "product_dependencies" : [
        "ArgumentParser",
        "Logger"
      ],
      "product_memberships" : [
        "builder"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "BuilderCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.2"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.