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

Failed to build Crocodil, reference 0.4.0 (fe4bf5), with Swift 6.2 (beta) for Linux on 4 Jul 2025 15:40:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KazaiMazai/Crocodil.git
Reference: 0.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/KazaiMazai/Crocodil
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at fe4bf55 Added Docc support (#14)
Cloned https://github.com/KazaiMazai/Crocodil.git
Revision (git rev-parse @):
fe4bf559ffc72f8cb43c0371e898bd575ad9ff89
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/KazaiMazai/Crocodil.git at 0.4.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/KazaiMazai/Crocodil.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax
[1/71178] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (7.46s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (12.62s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Building for debugging...
[0/36] Write sources
[17/36] Compiling _SwiftSyntaxCShims dummy.c
[18/36] Write swift-version-24593BA9C3E375BF.txt
[20/42] Emitting module SwiftSyntax510
[21/42] Emitting module SwiftSyntax509
[22/42] Emitting module SwiftSyntax600
[23/42] Compiling SwiftSyntax600 Empty.swift
[24/43] Compiling SwiftSyntax510 Empty.swift
[26/44] Wrapping AST for SwiftSyntax600 for debugging
[27/44] Wrapping AST for SwiftSyntax510 for debugging
[29/44] Compiling SwiftSyntax509 Empty.swift
[30/45] Wrapping AST for SwiftSyntax509 for debugging
[32/109] Compiling SwiftSyntax AbsolutePosition.swift
[33/109] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[34/109] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[35/109] Compiling SwiftSyntax Assert.swift
[36/109] Compiling SwiftSyntax BumpPtrAllocator.swift
[37/109] Compiling SwiftSyntax CommonAncestor.swift
[38/109] Compiling SwiftSyntax Convenience.swift
[39/109] Compiling SwiftSyntax CustomTraits.swift
[40/109] Compiling SwiftSyntax Identifier.swift
[41/117] Emitting module SwiftSyntax
[42/117] Compiling SwiftSyntax SyntaxKind.swift
[43/117] Compiling SwiftSyntax SyntaxRewriter.swift
[44/117] Compiling SwiftSyntax SyntaxTraits.swift
[45/117] Compiling SwiftSyntax SyntaxVisitor.swift
[46/117] Compiling SwiftSyntax TokenKind.swift
[47/117] Compiling SwiftSyntax Tokens.swift
[48/117] Compiling SwiftSyntax TriviaPieces.swift
[49/117] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[50/117] Compiling SwiftSyntax RawSyntaxNodesC.swift
[51/117] Compiling SwiftSyntax RawSyntaxNodesD.swift
[52/117] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[53/117] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[54/117] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[55/117] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[56/117] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[57/117] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[58/117] Compiling SwiftSyntax RawSyntaxValidation.swift
[59/117] Compiling SwiftSyntax SyntaxNodesAB.swift
[60/117] Compiling SwiftSyntax SourcePresence.swift
[61/117] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[62/117] Compiling SwiftSyntax Syntax.swift
[63/117] Compiling SwiftSyntax SyntaxArena.swift
[64/117] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[65/117] Compiling SwiftSyntax SyntaxChildren.swift
[66/117] Compiling SwiftSyntax SyntaxCollection.swift
[67/117] Compiling SwiftSyntax SyntaxHashable.swift
[68/117] Compiling SwiftSyntax SyntaxIdentifier.swift
[69/117] Compiling SwiftSyntax MemoryLayout.swift
[70/117] Compiling SwiftSyntax MissingNodeInitializers.swift
[71/117] Compiling SwiftSyntax RawSyntax.swift
[72/117] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[73/117] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[74/117] Compiling SwiftSyntax RawSyntaxTokenView.swift
[75/117] Compiling SwiftSyntax SourceEdit.swift
[76/117] Compiling SwiftSyntax SourceLength.swift
[77/117] Compiling SwiftSyntax SourceLocation.swift
[78/117] Compiling SwiftSyntax SyntaxNodeFactory.swift
[79/117] Compiling SwiftSyntax SyntaxNodeStructure.swift
[80/117] Compiling SwiftSyntax SyntaxProtocol.swift
[81/117] Compiling SwiftSyntax SyntaxText.swift
[82/117] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[83/117] Compiling SwiftSyntax TokenDiagnostic.swift
[84/117] Compiling SwiftSyntax TokenSequence.swift
[85/117] Compiling SwiftSyntax TokenSyntax.swift
[86/117] Compiling SwiftSyntax Trivia.swift
[87/117] Compiling SwiftSyntax Utils.swift
[88/117] Compiling SwiftSyntax ChildNameForKeyPath.swift
[89/117] Compiling SwiftSyntax Keyword.swift
[90/117] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[91/117] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[92/117] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[93/117] Compiling SwiftSyntax SyntaxBaseNodes.swift
[94/117] Compiling SwiftSyntax SyntaxCollections.swift
[95/117] Compiling SwiftSyntax SyntaxEnum.swift
[96/117] Compiling SwiftSyntax SyntaxNodesC.swift
[97/117] Compiling SwiftSyntax SyntaxNodesD.swift
[98/117] Compiling SwiftSyntax SyntaxNodesEF.swift
[99/117] Compiling SwiftSyntax SyntaxNodesGHI.swift
[100/117] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[101/117] Compiling SwiftSyntax SyntaxNodesOP.swift
[102/117] Compiling SwiftSyntax SyntaxNodesQRS.swift
[103/117] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[104/119] Wrapping AST for SwiftSyntax for debugging
[106/175] Emitting module SwiftDiagnostics
[107/176] Compiling SwiftDiagnostics Message.swift
[108/176] Compiling SwiftDiagnostics Note.swift
[109/176] Compiling SwiftParser Attributes.swift
[110/176] Compiling SwiftParser Availability.swift
[111/176] Compiling SwiftParser CharacterInfo.swift
[112/176] Compiling SwiftParser CollectionNodes+Parsable.swift
[113/176] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[114/176] Compiling SwiftBasicFormat Syntax+Extensions.swift
[115/176] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[116/176] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[117/176] Emitting module SwiftBasicFormat
[118/176] Compiling SwiftBasicFormat InferIndentation.swift
[119/176] Compiling SwiftDiagnostics FixIt.swift
[120/176] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[121/176] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[122/177] Wrapping AST for SwiftDiagnostics for debugging
[124/177] Compiling SwiftBasicFormat BasicFormat.swift
[125/178] Wrapping AST for SwiftBasicFormat for debugging
[127/178] Compiling SwiftParser LexemeSequence.swift
[128/178] Compiling SwiftParser Lexer.swift
[129/178] Compiling SwiftParser RegexLiteralLexer.swift
[130/178] Compiling SwiftParser UnicodeScalarExtensions.swift
[131/178] Compiling SwiftParser Lookahead.swift
[132/178] Compiling SwiftParser LoopProgressCondition.swift
[133/183] Compiling SwiftParser SwiftParserCompatibility.swift
[134/183] Compiling SwiftParser SwiftVersion.swift
[135/183] Compiling SwiftParser SyntaxUtils.swift
[136/183] Compiling SwiftParser TokenConsumer.swift
[137/183] Compiling SwiftParser TokenPrecedence.swift
[138/183] Compiling SwiftParser Patterns.swift
[139/183] Compiling SwiftParser Recovery.swift
[140/183] Compiling SwiftParser Specifiers.swift
[141/183] Compiling SwiftParser Statements.swift
[142/183] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[143/183] Compiling SwiftParser StringLiterals.swift
[144/183] Compiling SwiftParser Modifiers.swift
[145/183] Compiling SwiftParser Names.swift
[146/183] Compiling SwiftParser Nominals.swift
[147/183] Compiling SwiftParser Parameters.swift
[148/183] Compiling SwiftParser ParseSourceFile.swift
[149/183] Compiling SwiftParser Parser.swift
[150/183] Compiling SwiftParser TokenSpec.swift
[151/183] Compiling SwiftParser TokenSpecSet.swift
[152/183] Compiling SwiftParser TopLevel.swift
[153/183] Compiling SwiftParser TriviaParser.swift
[154/183] Compiling SwiftParser Types.swift
[159/183] Compiling SwiftParser Declarations.swift
[160/183] Compiling SwiftParser Directives.swift
[161/183] Emitting module SwiftParser
[162/183] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[163/183] Compiling SwiftParser Expressions.swift
[164/183] Compiling SwiftParser IncrementalParseTransition.swift
[165/183] Compiling SwiftParser IsValidIdentifier.swift
[166/183] Compiling SwiftParser Cursor.swift
[167/183] Compiling SwiftParser Lexeme.swift
[168/183] Compiling SwiftParser ExperimentalFeatures.swift
[169/183] Compiling SwiftParser IsLexerClassified.swift
[170/183] Compiling SwiftParser LayoutNodes+Parsable.swift
[171/183] Compiling SwiftParser Parser+TokenSpecSet.swift
[172/183] Compiling SwiftParser TokenSpecStaticMembers.swift
[173/184] Wrapping AST for SwiftParser for debugging
[175/207] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[176/208] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[177/208] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[178/208] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[179/208] Compiling SwiftOperators PrecedenceGroup.swift
[180/209] Compiling SwiftOperators PrecedenceGraph.swift
[181/209] Compiling SwiftOperators OperatorTable.swift
[182/209] Compiling SwiftOperators SyntaxSynthesis.swift
[183/209] Compiling SwiftOperators OperatorTable+Semantics.swift
[184/209] Emitting module SwiftOperators
[185/209] Compiling SwiftParserDiagnostics MissingNodesError.swift
[186/209] Compiling SwiftParserDiagnostics MissingTokenError.swift
[187/209] Compiling SwiftOperators OperatorTable+Folding.swift
[188/210] Wrapping AST for SwiftOperators for debugging
[190/210] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[191/210] Compiling SwiftParserDiagnostics Utils.swift
[192/210] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[193/210] Emitting module SwiftParserDiagnostics
[194/210] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[195/210] Compiling SwiftParserDiagnostics PresenceUtils.swift
[198/210] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[199/210] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[202/211] Wrapping AST for SwiftParserDiagnostics for debugging
[204/226] Compiling SwiftSyntaxBuilder Indenter.swift
[205/226] Compiling SwiftSyntaxBuilder ListBuilder.swift
[206/227] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[207/227] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[208/227] Emitting module SwiftSyntaxBuilder
[209/227] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[210/227] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[211/227] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[212/227] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[213/227] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[214/227] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[215/227] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[216/227] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[217/227] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[218/227] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[219/227] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[220/228] Wrapping AST for SwiftSyntaxBuilder for debugging
[222/245] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[223/245] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[224/247] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[225/247] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[226/247] Compiling SwiftSyntaxMacros AccessorMacro.swift
[227/247] Compiling SwiftSyntaxMacros AttachedMacro.swift
[228/247] Compiling SwiftSyntaxMacros BodyMacro.swift
[229/247] Compiling SwiftSyntaxMacros Macro.swift
[230/247] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[231/247] Compiling SwiftSyntaxMacros MemberMacro.swift
[232/247] Compiling SwiftSyntaxMacros PeerMacro.swift
[233/247] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[234/247] Compiling SwiftSyntaxMacros Macro+Format.swift
[235/247] Emitting module SwiftSyntaxMacros
[236/247] Compiling SwiftSyntaxMacros PreambleMacro.swift
[237/247] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[238/247] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[239/247] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[240/247] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[241/248] Wrapping AST for SwiftSyntaxMacros for debugging
[243/257] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[244/258] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[245/258] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[246/258] Emitting module SwiftSyntaxMacroExpansion
[247/258] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[248/258] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[249/258] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[250/258] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[251/258] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[252/258] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[253/259] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[255/271] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[256/271] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[257/271] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[258/272] Emitting module SwiftCompilerPluginMessageHandling
[259/272] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[260/272] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[261/272] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[262/272] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[263/272] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[264/272] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[265/272] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[266/272] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[267/272] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[268/273] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[270/275] Emitting module SwiftCompilerPlugin
[271/275] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[272/276] Wrapping AST for SwiftCompilerPlugin for debugging
[274/282] Emitting module CrocodilMacros
[275/282] Compiling CrocodilMacros Plugin.swift
[276/282] Compiling CrocodilMacros AccessAttribute.swift
[277/282] Compiling CrocodilMacros DependencyEntryMacro.swift
[278/282] Compiling CrocodilMacros VariableDeclSyntax+Properties.swift
[279/282] Compiling CrocodilMacros PropertyAttributes.swift
[280/283] Wrapping AST for CrocodilMacros for debugging
[281/283] Write Objects.LinkFileList
[282/283] Linking CrocodilMacros-tool
[284/299] Compiling Crocodil DependencyKey.swift
[285/299] Compiling Crocodil DependencyEntry.swift
[286/299] Compiling Crocodil DependencyKey.swift
[287/299] Compiling Crocodil Dependency.swift
[288/299] Compiling Crocodil Dependencies.swift
[289/299] Compiling Crocodil Dependency.swift
[290/299] Compiling Crocodil Dependencies.swift
[291/299] Compiling Crocodil Container.swift
[292/299] Emitting module Crocodil
[293/299] Compiling Crocodil DependencyEntry.swift
[294/299] Compiling Crocodil Container.swift
[295/299] Emitting module Crocodil
[296/299] Compiling Crocodil InjectableKeyPath.swift
[297/299] Compiling Crocodil Injectable.swift
/host/spi-builder-workspace/Sources/Crocodil/Injectable.swift:25:30: error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
23 |         }
24 |         set {
25 |             DispatchQueue.di.asyncUnsafe(flags: .barrier) { key.instance = newValue }
   |                              `- error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
26 |         }
27 |     }
/host/spi-builder-workspace/Sources/Crocodil/Injectable.swift:25:50: error: cannot infer contextual base in reference to member 'barrier'
23 |         }
24 |         set {
25 |             DispatchQueue.di.asyncUnsafe(flags: .barrier) { key.instance = newValue }
   |                                                  `- error: cannot infer contextual base in reference to member 'barrier'
26 |         }
27 |     }
/host/spi-builder-workspace/Sources/Crocodil/Injectable.swift:35:55: warning: capture of 'key' with non-Sendable type 'Key.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
33 |         }
34 |         set {
35 |             DispatchQueue.di.async(flags: .barrier) { key.instance = newValue }
   |                                                       `- warning: capture of 'key' with non-Sendable type 'Key.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
36 |         }
37 |     }
/host/spi-builder-workspace/Sources/Crocodil/Injectable.swift:35:55: warning: capture of non-Sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 |         }
34 |         set {
35 |             DispatchQueue.di.async(flags: .barrier) { key.instance = newValue }
   |                                                       `- warning: capture of non-Sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 |         }
