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 Linux.

Swift 6 data race errors: 1

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/elegantchaos/Builder.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/elegantchaos/Logger.git
Fetching https://github.com/apple/swift-argument-parser
[1/1847] Fetching logger
[1848/13561] Fetching logger, swift-argument-parser
Fetched https://github.com/elegantchaos/Logger.git from cache (0.66s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.66s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.2 (0.46s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.6.0 (0.47s)
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 1.6.0
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
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/51] Emitting module ArgumentParser
[7/55] Compiling ArgumentParser ArgumentDefinition.swift
[8/55] Compiling ArgumentParser ArgumentSet.swift
[9/55] Compiling ArgumentParser CommandParser.swift
[10/55] Compiling ArgumentParser InputOrigin.swift
[11/55] Compiling ArgumentParser Option.swift
[12/55] Compiling ArgumentParser OptionGroup.swift
[13/55] Compiling ArgumentParser CommandConfiguration.swift
[14/55] Compiling ArgumentParser EnumerableFlag.swift
[15/55] Compiling ArgumentParser ExpressibleByArgument.swift
[16/55] Compiling Logger NSLogHandler.swift
[17/55] Compiling Logger OSLogHandler.swift
[18/55] Compiling Logger PrintHandler.swift
[19/55] Compiling ArgumentParser ArgumentHelp.swift
[20/55] Compiling ArgumentParser CompletionKind.swift
[21/55] Compiling ArgumentParser Errors.swift
[22/55] Compiling ArgumentParser Flag.swift
[23/55] Compiling ArgumentParser NameSpecification.swift
[24/55] Compiling ArgumentParser BashCompletionsGenerator.swift
[25/55] Compiling ArgumentParser CompletionsGenerator.swift
[26/55] Compiling ArgumentParser FishCompletionsGenerator.swift
[27/55] Compiling ArgumentParser ZshCompletionsGenerator.swift
[28/55] Compiling ArgumentParser Argument.swift
[29/55] Compiling ArgumentParser ParsableArguments.swift
[30/55] Compiling ArgumentParser ParsableArgumentsValidation.swift
[31/55] Compiling ArgumentParser ParsableCommand.swift
[32/55] Compiling ArgumentParser ArgumentDecoder.swift
[33/55] Compiling Logger Context.swift
[34/55] Compiling ArgumentParser UsageGenerator.swift
[35/55] Compiling ArgumentParser SequenceExtensions.swift
[36/55] Compiling ArgumentParser StringExtensions.swift
[37/55] Compiling ArgumentParser Tree.swift
[38/55] Compiling Logger Handler.swift
[39/55] Compiling Logger Channel.swift
[40/55] Compiling Logger Manager.swift
[41/55] Emitting module Logger
[42/56] Wrapping AST for Logger for debugging
[44/56] Compiling ArgumentParser Name.swift
[45/56] Compiling ArgumentParser Parsed.swift
[46/56] Compiling ArgumentParser ParsedValues.swift
[47/56] Compiling ArgumentParser ParserError.swift
[48/56] Compiling ArgumentParser SplitArguments.swift
[49/56] Compiling ArgumentParser HelpCommand.swift
[50/56] Compiling ArgumentParser HelpGenerator.swift
[51/56] Compiling ArgumentParser MessageInfo.swift
[52/57] Wrapping AST for ArgumentParser for debugging
[54/72] Compiling BuilderCore SettingsValue.swift
[55/72] Compiling BuilderCore StringExtensions.swift
[56/74] Compiling BuilderCore RunAction.swift
[57/74] Compiling BuilderCore SemanticVersion.swift
[58/74] Compiling BuilderCore Failure.swift
[59/74] Compiling BuilderCore MetadataAction.swift
[60/74] Compiling BuilderCore BuilderActions.swift
[61/74] Compiling BuilderCore Configuration.swift
[62/74] Compiling BuilderCore MetafileAction.swift
[63/74] Compiling BuilderCore Platform.swift
[64/74] Compiling BuilderCore Settings.swift
[65/74] Compiling BuilderCore SettingsMapper.swift
[66/74] Compiling BuilderCore SwiftSettingsMapper.swift
[67/74] Compiling BuilderCore XCConfigSettingsMapper.swift
[68/74] Emitting module BuilderCore
[69/74] Compiling BuilderCore BuildAction.swift
/host/spi-builder-workspace/Sources/BuilderCore/Builder.swift:181:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
179 |     func exec(_ command : String, arguments: [String] = []) {
180 |         let process = Process()
181 |         process.launchPath = command
    |                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |                 `- note: use 'executableURL' instead
182 |         process.arguments = arguments
183 |         process.environment = self.environment
/host/spi-builder-workspace/Sources/BuilderCore/Builder.swift:184:17: warning: 'launch()' is deprecated: renamed to 'run'
182 |         process.arguments = arguments
183 |         process.environment = self.environment
184 |         process.launch()
    |                 |- warning: 'launch()' is deprecated: renamed to 'run'
    |                 `- note: use 'run' instead
185 |         process.waitUntilExit()
186 |         Builder.exit(code: process.terminationStatus)
/host/spi-builder-workspace/Sources/BuilderCore/Builder.swift:203:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
201 |
202 |         let process = Process()
203 |         process.launchPath = command
    |                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |                 `- note: use 'executableURL' instead
204 |         process.arguments = arguments
205 |         process.standardOutput = pipe
/host/spi-builder-workspace/Sources/BuilderCore/Builder.swift:208:17: warning: 'launch()' is deprecated: renamed to 'run'
206 |         process.standardError = errPipe
207 |         process.environment = self.environment
208 |         process.launch()
    |                 |- warning: 'launch()' is deprecated: renamed to 'run'
    |                 `- note: use 'run' instead
209 |         let data = handle.readDataToEndOfFile()
210 |         let errData = errHandle.readDataToEndOfFile()
/host/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.
/host/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]
[70/74] Compiling BuilderCore Builder.swift
/host/spi-builder-workspace/Sources/BuilderCore/Builder.swift:181:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
179 |     func exec(_ command : String, arguments: [String] = []) {
180 |         let process = Process()
181 |         process.launchPath = command
    |                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |                 `- note: use 'executableURL' instead
182 |         process.arguments = arguments
183 |         process.environment = self.environment
/host/spi-builder-workspace/Sources/BuilderCore/Builder.swift:184:17: warning: 'launch()' is deprecated: renamed to 'run'
182 |         process.arguments = arguments
183 |         process.environment = self.environment
184 |         process.launch()
    |                 |- warning: 'launch()' is deprecated: renamed to 'run'
    |                 `- note: use 'run' instead
185 |         process.waitUntilExit()
186 |         Builder.exit(code: process.terminationStatus)
/host/spi-builder-workspace/Sources/BuilderCore/Builder.swift:203:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
201 |
202 |         let process = Process()
203 |         process.launchPath = command
    |                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |                 `- note: use 'executableURL' instead
204 |         process.arguments = arguments
205 |         process.standardOutput = pipe
/host/spi-builder-workspace/Sources/BuilderCore/Builder.swift:208:17: warning: 'launch()' is deprecated: renamed to 'run'
206 |         process.standardError = errPipe
207 |         process.environment = self.environment
208 |         process.launch()
    |                 |- warning: 'launch()' is deprecated: renamed to 'run'
    |                 `- note: use 'run' instead
209 |         let data = handle.readDataToEndOfFile()
210 |         let errData = errHandle.readDataToEndOfFile()
/host/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.
/host/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]
[71/75] Wrapping AST for BuilderCore for debugging
[73/77] Emitting module Builder
/host/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."
[74/77] Compiling Builder main.swift
/host/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."
/host/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
[75/78] Wrapping AST for Builder for debugging
[76/78] Write Objects.LinkFileList
[77/78] Linking builder
Build complete! (17.83s)
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" : "/host/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.