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

Failed to build AddCaseBoolean, reference main (da1396), with Swift 6.0 for Linux on 3 Nov 2024 16:08:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/r-plus/AddCaseBoolean.git
Reference: main
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/r-plus/AddCaseBoolean
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at da1396f chore: install section
Cloned https://github.com/r-plus/AddCaseBoolean.git
Revision (git rev-parse @):
da1396f50f8e8bb26cc9cc891af8259bcba6cb25
SUCCESS checkout https://github.com/r-plus/AddCaseBoolean.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/r-plus/AddCaseBoolean.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-syntax.git
[1/66399] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.63s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (1.92s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Building for debugging...
[0/35] Write sources
[15/35] Write swift-version-24593BA9C3E375BF.txt
[17/37] Emitting module SwiftSyntax509
[18/37] Compiling SwiftSyntax509 Empty.swift
[19/38] Wrapping AST for SwiftSyntax509 for debugging
[21/83] Compiling SwiftSyntax AbsolutePosition.swift
[22/83] Compiling SwiftSyntax Assert.swift
[23/83] Compiling SwiftSyntax BumpPtrAllocator.swift
[24/83] Compiling SwiftSyntax CommonAncestor.swift
[25/83] Compiling SwiftSyntax Convenience.swift
[26/83] Compiling SwiftSyntax MemoryLayout.swift
[27/83] Compiling SwiftSyntax MissingNodeInitializers.swift
[28/89] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[29/89] Compiling SwiftSyntax Syntax.swift
[30/89] Compiling SwiftSyntax SyntaxArena.swift
[31/89] Compiling SwiftSyntax SyntaxChildren.swift
[32/89] Compiling SwiftSyntax SyntaxCollection.swift
[33/89] Compiling SwiftSyntax SyntaxData.swift
[34/89] Emitting module SwiftSyntax
[35/89] Compiling SwiftSyntax RawSyntax.swift
[36/89] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[37/89] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[38/89] Compiling SwiftSyntax RawSyntaxTokenView.swift
[39/89] Compiling SwiftSyntax SourceLength.swift
[40/89] Compiling SwiftSyntax SourceLocation.swift
[41/89] Compiling SwiftSyntax SourcePresence.swift
[42/89] Compiling SwiftSyntax ChildNameForKeyPath.swift
[43/89] Compiling SwiftSyntax Keyword.swift
[44/89] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[45/89] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[46/89] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[47/89] Compiling SwiftSyntax SyntaxBaseNodes.swift
[48/89] Compiling SwiftSyntax SyntaxText.swift
[49/89] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[50/89] Compiling SwiftSyntax TokenDiagnostic.swift
[51/89] Compiling SwiftSyntax TokenSyntax.swift
[52/89] Compiling SwiftSyntax Trivia.swift
[53/89] Compiling SwiftSyntax Utils.swift
[54/89] Compiling SwiftSyntax SyntaxCollections.swift
[55/89] Compiling SwiftSyntax SyntaxEnum.swift
[56/89] Compiling SwiftSyntax SyntaxKind.swift
[57/89] Compiling SwiftSyntax SyntaxRewriter.swift
[58/89] Compiling SwiftSyntax SyntaxTraits.swift
[59/89] Compiling SwiftSyntax SyntaxTransform.swift
[60/89] Compiling SwiftSyntax SyntaxDeclNodes.swift
[61/89] Compiling SwiftSyntax SyntaxExprNodes.swift
[62/89] Compiling SwiftSyntax SyntaxNodes.swift
[63/89] Compiling SwiftSyntax SyntaxPatternNodes.swift
[64/89] Compiling SwiftSyntax SyntaxStmtNodes.swift
[65/89] Compiling SwiftSyntax SyntaxTypeNodes.swift
[66/89] Compiling SwiftSyntax SyntaxVisitor.swift
[67/89] Compiling SwiftSyntax TokenKind.swift
[68/89] Compiling SwiftSyntax Tokens.swift
[69/89] Compiling SwiftSyntax TriviaPieces.swift
[70/89] Compiling SwiftSyntax RawSyntaxNodes.swift
[71/89] Compiling SwiftSyntax RawSyntaxValidation.swift
[72/90] Wrapping AST for SwiftSyntax for debugging
[74/141] Compiling SwiftDiagnostics Message.swift
[75/141] Compiling SwiftDiagnostics Note.swift
[76/141] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[77/141] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[78/141] Compiling SwiftBasicFormat Syntax+Extensions.swift
[79/141] Emitting module SwiftDiagnostics
[80/141] Compiling SwiftDiagnostics Convenience.swift
[81/141] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[82/141] Compiling SwiftDiagnostics FixIt.swift
[83/141] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[84/141] Compiling SwiftDiagnostics Diagnostic.swift
[86/142] Emitting module SwiftBasicFormat
[87/142] Compiling SwiftBasicFormat BasicFormat.swift
[88/143] Wrapping AST for SwiftDiagnostics for debugging
[89/143] Wrapping AST for SwiftBasicFormat for debugging
[91/143] Compiling SwiftParser Lexer.swift
[92/143] Compiling SwiftParser RegexLiteralLexer.swift
[93/143] Compiling SwiftParser UnicodeScalarExtensions.swift
[94/143] Compiling SwiftParser Lookahead.swift
[95/143] Compiling SwiftParser LoopProgressCondition.swift
[96/148] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[97/148] Compiling SwiftParser StringLiterals.swift
[98/148] Compiling SwiftParser SwiftParserCompatibility.swift
[99/148] Compiling SwiftParser SyntaxUtils.swift
[100/148] Compiling SwiftParser TokenConsumer.swift
[101/148] Compiling SwiftParser TokenPrecedence.swift
[102/148] Compiling SwiftParser TokenSpec.swift
[103/148] Compiling SwiftParser TokenSpecSet.swift
[104/148] Compiling SwiftParser TopLevel.swift
[105/148] Compiling SwiftParser TriviaParser.swift
[106/148] Compiling SwiftParser Modifiers.swift
[107/148] Compiling SwiftParser Names.swift
[108/148] Compiling SwiftParser Nominals.swift
[109/148] Compiling SwiftParser Parameters.swift
[110/148] Compiling SwiftParser ParseSourceFile.swift
[111/148] Compiling SwiftParser Parser.swift
[112/148] Compiling SwiftParser Patterns.swift
[113/148] Compiling SwiftParser Recovery.swift
[114/148] Compiling SwiftParser Specifiers.swift
[115/148] Compiling SwiftParser Statements.swift
[116/148] Compiling SwiftParser Attributes.swift
[117/148] Compiling SwiftParser Availability.swift
[118/148] Compiling SwiftParser CharacterInfo.swift
[119/148] Compiling SwiftParser CollectionNodes+Parsable.swift
[120/148] Compiling SwiftParser Declarations.swift
[121/148] Compiling SwiftParser Directives.swift
[122/148] Emitting module SwiftParser
[123/148] Compiling SwiftParser ExperimentalFeatures.swift
[124/148] Compiling SwiftParser Expressions.swift
[125/148] Compiling SwiftParser IncrementalParseTransition.swift
[126/148] Compiling SwiftParser Cursor.swift
[127/148] Compiling SwiftParser Lexeme.swift
[128/148] Compiling SwiftParser LexemeSequence.swift
[129/148] Compiling SwiftParser Types.swift
[130/148] Compiling SwiftParser IsLexerClassified.swift
[131/148] Compiling SwiftParser LayoutNodes+Parsable.swift
[132/148] Compiling SwiftParser Parser+TokenSpecSet.swift
[133/148] Compiling SwiftParser TokenSpecStaticMembers.swift
[134/149] Wrapping AST for SwiftParser for debugging
[136/172] Compiling SwiftOperators PrecedenceGroup.swift
[137/173] Compiling SwiftOperators SyntaxSynthesis.swift
[138/173] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[139/174] Compiling SwiftOperators PrecedenceGraph.swift
[140/174] Compiling SwiftOperators OperatorTable.swift
[141/174] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[142/174] Compiling SwiftOperators OperatorTable+Semantics.swift
[143/174] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[144/174] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[145/174] Compiling SwiftOperators OperatorTable+Folding.swift
[146/174] Emitting module SwiftOperators
[147/174] Compiling SwiftParserDiagnostics MissingNodesError.swift
[148/174] Compiling SwiftParserDiagnostics MissingTokenError.swift
[149/175] Wrapping AST for SwiftOperators for debugging
[151/175] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[152/175] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[153/175] Compiling SwiftParserDiagnostics Utils.swift
[154/175] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[155/175] Compiling SwiftParserDiagnostics PresenceUtils.swift
[158/175] Emitting module SwiftParserDiagnostics
[159/175] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[160/175] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[163/176] Wrapping AST for SwiftParserDiagnostics for debugging
[165/190] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[166/190] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[167/191] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[168/191] Compiling SwiftSyntaxBuilder Indenter.swift
[169/191] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[170/191] Emitting module SwiftSyntaxBuilder
[171/191] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[172/191] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[173/191] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[174/191] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[175/191] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[176/191] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[177/191] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[178/191] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[179/191] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[180/192] Wrapping AST for SwiftSyntaxBuilder for debugging
[182/206] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[183/206] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[184/206] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[185/206] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[186/206] Compiling SwiftSyntaxMacros AccessorMacro.swift
[187/206] Compiling SwiftSyntaxMacros AttachedMacro.swift
[188/207] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[189/207] Compiling SwiftSyntaxMacros Macro+Format.swift
[190/207] Compiling SwiftSyntaxMacros Macro.swift
[191/207] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[192/207] Compiling SwiftSyntaxMacros MemberMacro.swift
[193/207] Compiling SwiftSyntaxMacros PeerMacro.swift
[194/207] Emitting module SwiftSyntaxMacros
[195/207] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[196/207] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[197/208] Wrapping AST for SwiftSyntaxMacros for debugging
[199/216] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[200/216] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[201/216] Emitting module SwiftSyntaxMacroExpansion
[202/216] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[203/216] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[204/216] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[205/216] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[206/216] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[207/217] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[209/224] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[210/224] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[211/224] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[212/224] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[213/224] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[214/224] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[215/224] Emitting module SwiftCompilerPluginMessageHandling
[216/225] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[218/227] Emitting module SwiftCompilerPlugin
[219/227] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[220/228] Wrapping AST for SwiftCompilerPlugin for debugging
[222/231] Emitting module AddCaseBooleanMacros
[223/231] Compiling AddCaseBooleanMacros Plugin.swift
[224/231] Compiling AddCaseBooleanMacros AddCaseBooleanMacro.swift
/host/spi-builder-workspace/Sources/AddCaseBooleanMacros/AddCaseBooleanMacro.swift:32:61: error: value of type 'String' has no member 'replacingOccurrences'
30 |             try list.compactMap { element -> DeclSyntax? in
31 |                 guard element.parameterClause != nil else { return nil }
32 |                 let backtickRemovedName = element.name.text.replacingOccurrences(of: "`", with: "")
   |                                                             `- error: value of type 'String' has no member 'replacingOccurrences'
33 |                 var camelCase = backtickRemovedName
34 |                 let first = camelCase.removeFirst().uppercased()
BUILD FAILURE 6.0 linux