37 |     }
/host/spi-builder-workspace/Sources/Crocodil/Injectable.swift:30:20: warning: capture of non-Sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 |
29 |     /** A subscript for read/write access to the sendable dependency via `DependencyKey` */
30 |     subscript<Key>(key: Key.Type) -> Key.Value where Key: DependencyKey, Key.Value: Sendable {
   |                    `- warning: capture of non-Sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 |         get {
32 |             DispatchQueue.di.sync { key.instance }
/host/spi-builder-workspace/Sources/Crocodil/Injectable.swift:45:63: warning: capture of 'key' with non-Sendable type 'Key.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
43 |     where
44 |     Key: DependencyKey {
45 |         DispatchQueue.di.async(flags: .barrier) { atomically(&key.instance) }
   |                                                               `- warning: capture of 'key' with non-Sendable type 'Key.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
46 |     }
47 | }
/host/spi-builder-workspace/Sources/Crocodil/Injectable.swift:42:9: warning: capture of non-Sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |     static func update<Key>(
41 |         _ key: Key.Type,
42 |         atomically: @Sendable @escaping (inout Key.Value) -> Void)
   |         `- warning: capture of non-Sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
43 |     where
44 |     Key: DependencyKey {
/host/spi-builder-workspace/Sources/Crocodil/Injectable.swift:45:63: warning: capture of non-Sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
43 |     where
44 |     Key: DependencyKey {
45 |         DispatchQueue.di.async(flags: .barrier) { atomically(&key.instance) }
   |                                                               `- warning: capture of non-Sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
