Build Information
Failed to build SwiftFixture with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/liamnichols/swift-fixture.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/liamnichols/swift-fixture
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5b68b05 Add `#fixture` and `#register` macros (#18)
Cloned https://github.com/liamnichols/swift-fixture.git
Revision (git rev-parse @):
5b68b057ff09889c8733d4bd3d03df3acd6f767e
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/liamnichols/swift-fixture.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/liamnichols/swift-fixture.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" 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
Fetching https://github.com/apple/swift-syntax.git
[1/60938] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (4.29s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-06-05-a (0.84s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-06-05-a
Building for debugging...
[0/28] Write sources
[13/28] Write swift-version-24593BA9C3E375BF.txt
[15/71] Compiling SwiftSyntax AbsolutePosition.swift
[16/71] Compiling SwiftSyntax Assert.swift
[17/71] Compiling SwiftSyntax BumpPtrAllocator.swift
[18/71] Compiling SwiftSyntax CommonAncestor.swift
[19/71] Compiling SwiftSyntax IncrementalParseTransition.swift
[20/71] Compiling SwiftSyntax MemoryLayout.swift
[21/71] Compiling SwiftSyntax MissingNodeInitializers.swift
[22/71] Compiling SwiftSyntax RawSyntax.swift
[23/71] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[24/71] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[25/71] Compiling SwiftSyntax RawSyntaxTokenView.swift
[26/71] Compiling SwiftSyntax SourceLength.swift
[27/76] Compiling SwiftSyntax SyntaxData.swift
[28/76] Compiling SwiftSyntax SyntaxText.swift
[29/76] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[30/76] Compiling SwiftSyntax TokenDiagnostic.swift
[31/76] Compiling SwiftSyntax TokenSyntax.swift
[32/76] Compiling SwiftSyntax Trivia.swift
[33/76] Emitting module SwiftSyntax
[34/76] Compiling SwiftSyntax SourceLocation.swift
[35/76] Compiling SwiftSyntax SourcePresence.swift
[36/76] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[37/76] Compiling SwiftSyntax Syntax.swift
[38/76] Compiling SwiftSyntax SyntaxArena.swift
[39/76] Compiling SwiftSyntax SyntaxChildren.swift
[40/76] Compiling SwiftSyntax TokenKind.swift
[41/76] Compiling SwiftSyntax Tokens.swift
[42/76] Compiling SwiftSyntax TriviaPieces.swift
[43/76] Compiling SwiftSyntax RawSyntaxNodes.swift
[44/76] Compiling SwiftSyntax RawSyntaxValidation.swift
[45/76] Compiling SwiftSyntax SyntaxDeclNodes.swift
[46/76] Compiling SwiftSyntax SyntaxExprNodes.swift
[47/76] Compiling SwiftSyntax SyntaxNodes.swift
[48/76] Compiling SwiftSyntax SyntaxPatternNodes.swift
[49/76] Compiling SwiftSyntax SyntaxStmtNodes.swift
[50/76] Compiling SwiftSyntax SyntaxTypeNodes.swift
[51/76] Compiling SwiftSyntax Utils.swift
[52/76] Compiling SwiftSyntax ChildNameForKeyPath.swift
[53/76] Compiling SwiftSyntax Keyword.swift
[54/76] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[55/76] Compiling SwiftSyntax SyntaxBaseNodes.swift
[56/76] Compiling SwiftSyntax SyntaxCollections.swift
[57/76] Compiling SwiftSyntax SyntaxEnum.swift
[58/76] Compiling SwiftSyntax SyntaxKind.swift
[59/76] Compiling SwiftSyntax SyntaxRewriter.swift
[60/76] Compiling SwiftSyntax SyntaxTraits.swift
[61/76] Compiling SwiftSyntax SyntaxTransform.swift
[62/76] Compiling SwiftSyntax SyntaxVisitor.swift
[63/77] Wrapping AST for SwiftSyntax for debugging
[65/124] Compiling SwiftDiagnostics FixIt.swift
[66/124] Compiling SwiftDiagnostics Message.swift
[67/124] Compiling SwiftDiagnostics Note.swift
[68/124] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[69/124] Compiling SwiftBasicFormat BasicFormat+Extensions.swift
[70/124] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[71/124] Compiling SwiftDiagnostics Diagnostic.swift
[72/124] Emitting module SwiftDiagnostics
[73/124] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[74/125] Wrapping AST for SwiftDiagnostics for debugging
[76/125] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[77/125] Emitting module SwiftBasicFormat
[78/125] Compiling SwiftBasicFormat BasicFormat.swift
[79/126] Wrapping AST for SwiftBasicFormat for debugging
[81/126] Emitting module SwiftParser
[82/130] Compiling SwiftParser TopLevel.swift
[83/130] Compiling SwiftParser TriviaParser.swift
[84/130] Compiling SwiftParser Types.swift
[85/130] Compiling SwiftParser DeclarationModifier.swift
[86/130] Compiling SwiftParser SyntaxUtils.swift
[87/130] Compiling SwiftParser TokenConsumer.swift
[88/130] Compiling SwiftParser TokenPrecedence.swift
[89/130] Compiling SwiftParser TokenSpec.swift
[90/130] Compiling SwiftParser TokenSpecSet.swift
[91/130] Compiling SwiftParser IsLexerClassified.swift
[92/130] Compiling SwiftParser Parser+Entry.swift
[93/130] Compiling SwiftParser TokenSpecStaticMembers.swift
[94/130] Compiling SwiftParser TypeAttribute.swift
[95/130] Compiling SwiftParser RegexLiteralLexer.swift
[96/130] Compiling SwiftParser UnicodeScalarExtensions.swift
[97/130] Compiling SwiftParser Lookahead.swift
[98/130] Compiling SwiftParser LoopProgressCondition.swift
[99/130] Compiling SwiftParser Modifiers.swift
[100/130] Compiling SwiftParser Names.swift
[101/130] Compiling SwiftParser Nominals.swift
[102/130] Compiling SwiftParser Parameters.swift
[103/130] Compiling SwiftParser Parser.swift
[104/130] Compiling SwiftParser Patterns.swift
[105/130] Compiling SwiftParser Recovery.swift
[106/130] Compiling SwiftParser Specifiers.swift
[107/130] Compiling SwiftParser Statements.swift
[108/130] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[109/130] Compiling SwiftParser StringLiterals.swift
[110/130] Compiling SwiftParser Expressions.swift
[111/130] Compiling SwiftParser Cursor.swift
[112/130] Compiling SwiftParser Lexeme.swift
[113/130] Compiling SwiftParser LexemeSequence.swift
[114/130] Compiling SwiftParser Lexer.swift
[115/130] Compiling SwiftParser Attributes.swift
[116/130] Compiling SwiftParser Availability.swift
[117/130] Compiling SwiftParser CharacterInfo.swift
[118/130] Compiling SwiftParser Declarations.swift
[119/130] Compiling SwiftParser Directives.swift
[120/131] Wrapping AST for SwiftParser for debugging
[122/154] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[123/155] Compiling SwiftOperators OperatorError.swift
[124/155] Compiling SwiftOperators OperatorTable+Defaults.swift
[125/156] Compiling SwiftOperators OperatorTable.swift
[126/156] Compiling SwiftOperators PrecedenceGraph.swift
[127/156] Compiling SwiftOperators Operator.swift
[128/156] Compiling SwiftOperators OperatorError+Diagnostics.swift
[129/156] Compiling SwiftOperators PrecedenceGroup.swift
[130/156] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[131/156] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[132/156] Compiling SwiftParserDiagnostics Utils.swift
[133/156] Compiling SwiftOperators SyntaxSynthesis.swift
[134/156] Compiling SwiftOperators OperatorTable+Semantics.swift
[135/156] Emitting module SwiftOperators
[136/156] Compiling SwiftOperators OperatorTable+Folding.swift
[138/157] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[138/157] Wrapping AST for SwiftOperators for debugging
[140/157] Emitting module SwiftParserDiagnostics
[145/157] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[146/157] Compiling SwiftParserDiagnostics PresenceUtils.swift
[147/157] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[148/157] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[149/158] Wrapping AST for SwiftParserDiagnostics for debugging
[151/169] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[152/169] Compiling SwiftSyntaxBuilder BuildableCollectionNodes.swift
[153/170] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[154/170] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[155/170] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[156/170] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[157/170] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[158/170] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[159/170] Compiling SwiftSyntaxBuilder Indenter.swift
[160/170] Emitting module SwiftSyntaxBuilder
[161/170] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[162/170] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[163/171] Wrapping AST for SwiftSyntaxBuilder for debugging
[165/189] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[166/189] Compiling SwiftSyntaxMacros MemberMacro.swift
[167/191] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[168/191] Compiling SwiftSyntaxMacros AccessorMacro.swift
[169/191] Compiling SwiftSyntaxMacros AttachedMacro.swift
[170/191] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[171/191] Compiling SwiftSyntaxMacros BasicMacroExpansionContext.swift
[172/191] Compiling SwiftSyntaxMacros FunctionParameterUtils.swift
[173/191] Emitting module SwiftSyntaxMacros
[174/191] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[175/191] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[176/191] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[177/191] Compiling SwiftSyntaxMacros ConformanceMacro.swift
[178/191] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[179/191] Compiling SwiftSyntaxMacros Macro+Format.swift
[180/191] Compiling SwiftSyntaxMacros Macro.swift
[181/191] Compiling SwiftSyntaxMacros PeerMacro.swift
[182/191] Compiling SwiftSyntaxMacros MacroReplacement.swift
[183/191] Compiling SwiftSyntaxMacros MacroSystem.swift
[184/191] Compiling SwiftSyntaxMacros Syntax+MacroEvaluation.swift
[185/192] Wrapping AST for SwiftSyntaxMacros for debugging
[187/194] Emitting module SwiftSyntaxMacroExpansion
[188/194] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[189/195] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[191/201] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[192/201] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[193/201] Emitting module SwiftCompilerPluginMessageHandling
[194/201] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[195/201] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[196/201] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[197/202] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[199/204] Emitting module SwiftCompilerPlugin
[200/204] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[201/205] Wrapping AST for SwiftCompilerPlugin for debugging
[203/217] Compiling SwiftFixtureMacros FunctionCallExprSyntax+Multiline.swift
[204/218] Compiling SwiftFixtureMacros ExprSyntaxProtocol+Convenience.swift
[205/218] Compiling SwiftFixtureMacros Plugin.swift
[206/218] Compiling SwiftFixtureMacros ClosureExprSyntax+Convenience.swift
[207/218] Compiling SwiftFixtureMacros DiagnosticMessages.swift
[208/218] Compiling SwiftFixtureMacros DeclNameArgumentsSyntax+Convenience.swift
[209/218] Compiling SwiftFixtureMacros DiagnosticMessage+Diagnostic.swift
[210/218] Compiling SwiftFixtureMacros MacroExpansionExprSyntax+Convenience.swift
[211/218] Compiling SwiftFixtureMacros FixtureMacro.swift
[212/218] Compiling SwiftFixtureMacros InitFixtureMacro.swift
[213/218] Emitting module SwiftFixtureMacros
[214/218] Compiling SwiftFixtureMacros ProvideFixtureMacro.swift
[215/218] Compiling SwiftFixtureMacros RegisterMacro.swift
[216/219] Wrapping AST for SwiftFixtureMacros for debugging
[217/219] Write Objects.LinkFileList
[218/219] Linking SwiftFixtureMacros
[220/227] Compiling SwiftFixture ValueProvider.swift
[221/227] Compiling SwiftFixture OptionalProtocol.swift
[222/227] Compiling SwiftFixture ResolutionError.swift
/host/spi-builder-workspace/Sources/SwiftFixture/ResolutionError.swift:9:10: warning: associated value 'overrideTypeMismatch' of 'Sendable'-conforming enum 'ResolutionError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
7 |
8 | /// An override was provided but the type did not match the requirement of the fixture.
9 | case overrideTypeMismatch(String, Any, Any.Type)
| `- warning: associated value 'overrideTypeMismatch' of 'Sendable'-conforming enum 'ResolutionError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 |
11 | /// An override was specified at the call site but was not used by the fixture value provider.
[223/227] Compiling SwiftFixture FixtureProviding.swift
[224/227] Compiling SwiftFixture Fixture.swift
[225/227] Compiling SwiftFixture Macros.swift
Swift/UnsafeRawPointer.swift:440: Fatal error: load from misaligned raw pointer
*** Signal 4: Backtracing from 0x7fabe4022d04... done ***
*** Program crashed: Illegal instruction at 0x00007fabe4022d04 ***
Thread 0 "SwiftFixtureMac" crashed:
0 0x00007fabe4022d04 closure #1 in closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 308 in libswiftCore.so
1 [ra] 0x00007fabe4022ab2 closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 257 in libswiftCore.so
2 [ra] 0x00007fabe402296d closure #1 in _assertionFailure(_:_:file:line:flags:) + 380 in libswiftCore.so
3 [ra] 0x00007fabe41a6a36 _assertionFailure(_:_:file:line:flags:) + 229 in libswiftCore.so
4 [ra] 0x00007fabe41a6c8e _fatalErrorMessage(_:_:file:line:flags:) + 45 in libswiftCore.so
5 [ra] 0x00007fabe4228910 UnsafeRawBufferPointer.load<A>(fromByteOffset:as:) + 191 in libswiftCore.so
6 [ra] 0x000056128ccd4de2 closure #1 in PluginHostConnection.waitForNextMessage<A>(_:) + 81 in SwiftFixtureMacros at /host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:203:31
7 [ra] 0x00007fabe36363ff partial apply for closure #1 in Data.InlineData.withUnsafeBytes<A>(_:) + 30 in libFoundation.so
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000001 1
rcx 0x0000000000000002 2
rbx 0x00005617efe4415a 94660808950106
rsi 0x0000000000000007 7
rdi 0x000056128ecb8010 02 00 00 00 02 00 02 00 01 00 01 00 00 00 02 00 ················
rbp 0x00007ffff2bf1990 d0 19 bf f2 ff 7f 00 00 b2 2a 02 e4 ab 7f 00 00 з¿òÿ···²*·ä«···
rsp 0x00007ffff2bf1980 20 00 00 00 00 00 00 00 b8 01 00 00 00 00 00 00 ·······¸·······
r8 0x000056128eccadd0 5a 41 e4 ef 17 56 00 00 17 be 69 1d 01 ac 1f c7 ZAäï·V···¾i··¬·Ç
r9 0x00007ffff2bf1770 46 61 74 61 6c 20 65 72 72 6f 72 3a 20 6c 6f 61 Fatal error: loa
r10 0x0000000000000000 0
r11 0xc71fac011d69be17 14348376058614103575
r12 0x0000000000000000 0
r13 0x00007fabe4468eb0 00 02 00 00 00 00 00 00 ac e9 4a e4 ab 7f 00 00 ········¬éJä«···
r14 0x0000000000000001 1
r15 0x0000000000000001 1
rip 0x00007fabe4022d04 0f 0b 48 83 ec 08 48 8d 05 6f 72 47 00 48 8d 3d ··H·ì·H··orG·H·=
rflags 0x0000000000010202
cs 0x0033 fs 0x0000 gs 0x0000
Images (16 omitted):
0x000056128cbf0000–0x000056128e689290 8216dc8e1b912ec47b61b1b6dc32db87fd1e69dc SwiftFixtureMacros /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftFixtureMacros
0x00007fabe3318000–0x00007fabe3a44168 <no build ID> libFoundation.so /usr/lib/swift/linux/libFoundation.so
0x00007fabe3ec3000–0x00007fabe44626b0 <no build ID> libswiftCore.so /usr/lib/swift/linux/libswiftCore.so
Backtrace took 1.36s
/host/spi-builder-workspace/Sources/SwiftFixture/Macros.swift:20:2: error: conformance macros are replaced by extension macros
18 | /// While this macro offers the most convenience for managing fixture values, it requires that the macro is attached to the member declaration and not an extension. This limitation requires that SwiftFixture is included as a dependency of your main targets which is less than ideal. If you prefer not to do this, consider using the ``fixture(_:)`` macro instead.
19 | @attached(member, names: named(provideFixture))
20 | @attached(conformance)
| `- error: conformance macros are replaced by extension macros
21 | public macro ProvideFixture() = #externalMacro(
22 | module: "SwiftFixtureMacros",
/host/spi-builder-workspace/Sources/SwiftFixture/Macros.swift:21:14: warning: external macro implementation type 'SwiftFixtureMacros.ProvideFixtureMacro' could not be found for macro 'ProvideFixture()'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftFixtureMacros' produced malformed response
19 | @attached(member, names: named(provideFixture))
20 | @attached(conformance)
21 | public macro ProvideFixture() = #externalMacro(
| `- warning: external macro implementation type 'SwiftFixtureMacros.ProvideFixtureMacro' could not be found for macro 'ProvideFixture()'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftFixtureMacros' produced malformed response
22 | module: "SwiftFixtureMacros",
23 | type: "ProvideFixtureMacro"
/host/spi-builder-workspace/Sources/SwiftFixture/Macros.swift:64:14: warning: external macro implementation type 'SwiftFixtureMacros.InitFixtureMacro' could not be found for macro 'initFixture(with:using:)'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftFixtureMacros' produced malformed response
62 | /// The `#initFixture` macro leverages this syntax because it contains the argument labels of the call that the macro generates while also having compile time guarantees that you are proving the macro with a reference.
63 | @freestanding(expression)
64 | public macro initFixture<T>(with valueProvider: ValueProvider, using unappliedMethodReference: Any) -> T = #externalMacro(
| `- warning: external macro implementation type 'SwiftFixtureMacros.InitFixtureMacro' could not be found for macro 'initFixture(with:using:)'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftFixtureMacros' produced malformed response
65 | module: "SwiftFixtureMacros",
66 | type: "InitFixtureMacro"
/host/spi-builder-workspace/Sources/SwiftFixture/Macros.swift:98:14: warning: external macro implementation type 'SwiftFixtureMacros.RegisterMacro' could not be found for macro 'register(_:in:using:)'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftFixtureMacros' produced malformed response
96 | /// - SeeAlso: ``fixture(_:)``
97 | @freestanding(expression)
98 | public macro register<T>(
| `- warning: external macro implementation type 'SwiftFixtureMacros.RegisterMacro' could not be found for macro 'register(_:in:using:)'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftFixtureMacros' produced malformed response
99 | _ type: T.Type,
100 | in fixture: Fixture,
/host/spi-builder-workspace/Sources/SwiftFixture/Macros.swift:137:14: warning: external macro implementation type 'SwiftFixtureMacros.FixtureMacro' could not be found for macro 'fixture'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftFixtureMacros' produced malformed response
135 | /// ```
136 | @freestanding(expression)
137 | public macro fixture(_ registering: Any...) -> Fixture = #externalMacro(
| `- warning: external macro implementation type 'SwiftFixtureMacros.FixtureMacro' could not be found for macro 'fixture'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftFixtureMacros' produced malformed response
138 | module: "SwiftFixtureMacros",
139 | type: "FixtureMacro"
error: emit-module command failed with exit code 1 (use -v to see invocation)
[226/227] Compiling SwiftFixture Fixture+DefaultProviders.swift
[227/227] Emitting module SwiftFixture
Swift/UnsafeRawPointer.swift:440: Fatal error: load from misaligned raw pointer
*** Signal 4: Backtracing from 0x7f1b5ebb3d04... done ***
*** Program crashed: Illegal instruction at 0x00007f1b5ebb3d04 ***
Thread 0 "SwiftFixtureMac" crashed:
0 0x00007f1b5ebb3d04 closure #1 in closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 308 in libswiftCore.so
1 [ra] 0x00007f1b5ebb3ab2 closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 257 in libswiftCore.so
2 [ra] 0x00007f1b5ebb396d closure #1 in _assertionFailure(_:_:file:line:flags:) + 380 in libswiftCore.so
3 [ra] 0x00007f1b5ed37a36 _assertionFailure(_:_:file:line:flags:) + 229 in libswiftCore.so
4 [ra] 0x00007f1b5ed37c8e _fatalErrorMessage(_:_:file:line:flags:) + 45 in libswiftCore.so
5 [ra] 0x00007f1b5edb9910 UnsafeRawBufferPointer.load<A>(fromByteOffset:as:) + 191 in libswiftCore.so
6 [ra] 0x000056495b972de2 closure #1 in PluginHostConnection.waitForNextMessage<A>(_:) + 81 in SwiftFixtureMacros at /host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:203:31
7 [ra] 0x00007f1b5e1c73ff partial apply for closure #1 in Data.InlineData.withUnsafeBytes<A>(_:) + 30 in libFoundation.so
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000001 1
rcx 0x0000000000000002 2
rbx 0x0000564c395ad160 94885379756384
rsi 0x0000000000000007 7
rdi 0x000056495dcde010 02 00 00 00 02 00 02 00 01 00 01 00 00 00 02 00 ················
rbp 0x00007ffc9bc52200 40 22 c5 9b fc 7f 00 00 b2 3a bb 5e 1b 7f 00 00 @"Å·ü···²:»^····
rsp 0x00007ffc9bc521f0 20 00 00 00 00 00 00 00 b8 01 00 00 00 00 00 00 ·······¸·······
r8 0x000056495dcf0dd0 60 d1 5a 39 4c 56 00 00 cd cf ae 61 98 02 5e 11 `ÑZ9LV··ÍÏ®a··^·
r9 0x00007ffc9bc51fe0 46 61 74 61 6c 20 65 72 72 6f 72 3a 20 6c 6f 61 Fatal error: loa
r10 0x0000000000000000 0
r11 0x115e029861aecfcd 1251440599952707533
r12 0x0000000000000000 0
r13 0x00007f1b5eff9eb0 00 02 00 00 00 00 00 00 ac f9 03 5f 1b 7f 00 00 ········¬ù·_····
r14 0x0000000000000001 1
r15 0x0000000000000001 1
rip 0x00007f1b5ebb3d04 0f 0b 48 83 ec 08 48 8d 05 6f 72 47 00 48 8d 3d ··H·ì·H··orG·H·=
rflags 0x0000000000010206 PF
cs 0x0033 fs 0x0000 gs 0x0000
Images (16 omitted):
0x000056495b88e000–0x000056495d327290 8216dc8e1b912ec47b61b1b6dc32db87fd1e69dc SwiftFixtureMacros /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftFixtureMacros
0x00007f1b5dea9000–0x00007f1b5e5d5168 <no build ID> libFoundation.so /usr/lib/swift/linux/libFoundation.so
0x00007f1b5ea54000–0x00007f1b5eff36b0 <no build ID> libswiftCore.so /usr/lib/swift/linux/libswiftCore.so
Backtrace took 1.35s
/host/spi-builder-workspace/Sources/SwiftFixture/Macros.swift:20:2: error: conformance macros are replaced by extension macros
18 | /// While this macro offers the most convenience for managing fixture values, it requires that the macro is attached to the member declaration and not an extension. This limitation requires that SwiftFixture is included as a dependency of your main targets which is less than ideal. If you prefer not to do this, consider using the ``fixture(_:)`` macro instead.
19 | @attached(member, names: named(provideFixture))
20 | @attached(conformance)
| `- error: conformance macros are replaced by extension macros
21 | public macro ProvideFixture() = #externalMacro(
22 | module: "SwiftFixtureMacros",
/host/spi-builder-workspace/Sources/SwiftFixture/Macros.swift:21:14: warning: external macro implementation type 'SwiftFixtureMacros.ProvideFixtureMacro' could not be found for macro 'ProvideFixture()'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftFixtureMacros' produced malformed response
19 | @attached(member, names: named(provideFixture))
20 | @attached(conformance)
21 | public macro ProvideFixture() = #externalMacro(
| `- warning: external macro implementation type 'SwiftFixtureMacros.ProvideFixtureMacro' could not be found for macro 'ProvideFixture()'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftFixtureMacros' produced malformed response
22 | module: "SwiftFixtureMacros",
23 | type: "ProvideFixtureMacro"
/host/spi-builder-workspace/Sources/SwiftFixture/Macros.swift:64:14: warning: external macro implementation type 'SwiftFixtureMacros.InitFixtureMacro' could not be found for macro 'initFixture(with:using:)'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftFixtureMacros' produced malformed response
62 | /// The `#initFixture` macro leverages this syntax because it contains the argument labels of the call that the macro generates while also having compile time guarantees that you are proving the macro with a reference.
63 | @freestanding(expression)
64 | public macro initFixture<T>(with valueProvider: ValueProvider, using unappliedMethodReference: Any) -> T = #externalMacro(
| `- warning: external macro implementation type 'SwiftFixtureMacros.InitFixtureMacro' could not be found for macro 'initFixture(with:using:)'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftFixtureMacros' produced malformed response
65 | module: "SwiftFixtureMacros",
66 | type: "InitFixtureMacro"
/host/spi-builder-workspace/Sources/SwiftFixture/Macros.swift:98:14: warning: external macro implementation type 'SwiftFixtureMacros.RegisterMacro' could not be found for macro 'register(_:in:using:)'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftFixtureMacros' produced malformed response
96 | /// - SeeAlso: ``fixture(_:)``
97 | @freestanding(expression)
98 | public macro register<T>(
| `- warning: external macro implementation type 'SwiftFixtureMacros.RegisterMacro' could not be found for macro 'register(_:in:using:)'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftFixtureMacros' produced malformed response
99 | _ type: T.Type,
100 | in fixture: Fixture,
/host/spi-builder-workspace/Sources/SwiftFixture/Macros.swift:137:14: warning: external macro implementation type 'SwiftFixtureMacros.FixtureMacro' could not be found for macro 'fixture'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftFixtureMacros' produced malformed response
135 | /// ```
136 | @freestanding(expression)
137 | public macro fixture(_ registering: Any...) -> Fixture = #externalMacro(
| `- warning: external macro implementation type 'SwiftFixtureMacros.FixtureMacro' could not be found for macro 'fixture'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftFixtureMacros' produced malformed response
138 | module: "SwiftFixtureMacros",
139 | type: "FixtureMacro"
/host/spi-builder-workspace/Sources/SwiftFixture/ResolutionError.swift:9:10: warning: associated value 'overrideTypeMismatch' of 'Sendable'-conforming enum 'ResolutionError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
7 |
8 | /// An override was provided but the type did not match the requirement of the fixture.
9 | case overrideTypeMismatch(String, Any, Any.Type)
| `- warning: associated value 'overrideTypeMismatch' of 'Sendable'-conforming enum 'ResolutionError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 |
11 | /// An override was specified at the call site but was not used by the fixture value provider.
BUILD FAILURE 6.0 linux