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

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
Building package at path:  $workDir
https://github.com/josetorronteras/EmailValidationMacro.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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 (3.84s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 510.0.2 (1.26s)
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...
[1/22] Emitting module SwiftSyntax509
[2/22] Compiling SwiftSyntax509 Empty.swift
[5/24] Emitting module SwiftSyntax510
[6/24] Compiling SwiftSyntax510 Empty.swift
[7/26] Wrapping AST for SwiftSyntax509 for debugging
[9/26] Wrapping AST for SwiftSyntax510 for debugging
[11/86] Compiling SwiftSyntax AbsolutePosition.swift
[12/86] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[13/86] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[14/86] Compiling SwiftSyntax Assert.swift
[15/86] Compiling SwiftSyntax BumpPtrAllocator.swift
[16/86] Compiling SwiftSyntax CommonAncestor.swift
[17/86] Compiling SwiftSyntax Convenience.swift
[18/86] Compiling SwiftSyntax MemoryLayout.swift
[19/86] Compiling SwiftSyntax MissingNodeInitializers.swift
[20/94] Compiling SwiftSyntax SyntaxArena.swift
[21/94] Compiling SwiftSyntax SyntaxChildren.swift
[22/94] Compiling SwiftSyntax SyntaxCollection.swift
[23/94] Compiling SwiftSyntax SyntaxHashable.swift
[24/94] Compiling SwiftSyntax SyntaxIdentifier.swift
[25/94] Compiling SwiftSyntax SyntaxNodeStructure.swift
[26/94] Compiling SwiftSyntax SyntaxProtocol.swift
[27/94] Compiling SwiftSyntax SyntaxText.swift
[28/94] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[29/94] Emitting module SwiftSyntax
[30/94] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[31/94] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[32/94] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[33/94] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[34/94] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[35/94] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[36/94] Compiling SwiftSyntax RawSyntaxValidation.swift
[37/94] Compiling SwiftSyntax SyntaxNodesAB.swift
[38/94] Compiling SwiftSyntax RawSyntax.swift
[39/94] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[40/94] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[41/94] Compiling SwiftSyntax RawSyntaxTokenView.swift
[42/94] Compiling SwiftSyntax SourceLength.swift
[43/94] Compiling SwiftSyntax SourceLocation.swift
[44/94] Compiling SwiftSyntax SourcePresence.swift
[45/94] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[46/94] Compiling SwiftSyntax Syntax.swift
[47/94] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[48/94] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[49/94] Compiling SwiftSyntax SyntaxBaseNodes.swift
[50/94] Compiling SwiftSyntax SyntaxCollections.swift
[51/94] Compiling SwiftSyntax SyntaxEnum.swift
[52/94] Compiling SwiftSyntax SyntaxKind.swift
[53/94] Compiling SwiftSyntax SyntaxRewriter.swift
[54/94] Compiling SwiftSyntax SyntaxTraits.swift
[55/94] Compiling SwiftSyntax TokenDiagnostic.swift
[56/94] Compiling SwiftSyntax TokenSequence.swift
[57/94] Compiling SwiftSyntax TokenSyntax.swift
[58/94] Compiling SwiftSyntax Trivia.swift
[59/94] Compiling SwiftSyntax Utils.swift
[60/94] Compiling SwiftSyntax ChildNameForKeyPath.swift
[61/94] Compiling SwiftSyntax Keyword.swift
[62/94] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[63/94] Compiling SwiftSyntax SyntaxTransform.swift
[64/94] Compiling SwiftSyntax SyntaxVisitor.swift
[65/94] Compiling SwiftSyntax TokenKind.swift
[66/94] Compiling SwiftSyntax Tokens.swift
[67/94] Compiling SwiftSyntax TriviaPieces.swift
[68/94] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[69/94] Compiling SwiftSyntax RawSyntaxNodesC.swift
[70/94] Compiling SwiftSyntax RawSyntaxNodesD.swift
[71/94] Compiling SwiftSyntax SyntaxNodesC.swift
[72/94] Compiling SwiftSyntax SyntaxNodesD.swift
[73/94] Compiling SwiftSyntax SyntaxNodesEF.swift
[74/94] Compiling SwiftSyntax SyntaxNodesGHI.swift
[75/94] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[76/94] Compiling SwiftSyntax SyntaxNodesOP.swift
[77/94] Compiling SwiftSyntax SyntaxNodesQRS.swift
[78/94] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[80/96] Wrapping AST for SwiftSyntax for debugging
[82/147] Compiling SwiftDiagnostics Note.swift
[83/147] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[84/147] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[85/147] Compiling SwiftDiagnostics Message.swift
[86/147] Compiling SwiftBasicFormat Syntax+Extensions.swift
[87/147] Compiling SwiftDiagnostics FixIt.swift
[88/147] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[89/147] Emitting module SwiftDiagnostics
[90/147] Compiling SwiftDiagnostics Convenience.swift
[91/147] Compiling SwiftDiagnostics Diagnostic.swift
[92/147] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[95/149] Emitting module SwiftBasicFormat
[96/149] Compiling SwiftBasicFormat BasicFormat.swift
[96/150] Wrapping AST for SwiftDiagnostics for debugging
[100/151] Compiling SwiftParser Modifiers.swift
[101/151] Compiling SwiftParser Names.swift
[102/151] Compiling SwiftParser Nominals.swift
[103/151] Compiling SwiftParser Parameters.swift
[104/151] Compiling SwiftParser ParseSourceFile.swift
[104/156] Wrapping AST for SwiftBasicFormat for debugging
[106/156] Emitting module SwiftParser
[107/156] Compiling SwiftParser Lexer.swift
[108/156] Compiling SwiftParser RegexLiteralLexer.swift
[109/156] Compiling SwiftParser UnicodeScalarExtensions.swift
[110/156] Compiling SwiftParser Lookahead.swift
[111/156] Compiling SwiftParser LoopProgressCondition.swift
[112/156] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[113/156] Compiling SwiftParser StringLiterals.swift
[114/156] Compiling SwiftParser SwiftParserCompatibility.swift
[115/156] Compiling SwiftParser SyntaxUtils.swift
[116/156] Compiling SwiftParser TokenConsumer.swift
[117/156] Compiling SwiftParser Parser.swift
[118/156] Compiling SwiftParser Patterns.swift
[119/156] Compiling SwiftParser Recovery.swift
[120/156] Compiling SwiftParser Specifiers.swift
[121/156] Compiling SwiftParser Statements.swift
[122/156] Compiling SwiftParser TokenPrecedence.swift
[123/156] Compiling SwiftParser TokenSpec.swift
[124/156] Compiling SwiftParser TokenSpecSet.swift
[125/156] Compiling SwiftParser TopLevel.swift
[126/156] Compiling SwiftParser TriviaParser.swift
[127/156] Compiling SwiftParser Attributes.swift
[128/156] Compiling SwiftParser Availability.swift
[129/156] Compiling SwiftParser CharacterInfo.swift
[130/156] Compiling SwiftParser CollectionNodes+Parsable.swift
[131/156] Compiling SwiftParser Declarations.swift
[132/156] Compiling SwiftParser Directives.swift
[133/156] Compiling SwiftParser ExperimentalFeatures.swift
[134/156] Compiling SwiftParser Expressions.swift
[135/156] Compiling SwiftParser IncrementalParseTransition.swift
[136/156] Compiling SwiftParser Cursor.swift
[137/156] Compiling SwiftParser Lexeme.swift
[138/156] Compiling SwiftParser LexemeSequence.swift
[139/156] Compiling SwiftParser Types.swift
[140/156] Compiling SwiftParser IsLexerClassified.swift
[141/156] Compiling SwiftParser LayoutNodes+Parsable.swift
[142/156] Compiling SwiftParser Parser+TokenSpecSet.swift
[143/156] Compiling SwiftParser TokenSpecStaticMembers.swift
[145/158] Wrapping AST for SwiftParser for debugging
[147/181] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[148/182] Compiling SwiftOperators PrecedenceGroup.swift
[149/182] Compiling SwiftOperators OperatorTable.swift
[150/182] Compiling SwiftOperators OperatorTable+Semantics.swift
[151/183] Compiling SwiftOperators PrecedenceGraph.swift
[152/183] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[153/183] Emitting module SwiftParserDiagnostics
[154/183] Compiling SwiftParserDiagnostics MissingNodesError.swift
[155/183] Compiling SwiftParserDiagnostics MissingTokenError.swift
[156/183] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[157/183] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[158/183] Emitting module SwiftOperators
[159/183] Compiling SwiftOperators OperatorTable+Folding.swift
[160/183] Compiling SwiftOperators SyntaxSynthesis.swift
[163/185] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[164/185] Compiling SwiftParserDiagnostics Utils.swift
[165/185] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[165/185] Wrapping AST for SwiftOperators for debugging
[167/185] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[168/185] Compiling SwiftParserDiagnostics PresenceUtils.swift
[173/185] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[174/185] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[176/187] Wrapping AST for SwiftParserDiagnostics for debugging
[178/201] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[179/201] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[180/202] Compiling SwiftSyntaxBuilder Indenter.swift
[181/202] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[182/202] Emitting module SwiftSyntaxBuilder
[183/202] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[184/202] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[185/202] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[186/202] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[187/202] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[188/202] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[189/202] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[190/202] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[191/202] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[192/202] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[194/204] Wrapping AST for SwiftSyntaxBuilder for debugging
[196/218] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[197/218] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[198/219] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[199/219] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[200/219] Compiling SwiftSyntaxMacros MemberMacro.swift
[201/219] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[202/219] Compiling SwiftSyntaxMacros Macro+Format.swift
[203/219] Compiling SwiftSyntaxMacros Macro.swift
[204/219] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[205/219] Compiling SwiftSyntaxMacros PeerMacro.swift
[206/219] Compiling SwiftSyntaxMacros AccessorMacro.swift
[207/219] Compiling SwiftSyntaxMacros AttachedMacro.swift
[208/219] Emitting module SwiftSyntaxMacros
[209/219] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[210/219] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[212/221] Wrapping AST for SwiftSyntaxMacros for debugging
[214/229] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[215/229] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[216/229] Emitting module SwiftSyntaxMacroExpansion
[217/229] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[218/229] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[219/229] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[220/229] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[221/229] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[223/231] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[225/238] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[226/238] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[227/238] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[228/238] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[229/238] Emitting module SwiftCompilerPluginMessageHandling
[230/238] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[231/238] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[233/240] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[235/242] Emitting module SwiftCompilerPlugin
[236/242] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[238/244] Wrapping AST for SwiftCompilerPlugin for debugging
[240/247] Emitting module EmailValidationMacros
[241/247] Compiling EmailValidationMacros EmailValidationMacroError.swift
[242/247] 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: CVarArg...)
                       ^
error: fatalError
BUILD FAILURE 5.9 linux