46 |     }
47 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[298/299] Compiling Crocodil InjectableKeyPath.swift
[299/299] Compiling Crocodil Injectable.swift
/host/spi-builder-workspace/Sources/Crocodil/Injectable.swift:25:30: error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
23 |         }
24 |         set {
25 |             DispatchQueue.di.asyncUnsafe(flags: .barrier) { key.instance = newValue }
   |                              `- error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
26 |         }
27 |     }
/host/spi-builder-workspace/Sources/Crocodil/Injectable.swift:25:50: error: cannot infer contextual base in reference to member 'barrier'
23 |         }
24 |         set {
25 |             DispatchQueue.di.asyncUnsafe(flags: .barrier) { key.instance = newValue }
   |                                                  `- error: cannot infer contextual base in reference to member 'barrier'
26 |         }
27 |     }
/host/spi-builder-workspace/Sources/Crocodil/Injectable.swift:35:55: warning: capture of 'key' with non-Sendable type 'Key.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
33 |         }
34 |         set {
35 |             DispatchQueue.di.async(flags: .barrier) { key.instance = newValue }
   |                                                       `- warning: capture of 'key' with non-Sendable type 'Key.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
36 |         }
37 |     }
/host/spi-builder-workspace/Sources/Crocodil/Injectable.swift:35:55: warning: capture of non-Sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 |         }
34 |         set {
35 |             DispatchQueue.di.async(flags: .barrier) { key.instance = newValue }
   |                                                       `- warning: capture of non-Sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 |         }
