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 EmailValidation with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.39.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/josetorronteras/EmailValidationMacro.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/josetorronteras/EmailValidationMacro
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 284f5e7 build(deps): bump github.com/apple/swift-syntax from 510.0.1 to 510.0.2 (#7)
Cloned https://github.com/josetorronteras/EmailValidationMacro.git
Revision (git rev-parse @):
284f5e763473a7b5714d97680acc29ba592a030d
SUCCESS checkout https://github.com/josetorronteras/EmailValidationMacro.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/josetorronteras/EmailValidationMacro.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/apple/swift-syntax.git
[1/60645] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.57s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 510.0.2 (1.71s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 510.0.2
Building for debugging...
[0/37] Write sources
[16/37] Write swift-version-24593BA9C3E375BF.txt
[18/41] Emitting module SwiftSyntax510
[19/41] Compiling SwiftSyntax510 Empty.swift
[21/42] Compiling SwiftSyntax509 Empty.swift
[22/42] Emitting module SwiftSyntax509
[23/43] Wrapping AST for SwiftSyntax510 for debugging
[24/43] Wrapping AST for SwiftSyntax509 for debugging
[26/103] Compiling SwiftSyntax AbsolutePosition.swift
[27/103] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[28/103] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[29/103] Compiling SwiftSyntax Assert.swift
[30/103] Compiling SwiftSyntax BumpPtrAllocator.swift
[31/103] Compiling SwiftSyntax CommonAncestor.swift
[32/103] Compiling SwiftSyntax Convenience.swift
[33/103] Compiling SwiftSyntax MemoryLayout.swift
[34/103] Compiling SwiftSyntax MissingNodeInitializers.swift
[35/111] Compiling SwiftSyntax SyntaxArena.swift
[36/111] Compiling SwiftSyntax SyntaxChildren.swift
[37/111] Compiling SwiftSyntax SyntaxCollection.swift
[38/111] Compiling SwiftSyntax SyntaxHashable.swift
[39/111] Compiling SwiftSyntax SyntaxIdentifier.swift
[40/111] Compiling SwiftSyntax SyntaxNodeStructure.swift
[41/111] Compiling SwiftSyntax SyntaxProtocol.swift
[42/111] Compiling SwiftSyntax SyntaxText.swift
[43/111] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[44/111] Emitting module SwiftSyntax
[45/111] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[46/111] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[47/111] Compiling SwiftSyntax SyntaxBaseNodes.swift
[48/111] Compiling SwiftSyntax SyntaxCollections.swift
[49/111] Compiling SwiftSyntax SyntaxEnum.swift
[50/111] Compiling SwiftSyntax SyntaxKind.swift
[51/111] Compiling SwiftSyntax SyntaxRewriter.swift
[52/111] Compiling SwiftSyntax SyntaxTraits.swift
[53/111] Compiling SwiftSyntax TokenDiagnostic.swift
[54/111] Compiling SwiftSyntax TokenSequence.swift
[55/111] Compiling SwiftSyntax TokenSyntax.swift
[56/111] Compiling SwiftSyntax Trivia.swift
[57/111] Compiling SwiftSyntax Utils.swift
[58/111] Compiling SwiftSyntax ChildNameForKeyPath.swift
[59/111] Compiling SwiftSyntax Keyword.swift
[60/111] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[61/111] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[62/111] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[63/111] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[64/111] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[65/111] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[66/111] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[67/111] Compiling SwiftSyntax RawSyntaxValidation.swift
[68/111] Compiling SwiftSyntax SyntaxNodesAB.swift
[69/111] Compiling SwiftSyntax RawSyntax.swift
[70/111] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[71/111] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[72/111] Compiling SwiftSyntax RawSyntaxTokenView.swift
[73/111] Compiling SwiftSyntax SourceLength.swift
[74/111] Compiling SwiftSyntax SourceLocation.swift
[75/111] Compiling SwiftSyntax SourcePresence.swift
[76/111] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[77/111] Compiling SwiftSyntax Syntax.swift
[78/111] Compiling SwiftSyntax SyntaxTransform.swift
[79/111] Compiling SwiftSyntax SyntaxVisitor.swift
[80/111] Compiling SwiftSyntax TokenKind.swift
[81/111] Compiling SwiftSyntax Tokens.swift
[82/111] Compiling SwiftSyntax TriviaPieces.swift
[83/111] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[84/111] Compiling SwiftSyntax RawSyntaxNodesC.swift
[85/111] Compiling SwiftSyntax RawSyntaxNodesD.swift
[86/111] Compiling SwiftSyntax SyntaxNodesC.swift
[87/111] Compiling SwiftSyntax SyntaxNodesD.swift
[88/111] Compiling SwiftSyntax SyntaxNodesEF.swift
[89/111] Compiling SwiftSyntax SyntaxNodesGHI.swift
[90/111] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[91/111] Compiling SwiftSyntax SyntaxNodesOP.swift
[92/111] Compiling SwiftSyntax SyntaxNodesQRS.swift
[93/111] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[94/112] Wrapping AST for SwiftSyntax for debugging
[96/163] Compiling SwiftDiagnostics Message.swift
[97/163] Compiling SwiftDiagnostics Note.swift
[98/163] Compiling SwiftBasicFormat Syntax+Extensions.swift
[99/163] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[100/163] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[101/163] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[102/163] Compiling SwiftDiagnostics FixIt.swift
[103/163] Compiling SwiftDiagnostics Convenience.swift
[104/163] Compiling SwiftDiagnostics Diagnostic.swift
[105/163] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[106/163] Emitting module SwiftDiagnostics
[108/164] Emitting module SwiftBasicFormat
[109/164] Compiling SwiftBasicFormat BasicFormat.swift
[109/165] Wrapping AST for SwiftDiagnostics for debugging
[111/165] Wrapping AST for SwiftBasicFormat for debugging
[113/165] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[114/165] Compiling SwiftParser StringLiterals.swift
[115/165] Compiling SwiftParser SwiftParserCompatibility.swift
[116/165] Compiling SwiftParser SyntaxUtils.swift
[117/165] Compiling SwiftParser TokenConsumer.swift
[118/165] Compiling SwiftParser TokenPrecedence.swift
[119/165] Compiling SwiftParser TokenSpec.swift
[120/165] Compiling SwiftParser TokenSpecSet.swift
[121/165] Compiling SwiftParser TopLevel.swift
[122/165] Compiling SwiftParser TriviaParser.swift
[123/170] Compiling SwiftParser Lexer.swift
[124/170] Compiling SwiftParser RegexLiteralLexer.swift
[125/170] Compiling SwiftParser UnicodeScalarExtensions.swift
[126/170] Compiling SwiftParser Lookahead.swift
[127/170] Compiling SwiftParser LoopProgressCondition.swift
[128/170] Compiling SwiftParser Modifiers.swift
[129/170] Compiling SwiftParser Names.swift
[130/170] Compiling SwiftParser Nominals.swift
[131/170] Compiling SwiftParser Parameters.swift
[132/170] Compiling SwiftParser ParseSourceFile.swift
[133/170] Compiling SwiftParser Parser.swift
[134/170] Compiling SwiftParser Patterns.swift
[135/170] Compiling SwiftParser Recovery.swift
[136/170] Compiling SwiftParser Specifiers.swift
[137/170] Compiling SwiftParser Statements.swift
[138/170] Emitting module SwiftParser
[139/170] Compiling SwiftParser Attributes.swift
[140/170] Compiling SwiftParser Availability.swift
[141/170] Compiling SwiftParser CharacterInfo.swift
[142/170] Compiling SwiftParser CollectionNodes+Parsable.swift
[143/170] Compiling SwiftParser Declarations.swift
[144/170] Compiling SwiftParser Directives.swift
[145/170] Compiling SwiftParser ExperimentalFeatures.swift
[146/170] Compiling SwiftParser Expressions.swift
[147/170] Compiling SwiftParser IncrementalParseTransition.swift
[148/170] Compiling SwiftParser Cursor.swift
[149/170] Compiling SwiftParser Lexeme.swift
[150/170] Compiling SwiftParser LexemeSequence.swift
[151/170] Compiling SwiftParser Types.swift
[152/170] Compiling SwiftParser IsLexerClassified.swift
[153/170] Compiling SwiftParser LayoutNodes+Parsable.swift
[154/170] Compiling SwiftParser Parser+TokenSpecSet.swift
[155/170] Compiling SwiftParser TokenSpecStaticMembers.swift
[156/171] Wrapping AST for SwiftParser for debugging
[158/194] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[159/195] Compiling SwiftOperators PrecedenceGroup.swift
[160/196] Compiling SwiftOperators PrecedenceGraph.swift
[161/196] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[162/196] Compiling SwiftOperators OperatorTable.swift
[163/196] Compiling SwiftOperators OperatorTable+Semantics.swift
[164/196] Compiling SwiftOperators SyntaxSynthesis.swift
[165/196] Compiling SwiftOperators OperatorError.swift
[166/196] Compiling SwiftOperators OperatorTable+Defaults.swift
[167/196] Compiling SwiftOperators Operator.swift
[168/196] Compiling SwiftOperators OperatorError+Diagnostics.swift
[169/196] Emitting module SwiftOperators
[170/196] Compiling SwiftOperators OperatorTable+Folding.swift
[172/197] Emitting module SwiftParserDiagnostics
[175/197] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[176/197] Compiling SwiftParserDiagnostics Utils.swift
[177/197] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[178/197] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[179/197] Compiling SwiftParserDiagnostics PresenceUtils.swift
[180/197] Compiling SwiftParserDiagnostics MissingNodesError.swift
[181/197] Compiling SwiftParserDiagnostics MissingTokenError.swift
[184/198] Wrapping AST for SwiftOperators for debugging
[185/198] Wrapping AST for SwiftParserDiagnostics for debugging
[187/212] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[188/212] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[189/213] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[190/213] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[191/213] Emitting module SwiftSyntaxBuilder
[192/213] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[193/213] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[194/213] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[195/213] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[196/213] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[197/213] Compiling SwiftSyntaxBuilder Indenter.swift
[198/213] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[199/213] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[200/213] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[201/213] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[202/214] Wrapping AST for SwiftSyntaxBuilder for debugging
[204/228] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[205/228] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[206/228] Compiling SwiftSyntaxMacros AccessorMacro.swift
[207/228] Compiling SwiftSyntaxMacros AttachedMacro.swift
[208/228] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[209/228] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[210/229] Compiling SwiftSyntaxMacros Macro.swift
[211/229] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[212/229] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[213/229] Compiling SwiftSyntaxMacros Macro+Format.swift
[214/229] Compiling SwiftSyntaxMacros MemberMacro.swift
[215/229] Compiling SwiftSyntaxMacros PeerMacro.swift
[216/229] Emitting module SwiftSyntaxMacros
[217/229] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[218/229] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[219/230] Wrapping AST for SwiftSyntaxMacros for debugging
[221/238] Emitting module SwiftSyntaxMacroExpansion
[222/238] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[223/238] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[224/238] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[225/238] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[226/238] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[227/238] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[228/238] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[229/239] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[231/246] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[232/246] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[233/246] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[234/246] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[235/246] Emitting module SwiftCompilerPluginMessageHandling
[236/246] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[237/246] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[238/247] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[240/249] Emitting module SwiftCompilerPlugin
[241/249] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[242/250] Wrapping AST for SwiftCompilerPlugin for debugging
[244/253] Compiling EmailValidationMacros EmailValidationMacroError.swift
[245/253] Emitting module EmailValidationMacros
[246/253] Compiling EmailValidationMacros EmailValidationMacro.swift
/host/spi-builder-workspace/Sources/EmailValidationMacros/EmailValidationMacro.swift:27:35: warning: 'argumentList' is deprecated: renamed to 'arguments'
        guard let argument = node.argumentList.first?.expression,
                                  ^
/host/spi-builder-workspace/Sources/EmailValidationMacros/EmailValidationMacro.swift:27:35: note: use 'arguments' instead
        guard let argument = node.argumentList.first?.expression,
                                  ^~~~~~~~~~~~
                                  arguments
/host/spi-builder-workspace/Sources/EmailValidationMacros/EmailValidationMacro.swift:52:26: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
    let emailPredicate = NSPredicate(format: "SELF MATCHES %@", emailRegex)
                         ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: any CVarArg...)
                       ^
error: fatalError
BUILD FAILURE 5.10 linux