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 DotEnvy with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 3

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/juri/dotenvy.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/juri/dotenvy
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 448b452 Merge pull request #2 from juri/export
Cloned https://github.com/juri/dotenvy.git
Revision (git rev-parse @):
448b452aeb12f8a49264b912f76f40d76093af3a
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/juri/dotenvy.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/juri/dotenvy.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/10] Write sources
[5/10] Write dotenv-tool-entitlement.plist
[6/10] Write swift-version-6F35C1178C84523A.txt
[8/16] Emitting module ArgumentParserToolInfo
[9/16] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/54] Compiling ArgumentParser Flag.swift
[11/54] Compiling ArgumentParser NameSpecification.swift
[12/54] Compiling ArgumentParser Option.swift
[13/54] Compiling ArgumentParser OptionGroup.swift
[14/58] Compiling ArgumentParser BashCompletionsGenerator.swift
[15/58] Compiling ArgumentParser CompletionsGenerator.swift
[16/58] Compiling ArgumentParser FishCompletionsGenerator.swift
[17/58] Compiling ArgumentParser ZshCompletionsGenerator.swift
[18/58] Compiling ArgumentParser Argument.swift
[19/58] Emitting module ArgumentParser
[20/58] Compiling ArgumentParser ArgumentHelp.swift
[21/58] Compiling ArgumentParser ArgumentVisibility.swift
[22/58] Compiling ArgumentParser CompletionKind.swift
[23/58] Compiling ArgumentParser Errors.swift
[24/58] Compiling ArgumentParser ParsableArguments.swift
[25/58] Compiling ArgumentParser ParsableArgumentsValidation.swift
[26/58] Compiling ArgumentParser ParsableCommand.swift
[27/58] Compiling ArgumentParser ArgumentDecoder.swift
[28/58] Compiling ArgumentParser ArgumentDefinition.swift
[29/58] Compiling ArgumentParser ArgumentSet.swift
[30/58] Compiling ArgumentParser CommandParser.swift
[31/58] Compiling ArgumentParser InputKey.swift
[32/58] Compiling ArgumentParser Platform.swift
[33/58] Compiling ArgumentParser SequenceExtensions.swift
[34/58] Compiling ArgumentParser StringExtensions.swift
[35/58] Compiling ArgumentParser Tree.swift
[36/58] Compiling DotEnvy FormatError.swift
[37/58] Emitting module DotEnvy
[38/58] Compiling DotEnvy Parse.swift
[39/58] Compiling DotEnvy Load.swift
[40/58] Compiling ArgumentParser AsyncParsableCommand.swift
[41/58] Compiling ArgumentParser CommandConfiguration.swift
[42/58] Compiling ArgumentParser EnumerableFlag.swift
[43/58] Compiling ArgumentParser ExpressibleByArgument.swift
[44/58] Compiling ArgumentParser ParserError.swift
[45/58] Compiling ArgumentParser SplitArguments.swift
[46/58] Compiling ArgumentParser DumpHelpGenerator.swift
[47/58] Compiling ArgumentParser HelpCommand.swift
[48/58] Compiling ArgumentParser InputOrigin.swift
[49/58] Compiling ArgumentParser Name.swift
[50/58] Compiling ArgumentParser Parsed.swift
[51/58] Compiling ArgumentParser ParsedValues.swift
[52/58] Compiling ArgumentParser HelpGenerator.swift
[53/58] Compiling ArgumentParser MessageInfo.swift
[54/58] Compiling ArgumentParser UsageGenerator.swift
[55/58] Compiling ArgumentParser CollectionExtensions.swift
[56/60] Compiling CLI CLI.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/CLI.swift:7: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
  5 | @main
  6 | struct Tool: ParsableCommand {
  7 |     static var configuration = CommandConfiguration(
    |                |- 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
  8 |         commandName: "dotenvy-tool",
  9 |         abstract: "Tool for working with dotenv files",
/Users/admin/builder/spi-builder-workspace/Sources/CLI/CLI.swift:15: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
 13 |
 14 | struct Check: ParsableCommand {
 15 |     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
 16 |         = CommandConfiguration(
 17 |             abstract: "Check syntax of input.",
/Users/admin/builder/spi-builder-workspace/Sources/CLI/CLI.swift:39: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
 37 |
 38 | struct JSON: ParsableCommand {
 39 |     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
 40 |         = CommandConfiguration(
 41 |             abstract: "Convert input to JSON.",
[57/60] Emitting module CLI
/Users/admin/builder/spi-builder-workspace/Sources/CLI/CLI.swift:7: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
  5 | @main
  6 | struct Tool: ParsableCommand {
  7 |     static var configuration = CommandConfiguration(
    |                |- 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
  8 |         commandName: "dotenvy-tool",
  9 |         abstract: "Tool for working with dotenv files",
/Users/admin/builder/spi-builder-workspace/Sources/CLI/CLI.swift:15: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
 13 |
 14 | struct Check: ParsableCommand {
 15 |     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
 16 |         = CommandConfiguration(
 17 |             abstract: "Check syntax of input.",
/Users/admin/builder/spi-builder-workspace/Sources/CLI/CLI.swift:39: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
 37 |
 38 | struct JSON: ParsableCommand {
 39 |     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
 40 |         = CommandConfiguration(
 41 |             abstract: "Convert input to JSON.",
[57/60] Write Objects.LinkFileList
[58/60] Linking dotenv-tool
[59/60] Applying dotenv-tool
Build complete! (23.72s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/11714] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.60s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.1 (0.55s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.3.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "DotEnvy",
  "name" : "DotEnvy",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "dotenv-tool",
      "targets" : [
        "CLI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "DotEnvy",
      "targets" : [
        "DotEnvy"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DotEnvyTests",
      "module_type" : "SwiftTarget",
      "name" : "DotEnvyTests",
      "path" : "Tests/DotEnvyTests",
      "sources" : [
        "ErrorFormatTests.swift",
        "ExportTests.swift",
        "LoadTests.swift",
        "ParseTests.swift"
      ],
      "target_dependencies" : [
        "DotEnvy"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DotEnvy",
      "module_type" : "SwiftTarget",
      "name" : "DotEnvy",
      "path" : "Sources/DotEnvy",
      "product_memberships" : [
        "dotenv-tool",
        "DotEnvy"
      ],
      "sources" : [
        "FormatError.swift",
        "Load.swift",
        "Parse.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLI",
      "module_type" : "SwiftTarget",
      "name" : "CLI",
      "path" : "Sources/CLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "dotenv-tool"
      ],
      "sources" : [
        "CLI.swift"
      ],
      "target_dependencies" : [
        "DotEnvy"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.10"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.