Build Information
Failed to build SwiftNRC 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/joehinkle11/SwiftNRC.git
Reference: 1.3.4
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/joehinkle11/SwiftNRC
* tag 1.3.4 -> FETCH_HEAD
HEAD is now at 52a60d9 pointerToTop
Cloned https://github.com/joehinkle11/SwiftNRC.git
Revision (git rev-parse @):
52a60d944653bcfcebba8de0f57731a1b62f0525
SUCCESS checkout https://github.com/joehinkle11/SwiftNRC.git at 1.3.4
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $workDir
https://github.com/joehinkle11/SwiftNRC.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
[1/55393] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax (4.13s)
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at main
Building for debugging...
[0/17] Compiling AtomicBool.c
[2/23] Emitting module SwiftSyntax509
[3/23] Compiling SwiftSyntax509 Empty.swift
[5/25] Emitting module SwiftSyntax511
[6/25] Compiling SwiftSyntax511 Empty.swift
[8/26] Compiling SwiftSyntax510 Empty.swift
[9/26] Emitting module SwiftSyntax510
[11/29] Wrapping AST for SwiftSyntax509 for debugging
[14/29] Wrapping AST for SwiftSyntax511 for debugging
[15/29] Wrapping AST for SwiftSyntax510 for debugging
[17/90] Compiling SwiftSyntax AbsolutePosition.swift
[18/90] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[19/90] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[20/90] Compiling SwiftSyntax Assert.swift
[21/90] Compiling SwiftSyntax BumpPtrAllocator.swift
[22/90] Compiling SwiftSyntax CommonAncestor.swift
[23/90] Compiling SwiftSyntax Convenience.swift
[24/90] Compiling SwiftSyntax MemoryLayout.swift
[25/90] Compiling SwiftSyntax MissingNodeInitializers.swift
[26/98] Compiling SwiftSyntax RawSyntax.swift
[27/98] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[28/98] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[29/98] Compiling SwiftSyntax RawSyntaxTokenView.swift
[30/98] Compiling SwiftSyntax SourceEdit.swift
[31/98] Compiling SwiftSyntax SourceLength.swift
[32/98] Compiling SwiftSyntax SourceLocation.swift
[33/98] Compiling SwiftSyntax SourcePresence.swift
[34/98] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[35/98] Emitting module SwiftSyntax
[36/98] Compiling SwiftSyntax Syntax.swift
[37/98] Compiling SwiftSyntax SyntaxArena.swift
[38/98] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[39/98] Compiling SwiftSyntax SyntaxChildren.swift
[40/98] Compiling SwiftSyntax SyntaxCollection.swift
[41/98] Compiling SwiftSyntax SyntaxHashable.swift
[42/98] Compiling SwiftSyntax SyntaxIdentifier.swift
[43/98] Compiling SwiftSyntax SyntaxNodeStructure.swift
[44/98] Compiling SwiftSyntax SyntaxProtocol.swift
[45/98] Compiling SwiftSyntax SyntaxTraits.swift
[46/98] Compiling SwiftSyntax SyntaxVisitor.swift
[47/98] Compiling SwiftSyntax TokenKind.swift
[48/98] Compiling SwiftSyntax Tokens.swift
[49/98] Compiling SwiftSyntax TriviaPieces.swift
[50/98] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[51/98] Compiling SwiftSyntax RawSyntaxNodesC.swift
[52/98] Compiling SwiftSyntax RawSyntaxNodesD.swift
[53/98] Compiling SwiftSyntax SyntaxText.swift
[54/98] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[55/98] Compiling SwiftSyntax TokenDiagnostic.swift
[56/98] Compiling SwiftSyntax TokenSequence.swift
[57/98] Compiling SwiftSyntax TokenSyntax.swift
[58/98] Compiling SwiftSyntax Trivia.swift
[59/98] Compiling SwiftSyntax Utils.swift
[60/98] Compiling SwiftSyntax ChildNameForKeyPath.swift
[61/98] Compiling SwiftSyntax Keyword.swift
[62/98] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[63/98] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[64/98] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[65/98] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[66/98] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[67/98] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[68/98] Compiling SwiftSyntax RawSyntaxValidation.swift
[69/98] Compiling SwiftSyntax SyntaxNodesAB.swift
[70/98] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[71/98] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[72/98] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[73/98] Compiling SwiftSyntax SyntaxBaseNodes.swift
[74/98] Compiling SwiftSyntax SyntaxCollections.swift
[75/98] Compiling SwiftSyntax SyntaxEnum.swift
[76/98] Compiling SwiftSyntax SyntaxKind.swift
[77/98] Compiling SwiftSyntax SyntaxRewriter.swift
[78/98] Compiling SwiftSyntax SyntaxNodesC.swift
[79/98] Compiling SwiftSyntax SyntaxNodesD.swift
[80/98] Compiling SwiftSyntax SyntaxNodesEF.swift
[81/98] Compiling SwiftSyntax SyntaxNodesGHI.swift
[82/98] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[83/98] Compiling SwiftSyntax SyntaxNodesOP.swift
[84/98] Compiling SwiftSyntax SyntaxNodesQRS.swift
[85/98] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[87/103] Wrapping AST for SwiftSyntax for debugging
[89/154] Emitting module SwiftDiagnostics
[90/155] Compiling SwiftDiagnostics Message.swift
[91/155] Compiling SwiftDiagnostics FixIt.swift
[92/155] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[93/155] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[94/155] Compiling SwiftParser Attributes.swift
[95/155] Compiling SwiftParser Availability.swift
[96/155] Compiling SwiftDiagnostics Note.swift
[97/155] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[98/155] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[99/155] Compiling SwiftParser CharacterInfo.swift
[100/155] Compiling SwiftParser CollectionNodes+Parsable.swift
[101/155] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[104/157] Emitting module SwiftBasicFormat
[105/157] Compiling SwiftBasicFormat Syntax+Extensions.swift
[106/157] Compiling SwiftBasicFormat BasicFormat.swift
[106/158] Wrapping AST for SwiftDiagnostics for debugging
[109/159] Wrapping AST for SwiftBasicFormat for debugging
[111/159] Compiling SwiftParser Names.swift
[112/159] Compiling SwiftParser Nominals.swift
[113/159] Compiling SwiftParser Parameters.swift
[114/159] Compiling SwiftParser ParseSourceFile.swift
[115/159] Compiling SwiftParser Parser.swift
[116/164] Compiling SwiftParser Lexer.swift
[117/164] Compiling SwiftParser RegexLiteralLexer.swift
[118/164] Compiling SwiftParser UnicodeScalarExtensions.swift
[119/164] Compiling SwiftParser Lookahead.swift
[120/164] Compiling SwiftParser LoopProgressCondition.swift
[121/164] Compiling SwiftParser Modifiers.swift
[122/164] Emitting module SwiftParser
[123/164] Compiling SwiftParser TokenSpec.swift
[124/164] Compiling SwiftParser TokenSpecSet.swift
[125/164] Compiling SwiftParser TopLevel.swift
[126/164] Compiling SwiftParser TriviaParser.swift
[127/164] Compiling SwiftParser Types.swift
[128/164] Compiling SwiftParser StringLiterals.swift
[129/164] Compiling SwiftParser SwiftParserCompatibility.swift
[130/164] Compiling SwiftParser SyntaxUtils.swift
[131/164] Compiling SwiftParser TokenConsumer.swift
[132/164] Compiling SwiftParser TokenPrecedence.swift
[133/164] Compiling SwiftParser Patterns.swift
[134/164] Compiling SwiftParser Recovery.swift
[135/164] Compiling SwiftParser Specifiers.swift
[136/164] Compiling SwiftParser Statements.swift
[137/164] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[142/164] Compiling SwiftParser Declarations.swift
[143/164] Compiling SwiftParser Directives.swift
[144/164] Compiling SwiftParser Expressions.swift
[145/164] Compiling SwiftParser IncrementalParseTransition.swift
[146/164] Compiling SwiftParser IsValidIdentifier.swift
[147/164] Compiling SwiftParser Cursor.swift
[148/164] Compiling SwiftParser Lexeme.swift
[149/164] Compiling SwiftParser LexemeSequence.swift
[150/164] Compiling SwiftParser ExperimentalFeatures.swift
[151/164] Compiling SwiftParser IsLexerClassified.swift
[152/164] Compiling SwiftParser LayoutNodes+Parsable.swift
[153/164] Compiling SwiftParser Parser+TokenSpecSet.swift
[154/164] Compiling SwiftParser TokenSpecStaticMembers.swift
[156/166] Wrapping AST for SwiftParser for debugging
[158/189] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[159/190] Compiling SwiftOperators PrecedenceGroup.swift
[160/191] Compiling SwiftOperators OperatorTable.swift
[161/191] Compiling SwiftOperators Operator.swift
[162/191] Compiling SwiftOperators OperatorError+Diagnostics.swift
[163/191] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[164/191] Compiling SwiftOperators PrecedenceGraph.swift
[165/191] Emitting module SwiftOperators
[166/191] Compiling SwiftOperators SyntaxSynthesis.swift
[167/191] Compiling SwiftOperators OperatorTable+Semantics.swift
[168/191] Compiling SwiftOperators OperatorError.swift
[169/191] Compiling SwiftOperators OperatorTable+Defaults.swift
[170/191] Compiling SwiftOperators OperatorTable+Folding.swift
[172/193] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[173/193] Compiling SwiftParserDiagnostics Utils.swift
[174/193] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[175/193] Wrapping AST for SwiftOperators for debugging
[179/193] Emitting module SwiftParserDiagnostics
[182/193] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[183/193] Compiling SwiftParserDiagnostics PresenceUtils.swift
[184/193] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[185/193] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[187/195] Wrapping AST for SwiftParserDiagnostics for debugging
[189/209] Compiling SwiftSyntaxBuilder Indenter.swift
[190/209] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[191/209] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[192/209] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[193/210] Emitting module SwiftSyntaxBuilder
[194/210] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[195/210] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[196/210] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[197/210] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[198/210] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[199/210] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[200/210] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[201/210] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[202/210] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[203/210] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[205/212] Wrapping AST for SwiftSyntaxBuilder for debugging
[207/228] Emitting module SwiftSyntaxMacros
[208/230] Compiling SwiftSyntaxMacros AccessorMacro.swift
[209/230] Compiling SwiftSyntaxMacros AttachedMacro.swift
[210/230] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[211/230] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[212/230] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[213/230] Compiling SwiftSyntaxMacros MemberMacro.swift
[214/230] Compiling SwiftSyntaxMacros Macro+Format.swift
[215/230] Compiling SwiftSyntaxMacros Macro.swift
[216/230] Compiling SwiftSyntaxMacros BodyMacro.swift
[217/230] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[218/230] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[219/230] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[220/230] Compiling SwiftSyntaxMacros PeerMacro.swift
[221/230] Compiling SwiftSyntaxMacros PreambleMacro.swift
[222/230] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[223/230] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[224/230] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[226/232] Wrapping AST for SwiftSyntaxMacros for debugging
[228/240] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[229/240] Emitting module SwiftSyntaxMacroExpansion
[230/240] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[231/240] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[232/240] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[233/240] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[234/240] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[235/240] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[237/242] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[239/249] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[240/249] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[241/249] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[242/249] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[243/249] Emitting module SwiftCompilerPluginMessageHandling
[244/249] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[245/249] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[247/251] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[249/253] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[250/253] Emitting module SwiftCompilerPlugin
[252/255] Wrapping AST for SwiftCompilerPlugin for debugging
[254/257] Emitting module SwiftNRCMacrosPlugin
[255/257] Compiling SwiftNRCMacrosPlugin SwiftNRCMacrosPlugin.swift
/host/spi-builder-workspace/Sources/SwiftNRCMacrosPlugin/SwiftNRCMacrosPlugin.swift:123:21: warning: variable 'commentText' was never mutated; consider changing to 'let' constant
var commentText = ""
~~~ ^
let
[257/259] Wrapping AST for SwiftNRCMacrosPlugin for debugging
[258/259] Linking SwiftNRCMacrosPlugin
error: emit-module command failed with exit code 1 (use -v to see invocation)
[260/261] Emitting module SwiftNRC
/host/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift:249:54: error: no type named 'os_unfair_lock' in module 'Foundation'
public typealias __debug_os_unfair_lock = Foundation.os_unfair_lock
^
/host/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift:250:42: error: module 'Foundation' has no member named 'os_unfair_lock_lock'
public let __debug_os_unfair_lock_lock = Foundation.os_unfair_lock_lock
^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift:251:44: error: module 'Foundation' has no member named 'os_unfair_lock_unlock'
public let __debug_os_unfair_lock_unlock = Foundation.os_unfair_lock_unlock
^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
[261/261] Compiling SwiftNRC SwiftNRC.swift
/host/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift:249:54: error: no type named 'os_unfair_lock' in module 'Foundation'
public typealias __debug_os_unfair_lock = Foundation.os_unfair_lock
^
/host/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift:250:42: error: module 'Foundation' has no member named 'os_unfair_lock_lock'
public let __debug_os_unfair_lock_lock = Foundation.os_unfair_lock_lock
^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift:251:44: error: module 'Foundation' has no member named 'os_unfair_lock_unlock'
public let __debug_os_unfair_lock_unlock = Foundation.os_unfair_lock_unlock
^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module SwiftNRC
/host/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift:249:54: error: no type named 'os_unfair_lock' in module 'Foundation'
public typealias __debug_os_unfair_lock = Foundation.os_unfair_lock
^
/host/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift:250:42: error: module 'Foundation' has no member named 'os_unfair_lock_lock'
public let __debug_os_unfair_lock_lock = Foundation.os_unfair_lock_lock
^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift:251:44: error: module 'Foundation' has no member named 'os_unfair_lock_unlock'
public let __debug_os_unfair_lock_unlock = Foundation.os_unfair_lock_unlock
^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
[2/2] Compiling SwiftNRC SwiftNRC.swift
/host/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift:249:54: error: no type named 'os_unfair_lock' in module 'Foundation'
public typealias __debug_os_unfair_lock = Foundation.os_unfair_lock
^
/host/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift:250:42: error: module 'Foundation' has no member named 'os_unfair_lock_lock'
public let __debug_os_unfair_lock_lock = Foundation.os_unfair_lock_lock
^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftNRC/SwiftNRC.swift:251:44: error: module 'Foundation' has no member named 'os_unfair_lock_unlock'
public let __debug_os_unfair_lock_unlock = Foundation.os_unfair_lock_unlock
^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux