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

Swift 6 data race errors: 0

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/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/lucianopalmeida/variable-injector.git
Reference: master
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/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:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/lucianopalmeida/variable-injector.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/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/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-syntax.git
[1/11714] Fetching swift-argument-parser
[11715/72667] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.17s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.21s)
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.42s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0 (0.67s)
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
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/18] Write sources
[8/18] Write swift-version-24593BA9C3E375BF.txt
[10/22] Compiling SwiftSyntax509 Empty.swift
[11/22] Emitting module SwiftSyntax509
[12/23] Wrapping AST for SwiftSyntax509 for debugging
[14/50] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/55] Emitting module ArgumentParserToolInfo
[16/69] Wrapping AST for ArgumentParserToolInfo for debugging
[18/106] Compiling ArgumentParser ArgumentVisibility.swift
[19/106] Compiling ArgumentParser CompletionKind.swift
[20/106] Compiling ArgumentParser Errors.swift
[21/106] Compiling ArgumentParser Flag.swift
[22/106] Compiling ArgumentParser NameSpecification.swift
[23/106] Compiling ArgumentParser BashCompletionsGenerator.swift
[24/106] Compiling ArgumentParser CompletionsGenerator.swift
[25/112] Emitting module ArgumentParser
[33/117] Compiling ArgumentParser FishCompletionsGenerator.swift
[34/117] Compiling ArgumentParser ZshCompletionsGenerator.swift
[35/117] Compiling ArgumentParser Argument.swift
[36/117] Compiling ArgumentParser ArgumentHelp.swift
[37/117] Compiling ArgumentParser ArgumentDefinition.swift
[38/117] Compiling ArgumentParser ArgumentSet.swift
[39/117] Compiling ArgumentParser CommandParser.swift
[40/117] Compiling ArgumentParser InputKey.swift
[41/117] Compiling ArgumentParser InputOrigin.swift
[42/117] Compiling ArgumentParser Name.swift
[43/117] Compiling ArgumentParser Parsed.swift
[44/117] Compiling ArgumentParser ParsedValues.swift
[45/117] Compiling ArgumentParser ParserError.swift
[46/117] Compiling ArgumentParser SplitArguments.swift
[48/117] Compiling ArgumentParser Option.swift
[49/117] Compiling ArgumentParser OptionGroup.swift
[50/117] Compiling ArgumentParser AsyncParsableCommand.swift
[51/117] Compiling ArgumentParser CommandConfiguration.swift
[52/117] Compiling ArgumentParser EnumerableFlag.swift
[53/117] Compiling ArgumentParser CollectionExtensions.swift
[54/117] Compiling ArgumentParser Platform.swift
[55/117] Compiling ArgumentParser SequenceExtensions.swift
[56/117] Compiling ArgumentParser StringExtensions.swift
[57/117] Compiling ArgumentParser Tree.swift
[58/117] Compiling ArgumentParser ExpressibleByArgument.swift
[59/117] Compiling ArgumentParser ParsableArguments.swift
[60/117] Compiling ArgumentParser ParsableArgumentsValidation.swift
[61/117] Compiling ArgumentParser ParsableCommand.swift
[62/117] Compiling ArgumentParser ArgumentDecoder.swift
[63/117] Compiling ArgumentParser DumpHelpGenerator.swift
[75/117] Compiling ArgumentParser HelpCommand.swift
[76/117] Compiling ArgumentParser HelpGenerator.swift
[77/117] Compiling ArgumentParser MessageInfo.swift
[78/117] Compiling ArgumentParser UsageGenerator.swift
[79/118] Wrapping AST for ArgumentParser for debugging
[81/118] Emitting module SwiftSyntax
[95/118] Compiling SwiftSyntax SyntaxDeclNodes.swift
[96/118] Compiling SwiftSyntax SyntaxExprNodes.swift
[97/118] Compiling SwiftSyntax SyntaxNodes.swift
[98/118] Compiling SwiftSyntax SyntaxPatternNodes.swift
[99/118] Compiling SwiftSyntax SyntaxStmtNodes.swift
[100/118] Compiling SwiftSyntax SyntaxTypeNodes.swift
[104/118] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[105/118] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[106/118] Compiling SwiftSyntax SyntaxBaseNodes.swift
[113/119] Wrapping AST for SwiftSyntax for debugging
[115/157] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[116/157] Compiling SwiftParser StringLiterals.swift
[117/157] Compiling SwiftParser SwiftParserCompatibility.swift
[118/157] Compiling SwiftParser SyntaxUtils.swift
[119/157] Compiling SwiftParser TokenConsumer.swift
[120/162] Emitting module SwiftParser
[121/162] Compiling SwiftParser TokenPrecedence.swift
[122/162] Compiling SwiftParser TokenSpec.swift
[123/162] Compiling SwiftParser TokenSpecSet.swift
[124/162] Compiling SwiftParser TopLevel.swift
[125/162] Compiling SwiftParser TriviaParser.swift
[126/162] Compiling SwiftParser Modifiers.swift
[127/162] Compiling SwiftParser Names.swift
[128/162] Compiling SwiftParser Nominals.swift
[129/162] Compiling SwiftParser Parameters.swift
[130/162] Compiling SwiftParser ParseSourceFile.swift
[131/162] Compiling SwiftParser Parser.swift
[132/162] Compiling SwiftParser Patterns.swift
[133/162] Compiling SwiftParser Recovery.swift
[134/162] Compiling SwiftParser Specifiers.swift
[135/162] Compiling SwiftParser Statements.swift
[136/162] Compiling SwiftParser Lexer.swift
[137/162] Compiling SwiftParser RegexLiteralLexer.swift
[138/162] Compiling SwiftParser UnicodeScalarExtensions.swift
[139/162] Compiling SwiftParser Lookahead.swift
[140/162] Compiling SwiftParser LoopProgressCondition.swift
[141/162] Compiling SwiftParser Attributes.swift
[142/162] Compiling SwiftParser Availability.swift
[143/162] Compiling SwiftParser CharacterInfo.swift
[144/162] Compiling SwiftParser CollectionNodes+Parsable.swift
[145/162] Compiling SwiftParser Declarations.swift
[146/162] Compiling SwiftParser Directives.swift
[147/162] Compiling SwiftParser ExperimentalFeatures.swift
[148/162] Compiling SwiftParser Expressions.swift
[149/162] Compiling SwiftParser IncrementalParseTransition.swift
[150/162] Compiling SwiftParser Cursor.swift
[151/162] Compiling SwiftParser Lexeme.swift
[152/162] Compiling SwiftParser LexemeSequence.swift
[153/162] Compiling SwiftParser Types.swift
[154/162] Compiling SwiftParser IsLexerClassified.swift
[155/162] Compiling SwiftParser LayoutNodes+Parsable.swift
[156/162] Compiling SwiftParser Parser+TokenSpecSet.swift
[157/162] Compiling SwiftParser TokenSpecStaticMembers.swift
[158/163] Wrapping AST for SwiftParser for debugging
[160/168] Compiling variable_injector_core Tool.swift
/host/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")
/host/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 |   ///
/host/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")
[161/168] Emitting module variable_injector_core
/host/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")
/host/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 |   ///
/host/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")
[162/168] Compiling variable_injector_core Logger.swift
[163/168] Compiling variable_injector_core TokenSyntax+Extensions.swift
[164/168] Compiling variable_injector_core EnvirionmentVariableLiteralRewriter.swift
[165/169] Wrapping AST for variable-injector-core for debugging
[167/171] Emitting module variable_injector
[168/171] Compiling variable_injector main.swift
[169/172] Wrapping AST for variable-injector for debugging
[170/172] Write Objects.LinkFileList
[171/172] Linking variable-injector
Build complete! (97.20s)
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" : "/host/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.