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

Swift 6 data race errors: 0

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/lucianopalmeida/variable-injector.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lucianopalmeida/variable-injector
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 994a0b2 [NFC] Minor change
Cloned https://github.com/lucianopalmeida/variable-injector.git
Revision (git rev-parse @):
994a0b295b0c462e7ad94e766493a0a4d8f92f3d
SUCCESS checkout https://github.com/lucianopalmeida/variable-injector.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/lucianopalmeida/variable-injector.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/13] Write sources
[3/13] Write variable-injector-entitlement.plist
[5/13] Write sources
[9/13] Write swift-version-6F35C1178C84523A.txt
[11/17] Emitting module SwiftSyntax509
[12/17] Compiling SwiftSyntax509 Empty.swift
[13/17] Emitting module ArgumentParserToolInfo
[14/17] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/101] Compiling ArgumentParser BashCompletionsGenerator.swift
[16/101] Compiling ArgumentParser CompletionsGenerator.swift
[17/101] Compiling ArgumentParser FishCompletionsGenerator.swift
[18/101] Compiling ArgumentParser ZshCompletionsGenerator.swift
[19/101] Compiling ArgumentParser Argument.swift
[20/106] Compiling ArgumentParser ParsableArguments.swift
[21/106] Compiling ArgumentParser ParsableArgumentsValidation.swift
[22/106] Compiling ArgumentParser ParsableCommand.swift
[23/106] Compiling ArgumentParser ArgumentDecoder.swift
[24/106] Compiling ArgumentParser InputOrigin.swift
[25/106] Compiling ArgumentParser Name.swift
[26/106] Compiling ArgumentParser Parsed.swift
[27/106] Compiling ArgumentParser ParsedValues.swift
[28/106] Compiling ArgumentParser HelpGenerator.swift
[29/106] Compiling ArgumentParser MessageInfo.swift
[30/106] Emitting module ArgumentParser
[40/110] Compiling ArgumentParser Flag.swift
[41/110] Compiling ArgumentParser NameSpecification.swift
[42/110] Compiling ArgumentParser Option.swift
[43/110] Compiling ArgumentParser OptionGroup.swift
[44/110] Compiling ArgumentParser ArgumentHelp.swift
[45/110] Compiling ArgumentParser ArgumentVisibility.swift
[46/110] Compiling ArgumentParser CompletionKind.swift
[47/110] Compiling ArgumentParser Errors.swift
[48/110] Compiling ArgumentParser Platform.swift
[49/110] Compiling ArgumentParser SequenceExtensions.swift
[50/110] Compiling ArgumentParser StringExtensions.swift
[51/110] Compiling ArgumentParser Tree.swift
[52/110] Compiling ArgumentParser AsyncParsableCommand.swift
[53/110] Compiling ArgumentParser CommandConfiguration.swift
[54/110] Compiling ArgumentParser EnumerableFlag.swift
[55/110] Compiling ArgumentParser ExpressibleByArgument.swift
[56/110] Compiling ArgumentParser ArgumentDefinition.swift
[57/110] Compiling ArgumentParser ArgumentSet.swift
[58/110] Compiling ArgumentParser CommandParser.swift
[59/110] Compiling ArgumentParser InputKey.swift
[60/110] Compiling ArgumentParser ParserError.swift
[61/110] Compiling ArgumentParser SplitArguments.swift
[62/110] Compiling ArgumentParser DumpHelpGenerator.swift
[63/110] Compiling ArgumentParser HelpCommand.swift
[70/110] Compiling ArgumentParser UsageGenerator.swift
[71/110] Compiling ArgumentParser CollectionExtensions.swift
[72/110] Emitting module SwiftSyntax
[79/110] Compiling SwiftSyntax SyntaxArena.swift
[80/110] Compiling SwiftSyntax SyntaxChildren.swift
[81/110] Compiling SwiftSyntax SyntaxCollection.swift
[82/110] Compiling SwiftSyntax SyntaxData.swift
[98/110] Compiling SwiftSyntax SyntaxExprNodes.swift
[99/110] Compiling SwiftSyntax SyntaxNodes.swift
[100/110] Compiling SwiftSyntax SyntaxPatternNodes.swift
[101/110] Compiling SwiftSyntax SyntaxStmtNodes.swift
[102/110] Compiling SwiftSyntax SyntaxTypeNodes.swift
[108/149] Compiling SwiftParser SyntaxUtils.swift
[109/149] Compiling SwiftParser TokenConsumer.swift
[110/149] Compiling SwiftParser TokenPrecedence.swift
[111/149] Compiling SwiftParser TokenSpec.swift
[112/153] Compiling SwiftParser Names.swift
[113/153] Compiling SwiftParser Nominals.swift
[114/153] Compiling SwiftParser Parameters.swift
[115/153] Compiling SwiftParser ParseSourceFile.swift
[116/153] Compiling SwiftParser Lexeme.swift
[117/153] Compiling SwiftParser LexemeSequence.swift
[118/153] Compiling SwiftParser Lexer.swift
[119/153] Compiling SwiftParser RegexLiteralLexer.swift
[120/153] Compiling SwiftParser UnicodeScalarExtensions.swift
[121/153] Compiling SwiftParser Lookahead.swift
[122/153] Compiling SwiftParser LoopProgressCondition.swift
[123/153] Compiling SwiftParser Modifiers.swift
[124/153] Compiling SwiftParser TokenSpecSet.swift
[125/153] Compiling SwiftParser TopLevel.swift
[126/153] Compiling SwiftParser TriviaParser.swift
[127/153] Compiling SwiftParser Types.swift
[128/153] Compiling SwiftParser Parser.swift
[129/153] Compiling SwiftParser Patterns.swift
[130/153] Compiling SwiftParser Recovery.swift
[131/153] Compiling SwiftParser Specifiers.swift
[132/153] Compiling SwiftParser Attributes.swift
[133/153] Compiling SwiftParser Availability.swift
[134/153] Compiling SwiftParser CharacterInfo.swift
[135/153] Compiling SwiftParser CollectionNodes+Parsable.swift
[136/153] Compiling SwiftParser Declarations.swift
[137/153] Emitting module SwiftParser
[138/153] Compiling SwiftParser IsLexerClassified.swift
[139/153] Compiling SwiftParser LayoutNodes+Parsable.swift
[140/153] Compiling SwiftParser Parser+TokenSpecSet.swift
[141/153] Compiling SwiftParser TokenSpecStaticMembers.swift
[142/153] Compiling SwiftParser Statements.swift
[143/153] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[144/153] Compiling SwiftParser StringLiterals.swift
[145/153] Compiling SwiftParser SwiftParserCompatibility.swift
[146/153] Compiling SwiftParser Directives.swift
[147/153] Compiling SwiftParser ExperimentalFeatures.swift
[148/153] Compiling SwiftParser Expressions.swift
[149/153] Compiling SwiftParser IncrementalParseTransition.swift
[150/153] Compiling SwiftParser Cursor.swift
[151/158] Compiling variable_injector_core EnvirionmentVariableLiteralRewriter.swift
[152/158] Compiling variable_injector_core Logger.swift
[153/158] Compiling variable_injector_core Tool.swift
/Users/admin/builder/spi-builder-workspace/Sources/variable-injector/Core/CommandLine/Tool.swift:15:21: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public struct VariableInjectorTool: ParsableCommand {
14 |
15 |   public static let configuration = CommandConfiguration(abstract:
   |                     `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
16 |     "Variable injector is a very simple project with the goal of inject CI" +
17 |     "pipelines environment variables values into Swift code static members before compilation")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/variable-injector/Core/CommandLine/Tool.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 9 | import SwiftSyntax
10 | import SwiftParser
11 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
12 |
13 | public struct VariableInjectorTool: ParsableCommand {
14 |
15 |   public static let configuration = CommandConfiguration(abstract:
   |                     |- 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 |     "Variable injector is a very simple project with the goal of inject CI" +
17 |     "pipelines environment variables values into Swift code static members before compilation")
[154/158] Compiling variable_injector_core TokenSyntax+Extensions.swift
[155/158] Emitting module variable_injector_core
/Users/admin/builder/spi-builder-workspace/Sources/variable-injector/Core/CommandLine/Tool.swift:15:21: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public struct VariableInjectorTool: ParsableCommand {
14 |
15 |   public static let configuration = CommandConfiguration(abstract:
   |                     `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
16 |     "Variable injector is a very simple project with the goal of inject CI" +
17 |     "pipelines environment variables values into Swift code static members before compilation")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/variable-injector/Core/CommandLine/Tool.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 9 | import SwiftSyntax
10 | import SwiftParser
11 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
12 |
13 | public struct VariableInjectorTool: ParsableCommand {
14 |
15 |   public static let configuration = CommandConfiguration(abstract:
   |                     |- 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 |     "Variable injector is a very simple project with the goal of inject CI" +
17 |     "pipelines environment variables values into Swift code static members before compilation")
[156/160] Emitting module variable_injector
[157/160] Compiling variable_injector main.swift
[157/160] Write Objects.LinkFileList
[158/160] Linking variable-injector
[159/160] Applying variable-injector
Build complete! (54.77s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-syntax.git
[1/11679] Fetching swift-argument-parser
[9345/72592] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.33s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.33s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (0.56s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0 (0.82s)
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.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.0.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "exact" : [
          "509.0.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "exact" : [
          "1.3.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "variable-injector",
  "name" : "variable-injector",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "variable-injector",
      "targets" : [
        "variable-injector"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "variable_injectorTests",
      "module_type" : "SwiftTarget",
      "name" : "variable-injectorTests",
      "path" : "Tests/variable-injectorTests",
      "sources" : [
        "VariableInjectorTests.swift"
      ],
      "target_dependencies" : [
        "variable-injector-core"
      ],
      "type" : "test"
    },
    {
      "c99name" : "variable_injector_core",
      "module_type" : "SwiftTarget",
      "name" : "variable-injector-core",
      "path" : "Sources/variable-injector/Core",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftParser",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "variable-injector"
      ],
      "sources" : [
        "CommandLine/Tool.swift",
        "Extensions/TokenSyntax+Extensions.swift",
        "Logger.swift",
        "Rewriters/EnvirionmentVariableLiteralRewriter.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "variable_injector",
      "module_type" : "SwiftTarget",
      "name" : "variable-injector",
      "path" : "Sources/variable-injector/Tool",
      "product_memberships" : [
        "variable-injector"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "variable-injector-core"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.7"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.