The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Injection, reference 1.4.0 (fc8a56), with Swift 6.1 for Android on 29 May 2025 14:10:32 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EngOmarElsayed/Injection.git
Reference: 1.4.0
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/EngOmarElsayed/Injection
 * tag               1.4.0      -> FETCH_HEAD
HEAD is now at fc8a56e Update README.md
Cloned https://github.com/EngOmarElsayed/Injection.git
Revision (git rev-parse @):
fc8a56e0e1176d0147242785a936068dcc852159
SUCCESS checkout https://github.com/EngOmarElsayed/Injection.git at 1.4.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/EngOmarElsayed/Injection.git
https://github.com/EngOmarElsayed/Injection.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "510.0.0",
            "upper_bound" : "511.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax"
    }
  ],
  "manifest_display_name" : "Injection",
  "name" : "Injection",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Injection",
      "targets" : [
        "Injection"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Macros",
      "targets" : [
        "Macros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MacrosTest",
      "module_type" : "SwiftTarget",
      "name" : "MacrosTest",
      "path" : "Tests/MacrosTest",
      "product_dependencies" : [
        "SwiftSyntaxMacrosTestSupport"
      ],
      "sources" : [
        "MacrosTest.swift"
      ],
      "target_dependencies" : [
        "Macros"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Macros",
      "module_type" : "SwiftTarget",
      "name" : "Macros",
      "path" : "Sources/Macros",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "Injection",
        "Macros"
      ],
      "sources" : [
        "Inject.swift",
        "InjectedValuesContainer.swift",
        "MyLibDiagnostic.swift",
        "MyMacroPlugin.swift",
        "StringExtension.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "InjectionTests",
      "module_type" : "SwiftTarget",
      "name" : "InjectionTests",
      "path" : "Tests/InjectionTests",
      "sources" : [
        "InjectionTests.swift"
      ],
      "target_dependencies" : [
        "Injection"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Injection",
      "module_type" : "SwiftTarget",
      "name" : "Injection",
      "path" : "Sources/Injection",
      "product_memberships" : [
        "Injection"
      ],
      "sources" : [
        "Injected.swift",
        "InjectedValues.swift",
        "InjectionKey.swift",
        "MacrosDec.swift"
      ],
      "target_dependencies" : [
        "Macros"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-syntax
[1/70452] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (5.36s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 510.0.3 (7.97s)
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 510.0.3
Building for debugging...
[0/33] Write sources
[16/33] Write swift-version-24593BA9C3E375BF.txt
[18/37] Emitting module SwiftSyntax509
[19/37] Compiling SwiftSyntax509 Empty.swift
[20/38] Compiling SwiftSyntax510 Empty.swift
[21/38] Emitting module SwiftSyntax510
[23/39] Wrapping AST for SwiftSyntax509 for debugging
[24/39] Wrapping AST for SwiftSyntax510 for debugging
[26/99] Compiling SwiftSyntax AbsolutePosition.swift
[27/99] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[28/99] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[29/99] Compiling SwiftSyntax Assert.swift
[30/99] Compiling SwiftSyntax BumpPtrAllocator.swift
[31/99] Compiling SwiftSyntax CommonAncestor.swift
[32/99] Compiling SwiftSyntax Convenience.swift
[33/99] Compiling SwiftSyntax MemoryLayout.swift
[34/99] Compiling SwiftSyntax MissingNodeInitializers.swift
[35/107] Compiling SwiftSyntax RawSyntax.swift
[36/107] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[37/107] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[38/107] Compiling SwiftSyntax RawSyntaxTokenView.swift
[39/107] Compiling SwiftSyntax SourceLength.swift
[40/107] Compiling SwiftSyntax SourceLocation.swift
[41/107] Compiling SwiftSyntax SourcePresence.swift
[42/107] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[43/107] Compiling SwiftSyntax Syntax.swift
[44/107] Emitting module SwiftSyntax
[45/107] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[46/107] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[47/107] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[48/107] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[49/107] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[50/107] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[51/107] Compiling SwiftSyntax RawSyntaxValidation.swift
[52/107] Compiling SwiftSyntax SyntaxNodesAB.swift
[53/107] Compiling SwiftSyntax TokenDiagnostic.swift
[54/107] Compiling SwiftSyntax TokenSequence.swift
[55/107] Compiling SwiftSyntax TokenSyntax.swift
[56/107] Compiling SwiftSyntax Trivia.swift
[57/107] Compiling SwiftSyntax Utils.swift
[58/107] Compiling SwiftSyntax ChildNameForKeyPath.swift
[59/107] Compiling SwiftSyntax Keyword.swift
[60/107] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[61/107] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[62/107] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[63/107] Compiling SwiftSyntax SyntaxBaseNodes.swift
[64/107] Compiling SwiftSyntax SyntaxCollections.swift
[65/107] Compiling SwiftSyntax SyntaxEnum.swift
[66/107] Compiling SwiftSyntax SyntaxKind.swift
[67/107] Compiling SwiftSyntax SyntaxRewriter.swift
[68/107] Compiling SwiftSyntax SyntaxTraits.swift
[69/107] Compiling SwiftSyntax SyntaxArena.swift
[70/107] Compiling SwiftSyntax SyntaxChildren.swift
[71/107] Compiling SwiftSyntax SyntaxCollection.swift
[72/107] Compiling SwiftSyntax SyntaxHashable.swift
[73/107] Compiling SwiftSyntax SyntaxIdentifier.swift
[74/107] Compiling SwiftSyntax SyntaxNodeStructure.swift
[75/107] Compiling SwiftSyntax SyntaxProtocol.swift
[76/107] Compiling SwiftSyntax SyntaxText.swift
[77/107] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[78/107] Compiling SwiftSyntax SyntaxTransform.swift
[79/107] Compiling SwiftSyntax SyntaxVisitor.swift
[80/107] Compiling SwiftSyntax TokenKind.swift
[81/107] Compiling SwiftSyntax Tokens.swift
[82/107] Compiling SwiftSyntax TriviaPieces.swift
[83/107] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[84/107] Compiling SwiftSyntax RawSyntaxNodesC.swift
[85/107] Compiling SwiftSyntax RawSyntaxNodesD.swift
[86/107] Compiling SwiftSyntax SyntaxNodesC.swift
[87/107] Compiling SwiftSyntax SyntaxNodesD.swift
[88/107] Compiling SwiftSyntax SyntaxNodesEF.swift
[89/107] Compiling SwiftSyntax SyntaxNodesGHI.swift
[90/107] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[91/107] Compiling SwiftSyntax SyntaxNodesOP.swift
[92/107] Compiling SwiftSyntax SyntaxNodesQRS.swift
[93/107] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[94/108] Wrapping AST for SwiftSyntax for debugging
[96/159] Compiling SwiftDiagnostics Convenience.swift
[97/159] Compiling SwiftDiagnostics Message.swift
[98/159] Compiling SwiftDiagnostics Note.swift
[99/159] Emitting module SwiftDiagnostics
[100/159] Compiling SwiftBasicFormat Syntax+Extensions.swift
[101/159] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[102/159] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[103/159] Compiling SwiftDiagnostics FixIt.swift
[104/159] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[105/159] Compiling SwiftDiagnostics Diagnostic.swift
[106/159] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[107/160] Wrapping AST for SwiftDiagnostics for debugging
[109/160] Emitting module SwiftBasicFormat
[110/160] Compiling SwiftBasicFormat BasicFormat.swift
[111/161] Wrapping AST for SwiftBasicFormat for debugging
[113/161] Compiling SwiftParser Lexer.swift
[114/161] Compiling SwiftParser RegexLiteralLexer.swift
[115/161] Compiling SwiftParser UnicodeScalarExtensions.swift
[116/161] Compiling SwiftParser Lookahead.swift
[117/161] Compiling SwiftParser LoopProgressCondition.swift
[118/166] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[119/166] Compiling SwiftParser StringLiterals.swift
[120/166] Compiling SwiftParser SwiftParserCompatibility.swift
[121/166] Compiling SwiftParser SyntaxUtils.swift
[122/166] Compiling SwiftParser TokenConsumer.swift
[123/166] Compiling SwiftParser TokenPrecedence.swift
[124/166] Compiling SwiftParser TokenSpec.swift
[125/166] Compiling SwiftParser TokenSpecSet.swift
[126/166] Compiling SwiftParser TopLevel.swift
[127/166] Compiling SwiftParser TriviaParser.swift
[128/166] Emitting module SwiftParser
[129/166] Compiling SwiftParser Parser.swift
[130/166] Compiling SwiftParser Patterns.swift
[131/166] Compiling SwiftParser Recovery.swift
[132/166] Compiling SwiftParser Specifiers.swift
[133/166] Compiling SwiftParser Statements.swift
[134/166] Compiling SwiftParser Modifiers.swift
[135/166] Compiling SwiftParser Names.swift
[136/166] Compiling SwiftParser Nominals.swift
[137/166] Compiling SwiftParser Parameters.swift
[138/166] Compiling SwiftParser ParseSourceFile.swift
[139/166] Compiling SwiftParser Attributes.swift
[140/166] Compiling SwiftParser Availability.swift
[141/166] Compiling SwiftParser CharacterInfo.swift
[142/166] Compiling SwiftParser CollectionNodes+Parsable.swift
[143/166] Compiling SwiftParser Declarations.swift
[144/166] Compiling SwiftParser Directives.swift
[145/166] Compiling SwiftParser ExperimentalFeatures.swift
[146/166] Compiling SwiftParser Expressions.swift
[147/166] Compiling SwiftParser IncrementalParseTransition.swift
[148/166] Compiling SwiftParser Cursor.swift
[149/166] Compiling SwiftParser Lexeme.swift
[150/166] Compiling SwiftParser LexemeSequence.swift
[151/166] Compiling SwiftParser Types.swift
[152/166] Compiling SwiftParser IsLexerClassified.swift
[153/166] Compiling SwiftParser LayoutNodes+Parsable.swift
[154/166] Compiling SwiftParser Parser+TokenSpecSet.swift
[155/166] Compiling SwiftParser TokenSpecStaticMembers.swift
[156/167] Wrapping AST for SwiftParser for debugging
[158/190] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[159/190] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[160/191] Emitting module SwiftOperators
[161/191] Compiling SwiftOperators PrecedenceGroup.swift
[162/191] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[163/192] Compiling SwiftOperators PrecedenceGraph.swift
[164/192] Compiling SwiftOperators OperatorTable.swift
[165/192] Compiling SwiftOperators SyntaxSynthesis.swift
[166/192] Compiling SwiftOperators OperatorTable+Semantics.swift
[167/192] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[168/192] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[169/192] Compiling SwiftParserDiagnostics Utils.swift
[170/192] Compiling SwiftParserDiagnostics MissingNodesError.swift
[171/192] Compiling SwiftParserDiagnostics MissingTokenError.swift
[172/192] Compiling SwiftOperators OperatorTable+Folding.swift
[174/193] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[174/193] Wrapping AST for SwiftOperators for debugging
[176/193] Emitting module SwiftParserDiagnostics
[177/193] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[178/193] Compiling SwiftParserDiagnostics PresenceUtils.swift
[183/193] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[184/193] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[185/194] Wrapping AST for SwiftParserDiagnostics for debugging
[187/208] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[188/208] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[189/209] Emitting module SwiftSyntaxBuilder
[190/209] Compiling SwiftSyntaxBuilder Indenter.swift
[191/209] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[192/209] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[193/209] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[194/209] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[195/209] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[196/209] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[197/209] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[198/209] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[199/209] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[200/209] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[201/209] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[202/210] Wrapping AST for SwiftSyntaxBuilder for debugging
[204/224] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[205/224] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[206/225] Compiling SwiftSyntaxMacros PeerMacro.swift
[207/225] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[208/225] Compiling SwiftSyntaxMacros Macro+Format.swift
[209/225] Compiling SwiftSyntaxMacros Macro.swift
[210/225] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[211/225] Compiling SwiftSyntaxMacros MemberMacro.swift
[212/225] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[213/225] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[214/225] Compiling SwiftSyntaxMacros AccessorMacro.swift
[215/225] Compiling SwiftSyntaxMacros AttachedMacro.swift
[216/225] Emitting module SwiftSyntaxMacros
[217/225] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[218/225] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[219/226] Wrapping AST for SwiftSyntaxMacros for debugging
[221/234] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[222/234] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[223/234] Emitting module SwiftSyntaxMacroExpansion
[224/234] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[225/234] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[226/234] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[227/234] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[228/234] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[229/235] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[231/242] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[232/242] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[233/242] Emitting module SwiftCompilerPluginMessageHandling
[234/242] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[235/242] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[236/242] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[237/242] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[238/243] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[240/245] Emitting module SwiftCompilerPlugin
[241/245] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[242/246] Wrapping AST for SwiftCompilerPlugin for debugging
[244/252] Compiling Macros InjectedValuesContainer.swift
[245/252] Emitting module Macros
[246/252] Compiling Macros Inject.swift
/host/spi-builder-workspace/Sources/Macros/Inject.swift:89:16: warning: variable 'identifier' was never mutated; consider changing to 'let' constant
 87 |     in context: some MacroExpansionContext
 88 |   ) throws -> [DeclSyntax] {
 89 |     guard var (identifier, binding) = checkVariable(for: declaration, node, context: context) as? (TokenSyntax, PatternBindingSyntax) else { return [] }
    |                `- warning: variable 'identifier' was never mutated; consider changing to 'let' constant
 90 |     binding.pattern = PatternSyntax(IdentifierPatternSyntax(identifier: .identifier("currentValue")))
 91 |
[247/252] Compiling Macros MyMacroPlugin.swift
[248/252] Compiling Macros StringExtension.swift
[249/252] Compiling Macros MyLibDiagnostic.swift
[250/253] Wrapping AST for Macros for debugging
[251/253] Write Objects.LinkFileList
[252/253] Linking Macros-tool
[254/263] Compiling Injection InjectedValues.swift
/host/spi-builder-workspace/Sources/Injection/InjectedValues.swift:26:24: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |  public struct InjectedValues {
25 |     /// This is only used by the subscript to access the computed property's in the ``InjectedValues`` extension.
26 |     private static var current = InjectedValues()
   |                        |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 |     /// This is a static subscript to read and update the currentValue of the ``InjectionKey``.
[255/263] Compiling Injection InjectionKey.swift
[256/263] Compiling Injection MacrosDec.swift
[257/263] Emitting module Injection
/host/spi-builder-workspace/Sources/Injection/InjectedValues.swift:26:24: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |  public struct InjectedValues {
25 |     /// This is only used by the subscript to access the computed property's in the ``InjectedValues`` extension.
26 |     private static var current = InjectedValues()
   |                        |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 |     /// This is a static subscript to read and update the currentValue of the ``InjectionKey``.
[258/263] Compiling Injection Injected.swift
[260/264] Compiling Injection MacrosDec.swift
[261/264] Compiling Injection InjectionKey.swift
[262/264] Compiling Injection Injected.swift
[263/264] Emitting module Injection
/host/spi-builder-workspace/Sources/Injection/InjectedValues.swift:26:24: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |  public struct InjectedValues {
25 |     /// This is only used by the subscript to access the computed property's in the ``InjectedValues`` extension.
26 |     private static var current = InjectedValues()
   |                        |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 |     /// This is a static subscript to read and update the currentValue of the ``InjectionKey``.
[264/264] Compiling Injection InjectedValues.swift
/host/spi-builder-workspace/Sources/Injection/InjectedValues.swift:26:24: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |  public struct InjectedValues {
25 |     /// This is only used by the subscript to access the computed property's in the ``InjectedValues`` extension.
26 |     private static var current = InjectedValues()
   |                        |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 |     /// This is a static subscript to read and update the currentValue of the ``InjectionKey``.
Build complete! (138.66s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "510.0.0",
            "upper_bound" : "511.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax"
    }
  ],
  "manifest_display_name" : "Injection",
  "name" : "Injection",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Injection",
      "targets" : [
        "Injection"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Macros",
      "targets" : [
        "Macros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MacrosTest",
      "module_type" : "SwiftTarget",
      "name" : "MacrosTest",
      "path" : "Tests/MacrosTest",
      "product_dependencies" : [
        "SwiftSyntaxMacrosTestSupport"
      ],
      "sources" : [
        "MacrosTest.swift"
      ],
      "target_dependencies" : [
        "Macros"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Macros",
      "module_type" : "SwiftTarget",
      "name" : "Macros",
      "path" : "Sources/Macros",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "Injection",
        "Macros"
      ],
      "sources" : [
        "Inject.swift",
        "InjectedValuesContainer.swift",
        "MyLibDiagnostic.swift",
        "MyMacroPlugin.swift",
        "StringExtension.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "InjectionTests",
      "module_type" : "SwiftTarget",
      "name" : "InjectionTests",
      "path" : "Tests/InjectionTests",
      "sources" : [
        "InjectionTests.swift"
      ],
      "target_dependencies" : [
        "Injection"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Injection",
      "module_type" : "SwiftTarget",
      "name" : "Injection",
      "path" : "Sources/Injection",
      "product_memberships" : [
        "Injection"
      ],
      "sources" : [
        "Injected.swift",
        "InjectedValues.swift",
        "InjectionKey.swift",
        "MacrosDec.swift"
      ],
      "target_dependencies" : [
        "Macros"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.