Build Information
Failed to build EmailValidation with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.28.9
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/josetorronteras/EmailValidationMacro.git
Reference: 0.1.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/josetorronteras/EmailValidationMacro
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at a61a3c3 feat: add email validation macro and update README (#2)
Cloned https://github.com/josetorronteras/EmailValidationMacro.git
Revision (git rev-parse @):
a61a3c3656af07f588300848ecc5b79e6cb4ca40
SUCCESS checkout https://github.com/josetorronteras/EmailValidationMacro.git at 0.1.0
========================================
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-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-syntax.git
[1/57187] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (4.12s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (1.64s)
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...
[1/19] Emitting module SwiftSyntax509
[2/19] Compiling SwiftSyntax509 Empty.swift
[4/21] Wrapping AST for SwiftSyntax509 for debugging
[6/66] Compiling SwiftSyntax AbsolutePosition.swift
[7/66] Compiling SwiftSyntax Assert.swift
[8/66] Compiling SwiftSyntax BumpPtrAllocator.swift
[9/66] Compiling SwiftSyntax CommonAncestor.swift
[10/66] Compiling SwiftSyntax Convenience.swift
[11/66] Compiling SwiftSyntax MemoryLayout.swift
[12/66] Compiling SwiftSyntax MissingNodeInitializers.swift
[13/72] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[14/72] Compiling SwiftSyntax Syntax.swift
[15/72] Compiling SwiftSyntax SyntaxArena.swift
[16/72] Compiling SwiftSyntax SyntaxChildren.swift
[17/72] Compiling SwiftSyntax SyntaxCollection.swift
[18/72] Compiling SwiftSyntax SyntaxData.swift
[19/72] Compiling SwiftSyntax RawSyntax.swift
[20/72] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[21/72] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[22/72] Compiling SwiftSyntax RawSyntaxTokenView.swift
[23/72] Compiling SwiftSyntax SourceLength.swift
[24/72] Compiling SwiftSyntax SourceLocation.swift
[25/72] Compiling SwiftSyntax SourcePresence.swift
[26/72] Emitting module SwiftSyntax
[27/72] Compiling SwiftSyntax SyntaxText.swift
[28/72] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[29/72] Compiling SwiftSyntax TokenDiagnostic.swift
[30/72] Compiling SwiftSyntax TokenSyntax.swift
[31/72] Compiling SwiftSyntax Trivia.swift
[32/72] Compiling SwiftSyntax Utils.swift
[33/72] Compiling SwiftSyntax ChildNameForKeyPath.swift
[34/72] Compiling SwiftSyntax Keyword.swift
[35/72] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[36/72] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[37/72] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[38/72] Compiling SwiftSyntax SyntaxBaseNodes.swift
[39/72] Compiling SwiftSyntax SyntaxDeclNodes.swift
[40/72] Compiling SwiftSyntax SyntaxExprNodes.swift
[41/72] Compiling SwiftSyntax SyntaxNodes.swift
[42/72] Compiling SwiftSyntax SyntaxPatternNodes.swift
[43/72] Compiling SwiftSyntax SyntaxStmtNodes.swift
[44/72] Compiling SwiftSyntax SyntaxTypeNodes.swift
[45/72] Compiling SwiftSyntax SyntaxCollections.swift
[46/72] Compiling SwiftSyntax SyntaxEnum.swift
[47/72] Compiling SwiftSyntax SyntaxKind.swift
[48/72] Compiling SwiftSyntax SyntaxRewriter.swift
[49/72] Compiling SwiftSyntax SyntaxTraits.swift
[50/72] Compiling SwiftSyntax SyntaxTransform.swift
[51/72] Compiling SwiftSyntax SyntaxVisitor.swift
[52/72] Compiling SwiftSyntax TokenKind.swift
[53/72] Compiling SwiftSyntax Tokens.swift
[54/72] Compiling SwiftSyntax TriviaPieces.swift
[55/72] Compiling SwiftSyntax RawSyntaxNodes.swift
[56/72] Compiling SwiftSyntax RawSyntaxValidation.swift
[58/74] Wrapping AST for SwiftSyntax for debugging
[60/125] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[61/125] Compiling SwiftBasicFormat Syntax+Extensions.swift
[62/125] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[63/125] Compiling SwiftDiagnostics Note.swift
[64/125] Emitting module SwiftBasicFormat
[65/125] Compiling SwiftDiagnostics Message.swift
[66/125] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[67/125] Compiling SwiftDiagnostics FixIt.swift
[68/125] Compiling SwiftBasicFormat BasicFormat.swift
[70/127] Compiling SwiftDiagnostics Diagnostic.swift
[71/127] Compiling SwiftDiagnostics Convenience.swift
[72/127] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[73/127] Emitting module SwiftDiagnostics
[76/129] Wrapping AST for SwiftBasicFormat for debugging
[77/129] Wrapping AST for SwiftDiagnostics for debugging
[79/129] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[80/129] Compiling SwiftParser StringLiterals.swift
[81/129] Compiling SwiftParser SwiftParserCompatibility.swift
[82/129] Compiling SwiftParser SyntaxUtils.swift
[83/129] Compiling SwiftParser TokenConsumer.swift
[84/129] Compiling SwiftParser TokenPrecedence.swift
[85/129] Compiling SwiftParser TokenSpec.swift
[86/129] Compiling SwiftParser TokenSpecSet.swift
[87/129] Compiling SwiftParser TopLevel.swift
[88/129] Compiling SwiftParser TriviaParser.swift
[89/134] Compiling SwiftParser Modifiers.swift
[90/134] Compiling SwiftParser Names.swift
[91/134] Compiling SwiftParser Nominals.swift
[92/134] Compiling SwiftParser Parameters.swift
[93/134] Compiling SwiftParser ParseSourceFile.swift
[94/134] Compiling SwiftParser Lexer.swift
[95/134] Compiling SwiftParser RegexLiteralLexer.swift
[96/134] Compiling SwiftParser UnicodeScalarExtensions.swift
[97/134] Compiling SwiftParser Lookahead.swift
[98/134] Compiling SwiftParser LoopProgressCondition.swift
[99/134] Compiling SwiftParser Parser.swift
[100/134] Compiling SwiftParser Patterns.swift
[101/134] Compiling SwiftParser Recovery.swift
[102/134] Compiling SwiftParser Specifiers.swift
[103/134] Compiling SwiftParser Statements.swift
[104/134] Compiling SwiftParser Attributes.swift
[105/134] Compiling SwiftParser Availability.swift
[106/134] Compiling SwiftParser CharacterInfo.swift
[107/134] Compiling SwiftParser CollectionNodes+Parsable.swift
[108/134] Compiling SwiftParser Declarations.swift
[109/134] Compiling SwiftParser Directives.swift
[110/134] Emitting module SwiftParser
[111/134] Compiling SwiftParser ExperimentalFeatures.swift
[112/134] Compiling SwiftParser Expressions.swift
[113/134] Compiling SwiftParser IncrementalParseTransition.swift
[114/134] Compiling SwiftParser Cursor.swift
[115/134] Compiling SwiftParser Lexeme.swift
[116/134] Compiling SwiftParser LexemeSequence.swift
[117/134] Compiling SwiftParser Types.swift
[118/134] Compiling SwiftParser IsLexerClassified.swift
[119/134] Compiling SwiftParser LayoutNodes+Parsable.swift
[120/134] Compiling SwiftParser Parser+TokenSpecSet.swift
[121/134] Compiling SwiftParser TokenSpecStaticMembers.swift
[123/136] Wrapping AST for SwiftParser for debugging
[125/159] Compiling SwiftOperators OperatorTable.swift
[126/160] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[127/161] Compiling SwiftOperators PrecedenceGraph.swift
[128/161] Compiling SwiftOperators PrecedenceGroup.swift
[129/161] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[130/161] Compiling SwiftOperators SyntaxSynthesis.swift
[131/161] Compiling SwiftOperators OperatorTable+Semantics.swift
[132/161] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[133/161] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[134/161] Emitting module SwiftOperators
[135/161] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[136/161] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[137/161] Compiling SwiftOperators OperatorTable+Folding.swift
[141/163] Wrapping AST for SwiftOperators for debugging
[143/163] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[144/163] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[145/163] Compiling SwiftParserDiagnostics Utils.swift
[146/163] Emitting module SwiftParserDiagnostics
[147/163] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[148/163] Compiling SwiftParserDiagnostics PresenceUtils.swift
[149/163] Compiling SwiftParserDiagnostics MissingNodesError.swift
[150/163] Compiling SwiftParserDiagnostics MissingTokenError.swift
[154/165] Wrapping AST for SwiftParserDiagnostics for debugging
[156/179] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[157/179] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[158/180] Compiling SwiftSyntaxBuilder Indenter.swift
[159/180] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[160/180] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[161/180] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[162/180] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[163/180] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[164/180] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[165/180] Emitting module SwiftSyntaxBuilder
[166/180] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[167/180] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[168/180] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[169/180] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[170/180] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[172/182] Wrapping AST for SwiftSyntaxBuilder for debugging
[174/196] Compiling SwiftSyntaxMacros AccessorMacro.swift
[175/196] Compiling SwiftSyntaxMacros AttachedMacro.swift
[176/196] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[177/196] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[178/197] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[179/197] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[180/197] Compiling SwiftSyntaxMacros Macro.swift
[181/197] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[182/197] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[183/197] Compiling SwiftSyntaxMacros Macro+Format.swift
[184/197] Compiling SwiftSyntaxMacros MemberMacro.swift
[185/197] Compiling SwiftSyntaxMacros PeerMacro.swift
[186/197] Emitting module SwiftSyntaxMacros
[187/197] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[188/197] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[190/199] Wrapping AST for SwiftSyntaxMacros for debugging
[192/207] Emitting module SwiftSyntaxMacroExpansion
[193/207] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[194/207] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[195/207] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[196/207] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[197/207] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[198/207] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[199/207] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[201/209] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[203/216] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[204/216] Emitting module SwiftCompilerPluginMessageHandling
[205/216] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[206/216] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[207/216] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[208/216] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[209/216] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[211/218] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[213/220] Emitting module SwiftCompilerPlugin
[214/220] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[216/222] Wrapping AST for SwiftCompilerPlugin for debugging
[218/225] Emitting module EmailValidationMacros
[219/225] Compiling EmailValidationMacros EmailValidationMacroError.swift
[220/225] Compiling EmailValidationMacros EmailValidationMacro.swift
/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
[0/1] Planning build
Building for debugging...
[1/7] Emitting module EmailValidationMacros
[2/7] Compiling EmailValidationMacros EmailValidationMacro.swift
/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