Build Information
Failed to build UniquelyTypedID with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/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/danielsincere/UniquelyTypedID.git
Reference: trunk
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/danielsincere/UniquelyTypedID
* branch trunk -> FETCH_HEAD
* [new branch] trunk -> origin/trunk
HEAD is now at 19f7107 Update README.md
Cloned https://github.com/danielsincere/UniquelyTypedID.git
Revision (git rev-parse @):
19f71073e52565b8690a5401185a51d9453de11c
SUCCESS checkout https://github.com/danielsincere/UniquelyTypedID.git at trunk
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/danielsincere/UniquelyTypedID.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/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/60953] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.13s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0 (1.25s)
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
Building for debugging...
[0/35] Write sources
[15/35] Write swift-version-24593BA9C3E375BF.txt
[17/37] Emitting module SwiftSyntax509
[18/37] Compiling SwiftSyntax509 Empty.swift
[19/38] Wrapping AST for SwiftSyntax509 for debugging
[21/83] Compiling SwiftSyntax RawSyntax.swift
[22/83] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[23/83] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[24/83] Compiling SwiftSyntax RawSyntaxTokenView.swift
[25/83] Compiling SwiftSyntax SourceLength.swift
[26/83] Compiling SwiftSyntax SourceLocation.swift
[27/83] Compiling SwiftSyntax SourcePresence.swift
[28/89] Compiling SwiftSyntax AbsolutePosition.swift
[29/89] Compiling SwiftSyntax Assert.swift
[30/89] Compiling SwiftSyntax BumpPtrAllocator.swift
[31/89] Compiling SwiftSyntax CommonAncestor.swift
[32/89] Compiling SwiftSyntax Convenience.swift
[33/89] Compiling SwiftSyntax MemoryLayout.swift
[34/89] Compiling SwiftSyntax MissingNodeInitializers.swift
[35/89] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[36/89] Compiling SwiftSyntax Syntax.swift
[37/89] Compiling SwiftSyntax SyntaxArena.swift
[38/89] Compiling SwiftSyntax SyntaxChildren.swift
[39/89] Compiling SwiftSyntax SyntaxCollection.swift
[40/89] Compiling SwiftSyntax SyntaxData.swift
[41/89] Compiling SwiftSyntax SyntaxText.swift
[42/89] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[43/89] Compiling SwiftSyntax TokenDiagnostic.swift
[44/89] Compiling SwiftSyntax TokenSyntax.swift
[45/89] Compiling SwiftSyntax Trivia.swift
[46/89] Compiling SwiftSyntax Utils.swift
[47/89] Emitting module SwiftSyntax
[48/89] Compiling SwiftSyntax ChildNameForKeyPath.swift
[49/89] Compiling SwiftSyntax Keyword.swift
[50/89] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[51/89] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[52/89] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[53/89] Compiling SwiftSyntax SyntaxBaseNodes.swift
[54/89] Compiling SwiftSyntax SyntaxCollections.swift
[55/89] Compiling SwiftSyntax SyntaxEnum.swift
[56/89] Compiling SwiftSyntax SyntaxKind.swift
[57/89] Compiling SwiftSyntax SyntaxRewriter.swift
[58/89] Compiling SwiftSyntax SyntaxTraits.swift
[59/89] Compiling SwiftSyntax SyntaxTransform.swift
[60/89] Compiling SwiftSyntax SyntaxDeclNodes.swift
[61/89] Compiling SwiftSyntax SyntaxExprNodes.swift
[62/89] Compiling SwiftSyntax SyntaxNodes.swift
[63/89] Compiling SwiftSyntax SyntaxPatternNodes.swift
[64/89] Compiling SwiftSyntax SyntaxStmtNodes.swift
[65/89] Compiling SwiftSyntax SyntaxTypeNodes.swift
[66/89] Compiling SwiftSyntax SyntaxVisitor.swift
[67/89] Compiling SwiftSyntax TokenKind.swift
[68/89] Compiling SwiftSyntax Tokens.swift
[69/89] Compiling SwiftSyntax TriviaPieces.swift
[70/89] Compiling SwiftSyntax RawSyntaxNodes.swift
[71/89] Compiling SwiftSyntax RawSyntaxValidation.swift
[72/90] Wrapping AST for SwiftSyntax for debugging
[74/141] Compiling SwiftBasicFormat Syntax+Extensions.swift
[75/141] Compiling SwiftDiagnostics Note.swift
[76/141] Emitting module SwiftDiagnostics
[77/141] Compiling SwiftDiagnostics Message.swift
[78/141] Compiling SwiftDiagnostics Convenience.swift
[79/141] Compiling SwiftDiagnostics Diagnostic.swift
[80/141] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[81/141] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[82/141] Compiling SwiftDiagnostics FixIt.swift
[83/141] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[84/141] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[85/142] Wrapping AST for SwiftDiagnostics for debugging
[87/142] Emitting module SwiftBasicFormat
[88/142] Compiling SwiftBasicFormat BasicFormat.swift
[89/143] Wrapping AST for SwiftBasicFormat for debugging
[91/143] Compiling SwiftParser TokenPrecedence.swift
[92/143] Compiling SwiftParser TokenSpec.swift
[93/143] Compiling SwiftParser TokenSpecSet.swift
[94/143] Compiling SwiftParser TopLevel.swift
[95/143] Compiling SwiftParser TriviaParser.swift
[96/143] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[97/143] Compiling SwiftParser StringLiterals.swift
[98/143] Compiling SwiftParser SwiftParserCompatibility.swift
[99/143] Compiling SwiftParser SyntaxUtils.swift
[100/143] Compiling SwiftParser TokenConsumer.swift
[101/148] Compiling SwiftParser Modifiers.swift
[102/148] Compiling SwiftParser Names.swift
[103/148] Compiling SwiftParser Nominals.swift
[104/148] Compiling SwiftParser Parameters.swift
[105/148] Compiling SwiftParser ParseSourceFile.swift
[106/148] Compiling SwiftParser Lexer.swift
[107/148] Compiling SwiftParser RegexLiteralLexer.swift
[108/148] Compiling SwiftParser UnicodeScalarExtensions.swift
[109/148] Compiling SwiftParser Lookahead.swift
[110/148] Compiling SwiftParser LoopProgressCondition.swift
[111/148] Compiling SwiftParser Parser.swift
[112/148] Compiling SwiftParser Patterns.swift
[113/148] Compiling SwiftParser Recovery.swift
[114/148] Compiling SwiftParser Specifiers.swift
[115/148] Compiling SwiftParser Statements.swift
[116/148] Compiling SwiftParser Attributes.swift
[117/148] Compiling SwiftParser Availability.swift
[118/148] Compiling SwiftParser CharacterInfo.swift
[119/148] Compiling SwiftParser CollectionNodes+Parsable.swift
[120/148] Compiling SwiftParser Declarations.swift
[121/148] Compiling SwiftParser Directives.swift
[122/148] Compiling SwiftParser ExperimentalFeatures.swift
[123/148] Compiling SwiftParser Expressions.swift
[124/148] Compiling SwiftParser IncrementalParseTransition.swift
[125/148] Compiling SwiftParser Cursor.swift
[126/148] Compiling SwiftParser Lexeme.swift
[127/148] Compiling SwiftParser LexemeSequence.swift
[128/148] Emitting module SwiftParser
[129/148] Compiling SwiftParser Types.swift
[130/148] Compiling SwiftParser IsLexerClassified.swift
[131/148] Compiling SwiftParser LayoutNodes+Parsable.swift
[132/148] Compiling SwiftParser Parser+TokenSpecSet.swift
[133/148] Compiling SwiftParser TokenSpecStaticMembers.swift
[134/149] Wrapping AST for SwiftParser for debugging
[136/172] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[137/173] Compiling SwiftOperators OperatorTable.swift
[138/174] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[139/174] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[140/174] Compiling SwiftOperators PrecedenceGraph.swift
[141/174] Compiling SwiftOperators PrecedenceGroup.swift
[142/174] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[143/174] Compiling SwiftOperators SyntaxSynthesis.swift
[144/174] Emitting module SwiftOperators
[145/174] Compiling SwiftOperators OperatorTable+Semantics.swift
[146/174] Compiling SwiftParserDiagnostics MissingNodesError.swift
[147/174] Compiling SwiftParserDiagnostics MissingTokenError.swift
[148/174] Compiling SwiftOperators OperatorTable+Folding.swift
[150/175] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[150/175] Wrapping AST for SwiftOperators for debugging
[154/175] Emitting module SwiftParserDiagnostics
[155/175] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[156/175] Compiling SwiftParserDiagnostics Utils.swift
[159/175] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[160/175] Compiling SwiftParserDiagnostics PresenceUtils.swift
[161/175] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[162/175] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[163/176] Wrapping AST for SwiftParserDiagnostics for debugging
[165/190] Compiling SwiftSyntaxBuilder Indenter.swift
[166/190] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[167/190] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[168/190] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[169/190] Emitting module SwiftSyntaxBuilder
[170/190] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[171/190] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[172/191] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[173/191] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[174/191] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[175/191] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[176/191] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[177/191] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[178/191] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[179/191] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[180/192] Wrapping AST for SwiftSyntaxBuilder for debugging
[182/206] Compiling SwiftSyntaxMacros Macro.swift
[183/206] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[184/207] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[185/207] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[186/207] Compiling SwiftSyntaxMacros AccessorMacro.swift
[187/207] Compiling SwiftSyntaxMacros AttachedMacro.swift
[188/207] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[189/207] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[190/207] Compiling SwiftSyntaxMacros MemberMacro.swift
[191/207] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[192/207] Compiling SwiftSyntaxMacros Macro+Format.swift
[193/207] Compiling SwiftSyntaxMacros PeerMacro.swift
[194/207] Emitting module SwiftSyntaxMacros
[195/207] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[196/207] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[197/208] Wrapping AST for SwiftSyntaxMacros for debugging
[199/216] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[200/216] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[201/216] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[202/216] Emitting module SwiftSyntaxMacroExpansion
[203/216] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[204/216] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[205/216] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[206/216] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[207/217] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[209/224] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[210/224] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[211/224] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[212/224] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[213/224] Emitting module SwiftCompilerPluginMessageHandling
[214/224] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[215/224] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[216/225] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[218/227] Emitting module SwiftCompilerPlugin
[219/227] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[220/228] Wrapping AST for SwiftCompilerPlugin for debugging
[222/233] Emitting module UniquelyTypedIDMacros
[223/233] Compiling UniquelyTypedIDMacros IntExpansion.swift
[224/233] Compiling UniquelyTypedIDMacros StringExpansion.swift
[225/233] Compiling UniquelyTypedIDMacros UUIDExpansion.swift
[226/233] Compiling UniquelyTypedIDMacros UniquelyTypedIDMacro.swift
[227/234] Wrapping AST for UniquelyTypedIDMacros for debugging
[228/234] Write Objects.LinkFileList
[229/234] Linking UniquelyTypedIDMacros
[231/236] Compiling UniquelyTypedID UniquelyTypedID.swift
Swift/UnsafeRawPointer.swift:440: Fatal error: load from misaligned raw pointer
*** Signal 4: Backtracing from 0x7fc94aadcd04... done ***
*** Program crashed: Illegal instruction at 0x00007fc94aadcd04 ***
Thread 0 "UniquelyTypedID" crashed:
0 0x00007fc94aadcd04 closure #1 in closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 308 in libswiftCore.so
1 [ra] 0x00007fc94aadcab2 closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 257 in libswiftCore.so
2 [ra] 0x00007fc94aadc96d closure #1 in _assertionFailure(_:_:file:line:flags:) + 380 in libswiftCore.so
3 [ra] 0x00007fc94ac60a36 _assertionFailure(_:_:file:line:flags:) + 229 in libswiftCore.so
4 [ra] 0x00007fc94ac60c8e _fatalErrorMessage(_:_:file:line:flags:) + 45 in libswiftCore.so
5 [ra] 0x00007fc94ace2910 UnsafeRawBufferPointer.load<A>(fromByteOffset:as:) + 191 in libswiftCore.so
6 [ra] 0x0000565514bd3472 closure #1 in PluginHostConnection.waitForNextMessage<A>(_:) + 81 in UniquelyTypedIDMacros at /host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:203:31
7 [ra] 0x00007fc94a0f03ff 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 0x000056507209d81b 94903510620187
rsi 0x0000000000000007 7
rdi 0x0000565517578010 02 00 00 00 02 00 02 00 01 00 01 00 00 00 02 00 ················
rbp 0x00007ffe8282f730 70 f7 82 82 fe 7f 00 00 b2 ca ad 4a c9 7f 00 00 p÷··þ···²ÊJÉ···
rsp 0x00007ffe8282f720 20 00 00 00 00 00 00 00 b8 01 00 00 00 00 00 00 ·······¸·······
r8 0x000056551758b370 1b d8 09 72 50 56 00 00 9d 3b 6f 00 d8 2a 5a fd ·Ø·rPV···;o·Ø*Zý
r9 0x00007ffe8282f510 46 61 74 61 6c 20 65 72 72 6f 72 3a 20 6c 6f 61 Fatal error: loa
r10 0x0000000000000000 0
r11 0xfd5a2ad8006f3b9d 18255951146708319133
r12 0x0000000000000000 0
r13 0x00007fc94af22eb0 00 02 00 00 00 00 00 00 ac 89 f6 4a c9 7f 00 00 ········¬·öJÉ···
r14 0x0000000000000001 1
r15 0x0000000000000001 1
rip 0x00007fc94aadcd04 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):
0x0000565514ae0000–0x000056551676de70 50c891065f492942437c48303c905e012d83ee47 UniquelyTypedIDMacros /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros
0x00007fc949dd2000–0x00007fc94a4fe168 <no build ID> libFoundation.so /usr/lib/swift/linux/libFoundation.so
0x00007fc94a97d000–0x00007fc94af1c6b0 <no build ID> libswiftCore.so /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.63s
/host/spi-builder-workspace/Sources/UniquelyTypedID/UniquelyTypedID.swift:4:14: warning: external macro implementation type 'UniquelyTypedIDMacros.UniquelyTypedIDMacro' could not be found for macro 'UniquelyTypedID'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros' produced malformed response
2 |
3 | @attached(peer, names: arbitrary)
4 | public macro UniquelyTypedID<T>(_ rawValueType: T.Type = UUID.self) = #externalMacro(module: "UniquelyTypedIDMacros", type: "UniquelyTypedIDMacro")
| `- warning: external macro implementation type 'UniquelyTypedIDMacros.UniquelyTypedIDMacro' could not be found for macro 'UniquelyTypedID'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros' produced malformed response
5 |
[232/236] Emitting module UniquelyTypedID
Swift/UnsafeRawPointer.swift:440: Fatal error: load from misaligned raw pointer
*** Signal 4: Backtracing from 0x7fa3e2008d04... done ***
*** Program crashed: Illegal instruction at 0x00007fa3e2008d04 ***
Thread 0 "UniquelyTypedID" crashed:
0 0x00007fa3e2008d04 closure #1 in closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 308 in libswiftCore.so
1 [ra] 0x00007fa3e2008ab2 closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 257 in libswiftCore.so
2 [ra] 0x00007fa3e200896d closure #1 in _assertionFailure(_:_:file:line:flags:) + 380 in libswiftCore.so
3 [ra] 0x00007fa3e218ca36 _assertionFailure(_:_:file:line:flags:) + 229 in libswiftCore.so
4 [ra] 0x00007fa3e218cc8e _fatalErrorMessage(_:_:file:line:flags:) + 45 in libswiftCore.so
5 [ra] 0x00007fa3e220e910 UnsafeRawBufferPointer.load<A>(fromByteOffset:as:) + 191 in libswiftCore.so
6 [ra] 0x000055f3dcaae472 closure #1 in PluginHostConnection.waitForNextMessage<A>(_:) + 81 in UniquelyTypedIDMacros at /host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:203:31
7 [ra] 0x00007fa3e161c3ff 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 0x000055f681d5331e 94517228548894
rsi 0x0000000000000007 7
rdi 0x000055f3dee7b010 02 00 00 00 02 00 02 00 01 00 01 00 00 00 02 00 ················
rbp 0x00007ffec7d6b040 80 b0 d6 c7 fe 7f 00 00 b2 8a 00 e2 a3 7f 00 00 ·°ÖÇþ···²··â£···
rsp 0x00007ffec7d6b030 20 00 00 00 00 00 00 00 b8 01 00 00 00 00 00 00 ·······¸·······
r8 0x000055f3dee8e370 1e 33 d5 81 f6 55 00 00 8f b9 b0 32 48 b4 e3 38 ·3Õ·öU···¹°2H´ã8
r9 0x00007ffec7d6ae20 46 61 74 61 6c 20 65 72 72 6f 72 3a 20 6c 6f 61 Fatal error: loa
r10 0x0000000000000000 0
r11 0x38e3b44832b0b98f 4099318308018370959
r12 0x0000000000000000 0
r13 0x00007fa3e244eeb0 00 02 00 00 00 00 00 00 ac 49 49 e2 a3 7f 00 00 ········¬II⣷··
r14 0x0000000000000001 1
r15 0x0000000000000001 1
rip 0x00007fa3e2008d04 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):
0x000055f3dc9bb000–0x000055f3de648e70 50c891065f492942437c48303c905e012d83ee47 UniquelyTypedIDMacros /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros
0x00007fa3e12fe000–0x00007fa3e1a2a168 <no build ID> libFoundation.so /usr/lib/swift/linux/libFoundation.so
0x00007fa3e1ea9000–0x00007fa3e24486b0 <no build ID> libswiftCore.so /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.60s
/host/spi-builder-workspace/Sources/UniquelyTypedID/UniquelyTypedID.swift:4:14: warning: external macro implementation type 'UniquelyTypedIDMacros.UniquelyTypedIDMacro' could not be found for macro 'UniquelyTypedID'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros' produced malformed response
2 |
3 | @attached(peer, names: arbitrary)
4 | public macro UniquelyTypedID<T>(_ rawValueType: T.Type = UUID.self) = #externalMacro(module: "UniquelyTypedIDMacros", type: "UniquelyTypedIDMacro")
| `- warning: external macro implementation type 'UniquelyTypedIDMacros.UniquelyTypedIDMacro' could not be found for macro 'UniquelyTypedID'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros' produced malformed response
5 |
[233/237] Wrapping AST for UniquelyTypedID for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[235/239] Emitting module UniquelyTypedIDClient
Swift/UnsafeRawPointer.swift:440: Fatal error: load from misaligned raw pointer
*** Signal 4: Backtracing from 0x7f08f9331d04... done ***
*** Program crashed: Illegal instruction at 0x00007f08f9331d04 ***
Thread 0 "UniquelyTypedID" crashed:
0 0x00007f08f9331d04 closure #1 in closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 308 in libswiftCore.so
1 [ra] 0x00007f08f9331ab2 closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 257 in libswiftCore.so
2 [ra] 0x00007f08f933196d closure #1 in _assertionFailure(_:_:file:line:flags:) + 380 in libswiftCore.so
3 [ra] 0x00007f08f94b5a36 _assertionFailure(_:_:file:line:flags:) + 229 in libswiftCore.so
4 [ra] 0x00007f08f94b5c8e _fatalErrorMessage(_:_:file:line:flags:) + 45 in libswiftCore.so
5 [ra] 0x00007f08f9537910 UnsafeRawBufferPointer.load<A>(fromByteOffset:as:) + 191 in libswiftCore.so
6 [ra] 0x0000557109862472 closure #1 in PluginHostConnection.waitForNextMessage<A>(_:) + 81 in UniquelyTypedIDMacros at /host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:203:31
7 [ra] 0x00007f08f89453ff 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 0x000055745cbc575f 93958260414303
rsi 0x0000000000000007 7
rdi 0x000055710babc010 02 00 00 00 02 00 02 00 01 00 01 00 00 00 02 00 ················
rbp 0x00007fffe023e720 60 e7 23 e0 ff 7f 00 00 b2 1a 33 f9 08 7f 00 00 `ç#àÿ···²·3ù····
rsp 0x00007fffe023e710 20 00 00 00 00 00 00 00 b8 01 00 00 00 00 00 00 ·······¸·······
r8 0x000055710bacf370 5f 57 bc 5c 74 55 00 00 48 a6 bb 41 bf 66 2a 8e _W¼\tU··H¦»A¿f*·
r9 0x00007fffe023e500 46 61 74 61 6c 20 65 72 72 6f 72 3a 20 6c 6f 61 Fatal error: loa
r10 0x0000000000000000 0
r11 0x8e2a66bf41bba648 10244113274035217992
r12 0x0000000000000000 0
r13 0x00007f08f9777eb0 00 02 00 00 00 00 00 00 ac d9 7b f9 08 7f 00 00 ········¬Ù{ù····
r14 0x0000000000000001 1
r15 0x0000000000000001 1
rip 0x00007f08f9331d04 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):
0x000055710976f000–0x000055710b3fce70 50c891065f492942437c48303c905e012d83ee47 UniquelyTypedIDMacros /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros
0x00007f08f8627000–0x00007f08f8d53168 <no build ID> libFoundation.so /usr/lib/swift/linux/libFoundation.so
0x00007f08f91d2000–0x00007f08f97716b0 <no build ID> libswiftCore.so /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.62s
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:5:44: error: external macro implementation type 'UniquelyTypedIDMacros.UniquelyTypedIDMacro' could not be found for macro 'UniquelyTypedID'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros' produced malformed response
3 |
4 | struct Chili {
5 | @UniquelyTypedID(String.self) public let id: ID
| `- error: external macro implementation type 'UniquelyTypedIDMacros.UniquelyTypedIDMacro' could not be found for macro 'UniquelyTypedID'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros' produced malformed response
6 | let heatLevel: Int
7 | let name: String
/host/spi-builder-workspace/Sources/UniquelyTypedID/UniquelyTypedID.swift:4:14: note: 'UniquelyTypedID' declared here
2 |
3 | @attached(peer, names: arbitrary)
4 | public macro UniquelyTypedID<T>(_ rawValueType: T.Type = UUID.self) = #externalMacro(module: "UniquelyTypedIDMacros", type: "UniquelyTypedIDMacro")
| `- note: 'UniquelyTypedID' declared here
5 |
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:5:48: error: cannot find type 'ID' in scope
3 |
4 | struct Chili {
5 | @UniquelyTypedID(String.self) public let id: ID
| `- error: cannot find type 'ID' in scope
6 | let heatLevel: Int
7 | let name: String
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:22:31: error: external macro implementation type 'UniquelyTypedIDMacros.UniquelyTypedIDMacro' could not be found for macro 'UniquelyTypedID'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros' produced malformed response
20 | /// used to name the generated type
21 | struct Tomato {
22 | @UniquelyTypedID public let id: MyUUID
| `- error: external macro implementation type 'UniquelyTypedIDMacros.UniquelyTypedIDMacro' could not be found for macro 'UniquelyTypedID'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros' produced malformed response
23 | let name: String
24 | }
/host/spi-builder-workspace/Sources/UniquelyTypedID/UniquelyTypedID.swift:4:14: note: 'UniquelyTypedID' declared here
2 |
3 | @attached(peer, names: arbitrary)
4 | public macro UniquelyTypedID<T>(_ rawValueType: T.Type = UUID.self) = #externalMacro(module: "UniquelyTypedIDMacros", type: "UniquelyTypedIDMacro")
| `- note: 'UniquelyTypedID' declared here
5 |
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:22:35: error: cannot find type 'MyUUID' in scope
20 | /// used to name the generated type
21 | struct Tomato {
22 | @UniquelyTypedID public let id: MyUUID
| `- error: cannot find type 'MyUUID' in scope
23 | let name: String
24 | }
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:25:26: error: cannot infer contextual base in reference to member 'init'
23 | let name: String
24 | }
25 | let tomato = Tomato(id: .init(), name: "Roma")
| `- error: cannot infer contextual base in reference to member 'init'
26 | print("Tomato ID:", tomato.id)
27 | /* Output
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:36:34: error: external macro implementation type 'UniquelyTypedIDMacros.UniquelyTypedIDMacro' could not be found for macro 'UniquelyTypedID'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros' produced malformed response
34 | // Integer
35 | struct Aubergine: Codable {
36 | @UniquelyTypedID(Int.self) let id: ID
| `- error: external macro implementation type 'UniquelyTypedIDMacros.UniquelyTypedIDMacro' could not be found for macro 'UniquelyTypedID'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros' produced malformed response
37 | let name: String
38 | }
/host/spi-builder-workspace/Sources/UniquelyTypedID/UniquelyTypedID.swift:4:14: note: 'UniquelyTypedID' declared here
2 |
3 | @attached(peer, names: arbitrary)
4 | public macro UniquelyTypedID<T>(_ rawValueType: T.Type = UUID.self) = #externalMacro(module: "UniquelyTypedIDMacros", type: "UniquelyTypedIDMacro")
| `- note: 'UniquelyTypedID' declared here
5 |
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:36:38: error: cannot find type 'ID' in scope
34 | // Integer
35 | struct Aubergine: Codable {
36 | @UniquelyTypedID(Int.self) let id: ID
| `- error: cannot find type 'ID' in scope
37 | let name: String
38 | }
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:35:8: error: type 'Aubergine' does not conform to protocol 'Decodable'
33 | print("---")
34 | // Integer
35 | struct Aubergine: Codable {
| `- error: type 'Aubergine' does not conform to protocol 'Decodable'
36 | @UniquelyTypedID(Int.self) let id: ID
| `- note: cannot automatically synthesize 'Decodable' because 'ID' does not conform to 'Decodable'
37 | let name: String
38 | }
Swift.Decodable:2:5: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | public protocol Decodable {
2 | init(from decoder: any Decoder) throws
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 | }
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:35:8: error: type 'Aubergine' does not conform to protocol 'Encodable'
33 | print("---")
34 | // Integer
35 | struct Aubergine: Codable {
| `- error: type 'Aubergine' does not conform to protocol 'Encodable'
36 | @UniquelyTypedID(Int.self) let id: ID
| `- note: cannot automatically synthesize 'Encodable' because 'ID' does not conform to 'Encodable'
37 | let name: String
38 | }
Swift.Encodable:2:10: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | public protocol Encodable {
2 | func encode(to encoder: any Encoder) throws
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 | }
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:40:28: error: 'ID' is not a member type of struct 'UniquelyTypedIDClient.Aubergine'
33 | print("---")
34 | // Integer
35 | struct Aubergine: Codable {
| `- note: 'Aubergine' declared here
36 | @UniquelyTypedID(Int.self) let id: ID
37 | let name: String
38 | }
39 |
40 | let aubergineID: Aubergine.ID = 3
| `- error: 'ID' is not a member type of struct 'UniquelyTypedIDClient.Aubergine'
41 | print("Aubergine ID:", aubergineID)
42 |
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:35:8: error: type 'Aubergine' does not conform to protocol 'Decodable'
33 | print("---")
34 | // Integer
35 | struct Aubergine: Codable {
| `- error: type 'Aubergine' does not conform to protocol 'Decodable'
36 | @UniquelyTypedID(Int.self) let id: ID
| `- note: cannot automatically synthesize 'Decodable' because 'ID' does not conform to 'Decodable'
37 | let name: String
38 | }
Swift.Decodable:2:5: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | public protocol Decodable {
2 | init(from decoder: any Decoder) throws
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 | }
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:60:37: error: external macro implementation type 'UniquelyTypedIDMacros.UniquelyTypedIDMacro' could not be found for macro 'UniquelyTypedID'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros' produced malformed response
58 |
59 | struct Vegetable: Codable {
60 | @UniquelyTypedID(String.self) let scientificName: ScientificName
| `- error: external macro implementation type 'UniquelyTypedIDMacros.UniquelyTypedIDMacro' could not be found for macro 'UniquelyTypedID'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros' produced malformed response
61 | let name: String
62 | }
/host/spi-builder-workspace/Sources/UniquelyTypedID/UniquelyTypedID.swift:4:14: note: 'UniquelyTypedID' declared here
2 |
3 | @attached(peer, names: arbitrary)
4 | public macro UniquelyTypedID<T>(_ rawValueType: T.Type = UUID.self) = #externalMacro(module: "UniquelyTypedIDMacros", type: "UniquelyTypedIDMacro")
| `- note: 'UniquelyTypedID' declared here
5 |
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:60:53: error: cannot find type 'ScientificName' in scope
58 |
59 | struct Vegetable: Codable {
60 | @UniquelyTypedID(String.self) let scientificName: ScientificName
| `- error: cannot find type 'ScientificName' in scope
61 | let name: String
62 | }
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:59:8: error: type 'Vegetable' does not conform to protocol 'Decodable'
57 | print("---")
58 |
59 | struct Vegetable: Codable {
| `- error: type 'Vegetable' does not conform to protocol 'Decodable'
60 | @UniquelyTypedID(String.self) let scientificName: ScientificName
| `- note: cannot automatically synthesize 'Decodable' because 'ScientificName' does not conform to 'Decodable'
61 | let name: String
62 | }
Swift.Decodable:2:5: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | public protocol Decodable {
2 | init(from decoder: any Decoder) throws
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 | }
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:59:8: error: type 'Vegetable' does not conform to protocol 'Encodable'
57 | print("---")
58 |
59 | struct Vegetable: Codable {
| `- error: type 'Vegetable' does not conform to protocol 'Encodable'
60 | @UniquelyTypedID(String.self) let scientificName: ScientificName
| `- note: cannot automatically synthesize 'Encodable' because 'ScientificName' does not conform to 'Encodable'
61 | let name: String
62 | }
Swift.Encodable:2:10: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | public protocol Encodable {
2 | func encode(to encoder: any Encoder) throws
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 | }
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:59:8: error: type 'Vegetable' does not conform to protocol 'Decodable'
57 | print("---")
58 |
59 | struct Vegetable: Codable {
| `- error: type 'Vegetable' does not conform to protocol 'Decodable'
60 | @UniquelyTypedID(String.self) let scientificName: ScientificName
| `- note: cannot automatically synthesize 'Decodable' because 'ScientificName' does not conform to 'Decodable'
61 | let name: String
62 | }
Swift.Decodable:2:5: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | public protocol Decodable {
2 | init(from decoder: any Decoder) throws
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 | }
[236/239] Compiling UniquelyTypedIDClient main.swift
Swift/UnsafeRawPointer.swift:440: Fatal error: load from misaligned raw pointer
*** Signal 4: Backtracing from 0x7f06f83b6d04... done ***
*** Program crashed: Illegal instruction at 0x00007f06f83b6d04 ***
Thread 0 "UniquelyTypedID" crashed:
0 0x00007f06f83b6d04 closure #1 in closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 308 in libswiftCore.so
1 [ra] 0x00007f06f83b6ab2 closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 257 in libswiftCore.so
2 [ra] 0x00007f06f83b696d closure #1 in _assertionFailure(_:_:file:line:flags:) + 380 in libswiftCore.so
3 [ra] 0x00007f06f853aa36 _assertionFailure(_:_:file:line:flags:) + 229 in libswiftCore.so
4 [ra] 0x00007f06f853ac8e _fatalErrorMessage(_:_:file:line:flags:) + 45 in libswiftCore.so
5 [ra] 0x00007f06f85bc910 UnsafeRawBufferPointer.load<A>(fromByteOffset:as:) + 191 in libswiftCore.so
6 [ra] 0x000055c1950c0472 closure #1 in PluginHostConnection.waitForNextMessage<A>(_:) + 81 in UniquelyTypedIDMacros at /host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:203:31
7 [ra] 0x00007f06f79ca3ff 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 0x000055c4cbce8010 94303721259024
rsi 0x0000000000000007 7
rdi 0x000055c197d6d010 02 00 00 00 02 00 02 00 01 00 01 00 00 00 02 00 ················
rbp 0x00007fffbad85750 90 57 d8 ba ff 7f 00 00 b2 6a 3b f8 06 7f 00 00 ·Wغÿ···²j;ø····
rsp 0x00007fffbad85740 20 00 00 00 00 00 00 00 b8 01 00 00 00 00 00 00 ·······¸·······
r8 0x000055c197d80370 10 80 ce cb c4 55 00 00 ad 1a da e3 a7 12 68 20 ··ÎËÄU···Ú㧷h
r9 0x00007fffbad85530 46 61 74 61 6c 20 65 72 72 6f 72 3a 20 6c 6f 61 Fatal error: loa
r10 0x0000000000000000 0
r11 0x206812a7e3da1aad 2335136919083162285
r12 0x0000000000000000 0
r13 0x00007f06f87fceb0 00 02 00 00 00 00 00 00 ac 29 84 f8 06 7f 00 00 ········¬)·ø····
r14 0x0000000000000001 1
r15 0x0000000000000001 1
rip 0x00007f06f83b6d04 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):
0x000055c194fcd000–0x000055c196c5ae70 50c891065f492942437c48303c905e012d83ee47 UniquelyTypedIDMacros /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros
0x00007f06f76ac000–0x00007f06f7dd8168 <no build ID> libFoundation.so /usr/lib/swift/linux/libFoundation.so
0x00007f06f8257000–0x00007f06f87f66b0 <no build ID> libswiftCore.so /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.61s
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:5:44: error: external macro implementation type 'UniquelyTypedIDMacros.UniquelyTypedIDMacro' could not be found for macro 'UniquelyTypedID'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros' produced malformed response
3 |
4 | struct Chili {
5 | @UniquelyTypedID(String.self) public let id: ID
| `- error: external macro implementation type 'UniquelyTypedIDMacros.UniquelyTypedIDMacro' could not be found for macro 'UniquelyTypedID'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros' produced malformed response
6 | let heatLevel: Int
7 | let name: String
/host/spi-builder-workspace/Sources/UniquelyTypedID/UniquelyTypedID.swift:4:14: note: 'UniquelyTypedID' declared here
2 |
3 | @attached(peer, names: arbitrary)
4 | public macro UniquelyTypedID<T>(_ rawValueType: T.Type = UUID.self) = #externalMacro(module: "UniquelyTypedIDMacros", type: "UniquelyTypedIDMacro")
| `- note: 'UniquelyTypedID' declared here
5 |
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:5:48: error: cannot find type 'ID' in scope
3 |
4 | struct Chili {
5 | @UniquelyTypedID(String.self) public let id: ID
| `- error: cannot find type 'ID' in scope
6 | let heatLevel: Int
7 | let name: String
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:22:31: error: external macro implementation type 'UniquelyTypedIDMacros.UniquelyTypedIDMacro' could not be found for macro 'UniquelyTypedID'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros' produced malformed response
20 | /// used to name the generated type
21 | struct Tomato {
22 | @UniquelyTypedID public let id: MyUUID
| `- error: external macro implementation type 'UniquelyTypedIDMacros.UniquelyTypedIDMacro' could not be found for macro 'UniquelyTypedID'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros' produced malformed response
23 | let name: String
24 | }
/host/spi-builder-workspace/Sources/UniquelyTypedID/UniquelyTypedID.swift:4:14: note: 'UniquelyTypedID' declared here
2 |
3 | @attached(peer, names: arbitrary)
4 | public macro UniquelyTypedID<T>(_ rawValueType: T.Type = UUID.self) = #externalMacro(module: "UniquelyTypedIDMacros", type: "UniquelyTypedIDMacro")
| `- note: 'UniquelyTypedID' declared here
5 |
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:22:35: error: cannot find type 'MyUUID' in scope
20 | /// used to name the generated type
21 | struct Tomato {
22 | @UniquelyTypedID public let id: MyUUID
| `- error: cannot find type 'MyUUID' in scope
23 | let name: String
24 | }
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:25:26: error: cannot infer contextual base in reference to member 'init'
23 | let name: String
24 | }
25 | let tomato = Tomato(id: .init(), name: "Roma")
| `- error: cannot infer contextual base in reference to member 'init'
26 | print("Tomato ID:", tomato.id)
27 | /* Output
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:36:34: error: external macro implementation type 'UniquelyTypedIDMacros.UniquelyTypedIDMacro' could not be found for macro 'UniquelyTypedID'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros' produced malformed response
34 | // Integer
35 | struct Aubergine: Codable {
36 | @UniquelyTypedID(Int.self) let id: ID
| `- error: external macro implementation type 'UniquelyTypedIDMacros.UniquelyTypedIDMacro' could not be found for macro 'UniquelyTypedID'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros' produced malformed response
37 | let name: String
38 | }
/host/spi-builder-workspace/Sources/UniquelyTypedID/UniquelyTypedID.swift:4:14: note: 'UniquelyTypedID' declared here
2 |
3 | @attached(peer, names: arbitrary)
4 | public macro UniquelyTypedID<T>(_ rawValueType: T.Type = UUID.self) = #externalMacro(module: "UniquelyTypedIDMacros", type: "UniquelyTypedIDMacro")
| `- note: 'UniquelyTypedID' declared here
5 |
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:36:38: error: cannot find type 'ID' in scope
34 | // Integer
35 | struct Aubergine: Codable {
36 | @UniquelyTypedID(Int.self) let id: ID
| `- error: cannot find type 'ID' in scope
37 | let name: String
38 | }
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:35:8: error: type 'Aubergine' does not conform to protocol 'Decodable'
33 | print("---")
34 | // Integer
35 | struct Aubergine: Codable {
| `- error: type 'Aubergine' does not conform to protocol 'Decodable'
36 | @UniquelyTypedID(Int.self) let id: ID
| `- note: cannot automatically synthesize 'Decodable' because 'ID' does not conform to 'Decodable'
37 | let name: String
38 | }
Swift.Decodable:2:5: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | public protocol Decodable {
2 | init(from decoder: any Decoder) throws
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 | }
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:35:8: error: type 'Aubergine' does not conform to protocol 'Encodable'
33 | print("---")
34 | // Integer
35 | struct Aubergine: Codable {
| `- error: type 'Aubergine' does not conform to protocol 'Encodable'
36 | @UniquelyTypedID(Int.self) let id: ID
| `- note: cannot automatically synthesize 'Encodable' because 'ID' does not conform to 'Encodable'
37 | let name: String
38 | }
Swift.Encodable:2:10: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | public protocol Encodable {
2 | func encode(to encoder: any Encoder) throws
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 | }
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:40:28: error: 'ID' is not a member type of struct 'UniquelyTypedIDClient.Aubergine'
33 | print("---")
34 | // Integer
35 | struct Aubergine: Codable {
| `- note: 'Aubergine' declared here
36 | @UniquelyTypedID(Int.self) let id: ID
37 | let name: String
38 | }
39 |
40 | let aubergineID: Aubergine.ID = 3
| `- error: 'ID' is not a member type of struct 'UniquelyTypedIDClient.Aubergine'
41 | print("Aubergine ID:", aubergineID)
42 |
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:35:8: error: type 'Aubergine' does not conform to protocol 'Decodable'
33 | print("---")
34 | // Integer
35 | struct Aubergine: Codable {
| `- error: type 'Aubergine' does not conform to protocol 'Decodable'
36 | @UniquelyTypedID(Int.self) let id: ID
| `- note: cannot automatically synthesize 'Decodable' because 'ID' does not conform to 'Decodable'
37 | let name: String
38 | }
Swift.Decodable:2:5: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | public protocol Decodable {
2 | init(from decoder: any Decoder) throws
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 | }
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:60:37: error: external macro implementation type 'UniquelyTypedIDMacros.UniquelyTypedIDMacro' could not be found for macro 'UniquelyTypedID'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros' produced malformed response
58 |
59 | struct Vegetable: Codable {
60 | @UniquelyTypedID(String.self) let scientificName: ScientificName
| `- error: external macro implementation type 'UniquelyTypedIDMacros.UniquelyTypedIDMacro' could not be found for macro 'UniquelyTypedID'; '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/UniquelyTypedIDMacros' produced malformed response
61 | let name: String
62 | }
/host/spi-builder-workspace/Sources/UniquelyTypedID/UniquelyTypedID.swift:4:14: note: 'UniquelyTypedID' declared here
2 |
3 | @attached(peer, names: arbitrary)
4 | public macro UniquelyTypedID<T>(_ rawValueType: T.Type = UUID.self) = #externalMacro(module: "UniquelyTypedIDMacros", type: "UniquelyTypedIDMacro")
| `- note: 'UniquelyTypedID' declared here
5 |
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:60:53: error: cannot find type 'ScientificName' in scope
58 |
59 | struct Vegetable: Codable {
60 | @UniquelyTypedID(String.self) let scientificName: ScientificName
| `- error: cannot find type 'ScientificName' in scope
61 | let name: String
62 | }
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:59:8: error: type 'Vegetable' does not conform to protocol 'Decodable'
57 | print("---")
58 |
59 | struct Vegetable: Codable {
| `- error: type 'Vegetable' does not conform to protocol 'Decodable'
60 | @UniquelyTypedID(String.self) let scientificName: ScientificName
| `- note: cannot automatically synthesize 'Decodable' because 'ScientificName' does not conform to 'Decodable'
61 | let name: String
62 | }
Swift.Decodable:2:5: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | public protocol Decodable {
2 | init(from decoder: any Decoder) throws
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 | }
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:59:8: error: type 'Vegetable' does not conform to protocol 'Encodable'
57 | print("---")
58 |
59 | struct Vegetable: Codable {
| `- error: type 'Vegetable' does not conform to protocol 'Encodable'
60 | @UniquelyTypedID(String.self) let scientificName: ScientificName
| `- note: cannot automatically synthesize 'Encodable' because 'ScientificName' does not conform to 'Encodable'
61 | let name: String
62 | }
Swift.Encodable:2:10: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | public protocol Encodable {
2 | func encode(to encoder: any Encoder) throws
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 | }
/host/spi-builder-workspace/Sources/UniquelyTypedIDClient/main.swift:59:8: error: type 'Vegetable' does not conform to protocol 'Decodable'
57 | print("---")
58 |
59 | struct Vegetable: Codable {
| `- error: type 'Vegetable' does not conform to protocol 'Decodable'
60 | @UniquelyTypedID(String.self) let scientificName: ScientificName
| `- note: cannot automatically synthesize 'Decodable' because 'ScientificName' does not conform to 'Decodable'
61 | let name: String
62 | }
Swift.Decodable:2:5: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | public protocol Decodable {
2 | init(from decoder: any Decoder) throws
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 | }
BUILD FAILURE 6.0 linux