37 |     }
/host/spi-builder-workspace/Sources/Crocodil/Injectable.swift:30:20: warning: capture of non-Sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 |
29 |     /** A subscript for read/write access to the sendable dependency via `DependencyKey` */
30 |     subscript<Key>(key: Key.Type) -> Key.Value where Key: DependencyKey, Key.Value: Sendable {
   |                    `- warning: capture of non-Sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 |         get {
32 |             DispatchQueue.di.sync { key.instance }
/host/spi-builder-workspace/Sources/Crocodil/Injectable.swift:45:63: warning: capture of 'key' with non-Sendable type 'Key.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
43 |     where
44 |     Key: DependencyKey {
45 |         DispatchQueue.di.async(flags: .barrier) { atomically(&key.instance) }
   |                                                               `- warning: capture of 'key' with non-Sendable type 'Key.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
46 |     }
47 | }
/host/spi-builder-workspace/Sources/Crocodil/Injectable.swift:42:9: warning: capture of non-Sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |     static func update<Key>(
41 |         _ key: Key.Type,
42 |         atomically: @Sendable @escaping (inout Key.Value) -> Void)
   |         `- warning: capture of non-Sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
43 |     where
44 |     Key: DependencyKey {
/host/spi-builder-workspace/Sources/Crocodil/Injectable.swift:45:63: warning: capture of non-Sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
43 |     where
44 |     Key: DependencyKey {
45 |         DispatchQueue.di.async(flags: .barrier) { atomically(&key.instance) }
   |                                                               `- warning: capture of non-Sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
46 |     }
47 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
BUILD FAILURE 6.2 linux