\n\t\t\n\t\n}\n\nvar nihao = \"你好\"\n\ntype Struct struct {\n\tCount int\n}\n\nvar s = Struct{}\n"}]}}
{"level":"info","ts":1734210989.2332554,"caller":"proxy/server.go:654","msg":"parsing template"}
{"level":"info","ts":1734210989.2336953,"caller":"proxy/server.go:660","msg":"client -> server: DidChange end"}
{"level":"info","ts":1734210989.23372,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_3297043035/templates.templ","diagnostics":[{"range":{"start":{"line":12,"character":28},"end":{"line":12,"character":28}},"severity":1,"code":"","source":"templ","message":"string expression: missing close brace: line 12, col 28"}]}}
{"level":"info","ts":1734210989.233805,"caller":"proxy/server.go:453","msg":"client -> server: Completion"}
{"level":"info","ts":1734210989.2338347,"caller":"proxy/server.go:75","msg":"updatePosition: found","uri":"file:///tmp/templ_test_3297043035/templates.templ","fromTempl":"12:31","toGo":"36:66"}
{"level":"info","ts":1734210989.6938748,"caller":"proxy/server.go:490","msg":"completion: received items","count":10}
{"level":"info","ts":1734210989.6939578,"caller":"proxy/server.go:526","msg":"client -> server: Completion end"}
{"level":"info","ts":1734210989.695933,"caller":"proxy/server.go:640","msg":"client -> server: DidChange","params":{"textDocument":{"uri":"file:///tmp/templ_test_3297043035/templates.templ","version":4},"contentChanges":[{"text":"package main\n\nimport \"fmt\"\n\ntempl Page(count int) {\n\t\n\t\n\t\t\n\t\t\t
{ fmt.Sprintf(\"%d\",\n\t\t\t
Original
\n\t\t\n\t\n}\n\nvar nihao = \"你好\"\n\ntype Struct struct {\n\tCount int\n}\n\nvar s = Struct{}\n"}]}}
{"level":"info","ts":1734210989.6961148,"caller":"proxy/server.go:654","msg":"parsing template"}
{"level":"info","ts":1734210989.697166,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_3297043035/templates.templ","diagnostics":[{"range":{"start":{"line":12,"character":28},"end":{"line":12,"character":28}},"severity":1,"code":"","source":"templ","message":"string expression: missing close brace: line 12, col 28"}]}}
{"level":"info","ts":1734210989.6971877,"caller":"proxy/server.go:660","msg":"client -> server: DidChange end"}
{"level":"info","ts":1734210989.6972811,"caller":"proxy/server.go:453","msg":"client -> server: Completion"}
{"level":"info","ts":1734210989.697308,"caller":"proxy/server.go:75","msg":"updatePosition: found","uri":"file:///tmp/templ_test_3297043035/templates.templ","fromTempl":"12:44","toGo":"36:79"}
{"level":"info","ts":1734210989.6979222,"caller":"proxy/server.go:490","msg":"completion: received items","count":0}
{"level":"info","ts":1734210989.6979477,"caller":"proxy/server.go:526","msg":"client -> server: Completion end"}
{"level":"info","ts":1734210990.1987672,"caller":"proxy/server.go:453","msg":"client -> server: Completion"}
{"level":"info","ts":1734210990.1988063,"caller":"proxy/server.go:75","msg":"updatePosition: found","uri":"file:///tmp/templ_test_3297043035/templates.templ","fromTempl":"12:44","toGo":"36:79"}
{"level":"info","ts":1734210990.1994252,"caller":"proxy/server.go:490","msg":"completion: received items","count":0}
{"level":"info","ts":1734210990.1994605,"caller":"proxy/server.go:526","msg":"client -> server: Completion end"}
{"level":"info","ts":1734210990.699894,"caller":"proxy/server.go:453","msg":"client -> server: Completion"}
{"level":"info","ts":1734210990.6999564,"caller":"proxy/server.go:75","msg":"updatePosition: found","uri":"file:///tmp/templ_test_3297043035/templates.templ","fromTempl":"12:44","toGo":"36:79"}
{"level":"info","ts":1734210990.7017808,"caller":"proxy/server.go:490","msg":"completion: received items","count":0}
{"level":"info","ts":1734210990.7018142,"caller":"proxy/server.go:526","msg":"client -> server: Completion end"}
{"level":"info","ts":1734210991.2020426,"caller":"lspcmd/lsp_test.go:162","msg":"Completed test"}
{"level":"info","ts":1734210991.20208,"caller":"lspcmd/lsp_test.go:809","msg":"Tearing down LSP"}
{"level":"info","ts":1734210991.202095,"caller":"lspcmd/main.go:128","msg":"context closed"}
{"level":"info","ts":1734210991.2021086,"caller":"lspcmd/main.go:134","msg":"shutdown complete"}
{"level":"info","ts":1734210991.202122,"caller":"lspcmd/stdrwc.go:36","msg":"rwc: closing","name":"serverStream"}
{"level":"info","ts":1734210991.2021973,"caller":"lspcmd/lsp_test.go:727","msg":"Stopped"}
--- FAIL: TestCompletion (3.52s)
--- FAIL: TestCompletion/test-1 (0.46s)
lsp_test.go:158: expected fmt.Sprintf to be in the completion list, but got &protocol.CompletionList{IsIncomplete:true, Items:[]protocol.CompletionItem{protocol.CompletionItem{AdditionalTextEdits:[]protocol.TextEdit(nil), Command:(*protocol.Command)(nil), CommitCharacters:[]string(nil), Tags:[]protocol.CompletionItemTag(nil), Data:interface {}(nil), Deprecated:false, Detail:"\"fmt\"", Documentation:map[string]interface {}{"kind":"markdown", "value":""}, FilterText:"fmt", InsertText:"", InsertTextFormat:2, InsertTextMode:0, Kind:9, Label:"fmt", Preselect:true, SortText:"00000", TextEdit:(*protocol.TextEditOrInsertReplaceEdit)(0xc000046d80)}, protocol.CompletionItem{AdditionalTextEdits:[]protocol.TextEdit(nil), Command:(*protocol.Command)(nil), CommitCharacters:[]string(nil), Tags:[]protocol.CompletionItemTag(nil), Data:interface {}(nil), Deprecated:false, Detail:"*int", Documentation:map[string]interface {}{"kind":"markdown", "value":""}, FilterText:"flagPort", InsertText:"", InsertTextFormat:2, InsertTextMode:0, Kind:6, Label:"flagPort", Preselect:false, SortText:"00001", TextEdit:(*protocol.TextEditOrInsertReplaceEdit)(0xc000046dc0)}, protocol.CompletionItem{AdditionalTextEdits:[]protocol.TextEdit{protocol.TextEdit{Range:protocol.Range{Start:protocol.Position{Line:0x3, Character:0x0}, End:protocol.Position{Line:0x3, Character:0x0}}, NewText:"import \"path/filepath\"\n"}}, Command:(*protocol.Command)(nil), CommitCharacters:[]string(nil), Tags:[]protocol.CompletionItemTag(nil), Data:interface {}(nil), Deprecated:false, Detail:"\"path/filepath\"", Documentation:map[string]interface {}{"kind":"markdown", "value":""}, FilterText:"filepath", InsertText:"", InsertTextFormat:2, InsertTextMode:0, Kind:9, Label:"filepath", Preselect:false, SortText:"00002", TextEdit:(*protocol.TextEditOrInsertReplaceEdit)(0xc000046e00)}, protocol.CompletionItem{AdditionalTextEdits:[]protocol.TextEdit{protocol.TextEdit{Range:protocol.Range{Start:protocol.Position{Line:0x3, Character:0x0}, End:protocol.Position{Line:0x3, Character:0x0}}, NewText:"import \"flag\"\n"}}, Command:(*protocol.Command)(nil), CommitCharacters:[]string(nil), Tags:[]protocol.CompletionItemTag(nil), Data:interface {}(nil), Deprecated:false, Detail:"\"flag\"", Documentation:map[string]interface {}{"kind":"markdown", "value":""}, FilterText:"flag", InsertText:"", InsertTextFormat:2, InsertTextMode:0, Kind:9, Label:"flag", Preselect:false, SortText:"00003", TextEdit:(*protocol.TextEditOrInsertReplaceEdit)(0xc000046e40)}, protocol.CompletionItem{AdditionalTextEdits:[]protocol.TextEdit{protocol.TextEdit{Range:protocol.Range{Start:protocol.Position{Line:0x3, Character:0x0}, End:protocol.Position{Line:0x3, Character:0x0}}, NewText:"import \"compress/flate\"\n"}}, Command:(*protocol.Command)(nil), CommitCharacters:[]string(nil), Tags:[]protocol.CompletionItemTag(nil), Data:interface {}(nil), Deprecated:false, Detail:"\"compress/flate\"", Documentation:map[string]interface {}{"kind":"markdown", "value":""}, FilterText:"flate", InsertText:"", InsertTextFormat:2, InsertTextMode:0, Kind:9, Label:"flate", Preselect:false, SortText:"00004", TextEdit:(*protocol.TextEditOrInsertReplaceEdit)(0xc000046e80)}, protocol.CompletionItem{AdditionalTextEdits:[]protocol.TextEdit{protocol.TextEdit{Range:protocol.Range{Start:protocol.Position{Line:0x3, Character:0x0}, End:protocol.Position{Line:0x3, Character:0x0}}, NewText:"import \"io/fs\"\n"}}, Command:(*protocol.Command)(nil), CommitCharacters:[]string(nil), Tags:[]protocol.CompletionItemTag(nil), Data:interface {}(nil), Deprecated:false, Detail:"\"io/fs\"", Documentation:map[string]interface {}{"kind":"markdown", "value":""}, FilterText:"fs", InsertText:"", InsertTextFormat:2, InsertTextMode:0, Kind:9, Label:"fs", Preselect:false, SortText:"00005", TextEdit:(*protocol.TextEditOrInsertReplaceEdit)(0xc000046ec0)}, protocol.CompletionItem{AdditionalTextEdits:[]protocol.TextEdit(nil), Command:(*protocol.Command)(nil), CommitCharacters:[]string(nil), Tags:[]protocol.CompletionItemTag(nil), Data:interface {}(nil), Deprecated:false, Detail:"", Documentation:map[string]interface {}{"kind":"markdown", "value":""}, FilterText:"false", InsertText:"", InsertTextFormat:2, InsertTextMode:0, Kind:21, Label:"false", Preselect:false, SortText:"00006", TextEdit:(*protocol.TextEditOrInsertReplaceEdit)(0xc000046f00)}, protocol.CompletionItem{AdditionalTextEdits:[]protocol.TextEdit(nil), Command:(*protocol.Command)(nil), CommitCharacters:[]string(nil), Tags:[]protocol.CompletionItemTag(nil), Data:interface {}(nil), Deprecated:false, Detail:"", Documentation:map[string]interface {}{"kind":"markdown", "value":""}, FilterText:"float32", InsertText:"", InsertTextFormat:2, InsertTextMode:0, Kind:7, Label:"float32", Preselect:false, SortText:"00007", TextEdit:(*protocol.TextEditOrInsertReplaceEdit)(0xc000046f40)}, protocol.CompletionItem{AdditionalTextEdits:[]protocol.TextEdit(nil), Command:(*protocol.Command)(nil), CommitCharacters:[]string(nil), Tags:[]protocol.CompletionItemTag(nil), Data:interface {}(nil), Deprecated:false, Detail:"", Documentation:map[string]interface {}{"kind":"markdown", "value":""}, FilterText:"float64", InsertText:"", InsertTextFormat:2, InsertTextMode:0, Kind:7, Label:"float64", Preselect:false, SortText:"00008", TextEdit:(*protocol.TextEditOrInsertReplaceEdit)(0xc000046f80)}, protocol.CompletionItem{AdditionalTextEdits:[]protocol.TextEdit{protocol.TextEdit{Range:protocol.Range{Start:protocol.Position{Line:0x3, Character:0x0}, End:protocol.Position{Line:0x3, Character:0x0}}, NewText:"import \"crypto/internal/edwards25519/field\"\n"}}, Command:(*protocol.Command)(nil), CommitCharacters:[]string(nil), Tags:[]protocol.CompletionItemTag(nil), Data:interface {}(nil), Deprecated:false, Detail:"\"crypto/internal/edwards25519/field\"", Documentation:map[string]interface {}{"kind":"markdown", "value":""}, FilterText:"field", InsertText:"", InsertTextFormat:2, InsertTextMode:0, Kind:9, Label:"field", Preselect:false, SortText:"00009", TextEdit:(*protocol.TextEditOrInsertReplaceEdit)(0xc000046fc0)}, protocol.CompletionItem{AdditionalTextEdits:[]protocol.TextEdit(nil), Command:(*protocol.Command)(nil), CommitCharacters:[]string(nil), Tags:[]protocol.CompletionItemTag(nil), Data:interface {}(nil), Deprecated:false, Detail:"", Documentation:interface {}(nil), FilterText:"", InsertText:"templ ${2:TemplateName}() {\n\t${0}\n}", InsertTextFormat:2, InsertTextMode:0, Kind:15, Label:"templ", Preselect:false, SortText:"", TextEdit:(*protocol.TextEditOrInsertReplaceEdit)(nil)}}}
{"level":"info","ts":1734210991.2025998,"caller":"lspcmd/stdrwc.go:36","msg":"rwc: closing","name":"serverStream"}
{"level":"info","ts":1734210991.2026327,"caller":"lspcmd/stdrwc.go:36","msg":"rwc: closing","name":"clientStream"}
{"level":"info","ts":1734210997.7851868,"caller":"lspcmd/lsp_test.go:721","msg":"Running"}
{"level":"info","ts":1734210997.7852414,"caller":"lspcmd/main.go:76","msg":"lsp: starting up..."}
{"level":"info","ts":1734210997.7852526,"caller":"lspcmd/main.go:83","msg":"lsp: starting gopls..."}
{"level":"info","ts":1734210997.785341,"caller":"lspcmd/main.go:96","msg":"creating gopls client"}
{"level":"info","ts":1734210997.7853618,"caller":"lspcmd/main.go:101","msg":"creating proxy"}
{"level":"info","ts":1734210997.785374,"caller":"lspcmd/main.go:106","msg":"creating templ server"}
{"level":"info","ts":1734210997.7853904,"caller":"lspcmd/main.go:124","msg":"listening"}
{"level":"info","ts":1734210997.7855215,"caller":"proxy/server.go:210","msg":"client -> server: Initialize"}
{"level":"info","ts":1734210997.8256757,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1180848102"}
{"level":"info","ts":1734210997.8257356,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_1180848102"}
{"level":"info","ts":1734210997.8258,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1180848102/css-classes"}
{"level":"info","ts":1734210997.82582,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_1180848102/css-classes"}
{"level":"info","ts":1734210997.825841,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1180848102/css-classes/classes.go"}
{"level":"info","ts":1734210997.825854,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_1180848102/css-classes/classes.go"}
{"level":"info","ts":1734210997.8258755,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1180848102/go.mod"}
{"level":"info","ts":1734210997.825888,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_1180848102/go.mod"}
{"level":"info","ts":1734210997.825909,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1180848102/go.sum"}
{"level":"info","ts":1734210997.8259208,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_1180848102/go.sum"}
{"level":"info","ts":1734210997.825941,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1180848102/main.go"}
{"level":"info","ts":1734210997.8259528,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_1180848102/main.go"}
{"level":"info","ts":1734210997.8259723,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1180848102/remotechild.templ"}
{"level":"info","ts":1734210997.8263123,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_1180848102/remotechild.templ","diagnostics":[]}}
{"level":"info","ts":1734210997.8264444,"caller":"proxy/server.go:271","msg":"setting source map cache contents","uri":"file:///tmp/templ_test_1180848102/remotechild.templ"}
{"level":"info","ts":1734210997.8265026,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1180848102/remotechild_templ.go"}
{"level":"info","ts":1734210997.8265142,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_1180848102/remotechild_templ.go"}
{"level":"info","ts":1734210997.8265312,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1180848102/remoteparent.templ"}
{"level":"info","ts":1734210997.8267803,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_1180848102/remoteparent.templ","diagnostics":[]}}
{"level":"info","ts":1734210997.8270705,"caller":"proxy/server.go:271","msg":"setting source map cache contents","uri":"file:///tmp/templ_test_1180848102/remoteparent.templ"}
{"level":"info","ts":1734210997.8271115,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1180848102/remoteparent_templ.go"}
{"level":"info","ts":1734210997.8271296,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_1180848102/remoteparent_templ.go"}
{"level":"info","ts":1734210997.8271534,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1180848102/templates.templ"}
{"level":"info","ts":1734210997.827863,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_1180848102/templates.templ","diagnostics":[]}}
{"level":"info","ts":1734210997.8280368,"caller":"proxy/server.go:271","msg":"setting source map cache contents","uri":"file:///tmp/templ_test_1180848102/templates.templ"}
{"level":"info","ts":1734210997.8280714,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1180848102/templates_templ.go"}
{"level":"info","ts":1734210997.8280823,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_1180848102/templates_templ.go"}
{"level":"info","ts":1734210997.8280935,"caller":"proxy/server.go:296","msg":"client -> server: Initialize end"}
{"level":"info","ts":1734210997.8282351,"caller":"lspcmd/lsp_test.go:801","msg":"Confirming initialization..."}
{"level":"info","ts":1734210997.8283005,"caller":"proxy/server.go:300","msg":"client -> server: Initialized"}
{"level":"info","ts":1734210997.8283265,"caller":"lspcmd/lsp_test.go:805","msg":"Initialized"}
{"level":"info","ts":1734210997.8283458,"caller":"lspcmd/lsp_test.go:338","msg":"Calling References"}
{"level":"info","ts":1734210997.8285534,"caller":"proxy/server.go:312","msg":"client -> server: Initialized end"}
{"level":"info","ts":1734210997.828738,"caller":"proxy/server.go:1012","msg":"client -> server: References"}
{"level":"info","ts":1734210997.828766,"caller":"proxy/server.go:75","msg":"updatePosition: found","uri":"file:///tmp/templ_test_1180848102/templates.templ","fromTempl":"4:8","toGo":"11:7"}
{"level":"info","ts":1734210997.8297734,"caller":"proxy/client.go:103","msg":"client <- server: ShowMessage","message":"Loading packages..."}
{"level":"info","ts":1734210997.8299084,"caller":"lspcmd/lsp_test.go:651","msg":"client: Received ShowMessage","params":{"message":"Loading packages...","type":4}}
{"level":"info","ts":1734210997.8397622,"caller":"proxy/client.go:47","msg":"client <- server: LogMessage","message":"2024/12/14 21:16:37 Created View (#1)\n\tdirectory=/tmp/templ_test_1180848102\n\tview_type=\"GoMod\"\n\troot_dir=\"file:///tmp/templ_test_1180848102\"\n\tgo_version=\"go version go1.23.4 linux/ppc64le\"\n\tbuild_flags=[]\n\tenv={GOOS:linux GOARCH:ppc64le GOCACHE:/home/buildozer/aports/testing/templ/src/go-cache GOMODCACHE:/home/buildozer/aports/testing/templ/src/go GOPATH:/home/buildozer/go GOPRIVATE: GOFLAGS:-buildmode=pie -modcacherw -buildvcs=false GO111MODULE: GOTOOLCHAIN:local GoVersion:23 GoVersionOutput:go version go1.23.4 linux/ppc64le\n ExplicitGOWORK: EffectiveGOPACKAGESDRIVER:}\n\tenv_overlay=[]\n"}
{"level":"info","ts":1734210997.8398852,"caller":"lspcmd/lsp_test.go:641","msg":"client: Received LogMessage","params":{"message":"2024/12/14 21:16:37 Created View (#1)\n\tdirectory=/tmp/templ_test_1180848102\n\tview_type=\"GoMod\"\n\troot_dir=\"file:///tmp/templ_test_1180848102\"\n\tgo_version=\"go version go1.23.4 linux/ppc64le\"\n\tbuild_flags=[]\n\tenv={GOOS:linux GOARCH:ppc64le GOCACHE:/home/buildozer/aports/testing/templ/src/go-cache GOMODCACHE:/home/buildozer/aports/testing/templ/src/go GOPATH:/home/buildozer/go GOPRIVATE: GOFLAGS:-buildmode=pie -modcacherw -buildvcs=false GO111MODULE: GOTOOLCHAIN:local GoVersion:23 GoVersionOutput:go version go1.23.4 linux/ppc64le\n ExplicitGOWORK: EffectiveGOPACKAGESDRIVER:}\n\tenv_overlay=[]\n","type":3}}
{"level":"info","ts":1734210998.154347,"caller":"proxy/client.go:47","msg":"client <- server: LogMessage","message":"2024/12/14 21:16:38 go/packages.Load #1\n\tview_id=\"1\"\n\tsnapshot=0\n\tdirectory=/tmp/templ_test_1180848102\n\tquery=[/tmp/templ_test_1180848102/... builtin]\n\tpackages=3\n\tduration=314.090252ms\n"}
{"level":"info","ts":1734210998.154464,"caller":"lspcmd/lsp_test.go:641","msg":"client: Received LogMessage","params":{"message":"2024/12/14 21:16:38 go/packages.Load #1\n\tview_id=\"1\"\n\tsnapshot=0\n\tdirectory=/tmp/templ_test_1180848102\n\tquery=[/tmp/templ_test_1180848102/... builtin]\n\tpackages=3\n\tduration=314.090252ms\n","type":3}}
{"level":"info","ts":1734210998.1968534,"caller":"proxy/client.go:103","msg":"client <- server: ShowMessage","message":"Finished loading packages."}
{"level":"info","ts":1734210998.196963,"caller":"lspcmd/lsp_test.go:651","msg":"client: Received ShowMessage","params":{"message":"Finished loading packages.","type":3}}
{"level":"info","ts":1734210998.2502158,"caller":"proxy/client.go:52","msg":"client <- server: PublishDiagnostics"}
{"level":"info","ts":1734210998.2510786,"caller":"proxy/server.go:1033","msg":"references-0: {URI:file:///tmp/templ_test_1180848102/main.go Range:{Start:{Line:24 Character:7} End:{Line:24 Character:11}}}"}
{"level":"info","ts":1734210998.2511253,"caller":"proxy/server.go:1036","msg":"client -> server: References end"}
{"level":"info","ts":1734210998.2510998,"caller":"proxy/client.go:59","msg":"client <- server: PublishDiagnostics: [0]","diagnostic":{"range":{"start":{"line":29,"character":30},"end":{"line":29,"character":36}},"severity":1,"code":"MissingFieldOrMethod","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#MissingFieldOrMethod"},"source":"compiler","message":"Remote.Render undefined (type func() templ.Component has no field or method Render)"}}
{"level":"info","ts":1734210998.251145,"caller":"proxy/client.go:59","msg":"client <- server: PublishDiagnostics: [1]","diagnostic":{"range":{"start":{"line":57,"character":30},"end":{"line":57,"character":36}},"severity":1,"code":"MissingFieldOrMethod","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#MissingFieldOrMethod"},"source":"compiler","message":"Remote.Render undefined (type func() templ.Component has no field or method Render)"}}
{"level":"info","ts":1734210998.2511654,"caller":"proxy/client.go:83","msg":"diagnostic [0] rewritten","diagnostic":{"range":{"start":{"line":3,"character":8},"end":{"line":3,"character":14}},"severity":1,"code":"MissingFieldOrMethod","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#MissingFieldOrMethod"},"source":"compiler","message":"Remote.Render undefined (type func() templ.Component has no field or method Render)"}}
{"level":"info","ts":1734210998.2511835,"caller":"proxy/client.go:83","msg":"diagnostic [1] rewritten","diagnostic":{"range":{"start":{"line":7,"character":8},"end":{"line":7,"character":14}},"severity":1,"code":"MissingFieldOrMethod","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#MissingFieldOrMethod"},"source":"compiler","message":"Remote.Render undefined (type func() templ.Component has no field or method Render)"}}
{"level":"info","ts":1734210998.2513661,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_1180848102/remoteparent.templ","version":1,"diagnostics":[{"range":{"start":{"line":3,"character":8},"end":{"line":3,"character":14}},"severity":1,"code":"MissingFieldOrMethod","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#MissingFieldOrMethod"},"source":"compiler","message":"Remote.Render undefined (type func() templ.Component has no field or method Render)"},{"range":{"start":{"line":7,"character":8},"end":{"line":7,"character":14}},"severity":1,"code":"MissingFieldOrMethod","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#MissingFieldOrMethod"},"source":"compiler","message":"Remote.Render undefined (type func() templ.Component has no field or method Render)"}]}}
{"level":"info","ts":1734210998.2513895,"caller":"proxy/client.go:52","msg":"client <- server: PublishDiagnostics"}
{"level":"info","ts":1734210998.2515197,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_1180848102/remotechild.templ","version":1,"diagnostics":[]}}
{"level":"info","ts":1734210998.2515376,"caller":"proxy/client.go:52","msg":"client <- server: PublishDiagnostics"}
{"level":"info","ts":1734210998.251618,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_1180848102/templates.templ","version":1,"diagnostics":[]}}
{"level":"info","ts":1734210998.7514791,"caller":"proxy/server.go:1012","msg":"client -> server: References"}
{"level":"info","ts":1734210998.7515106,"caller":"proxy/server.go:75","msg":"updatePosition: found","uri":"file:///tmp/templ_test_1180848102/templates.templ","fromTempl":"4:8","toGo":"11:7"}
{"level":"info","ts":1734210998.7540913,"caller":"proxy/server.go:1033","msg":"references-0: {URI:file:///tmp/templ_test_1180848102/main.go Range:{Start:{Line:24 Character:7} End:{Line:24 Character:11}}}"}
{"level":"info","ts":1734210998.754113,"caller":"proxy/server.go:1036","msg":"client -> server: References end"}
{"level":"info","ts":1734210999.2549856,"caller":"proxy/server.go:1012","msg":"client -> server: References"}
{"level":"info","ts":1734210999.2550287,"caller":"proxy/server.go:75","msg":"updatePosition: found","uri":"file:///tmp/templ_test_1180848102/templates.templ","fromTempl":"4:8","toGo":"11:7"}
{"level":"info","ts":1734210999.2558856,"caller":"proxy/server.go:1033","msg":"references-0: {URI:file:///tmp/templ_test_1180848102/main.go Range:{Start:{Line:24 Character:7} End:{Line:24 Character:11}}}"}
{"level":"info","ts":1734210999.255908,"caller":"proxy/server.go:1036","msg":"client -> server: References end"}
{"level":"info","ts":1734210999.3907537,"caller":"proxy/client.go:52","msg":"client <- server: PublishDiagnostics"}
{"level":"info","ts":1734210999.3907924,"caller":"proxy/client.go:54","msg":"client <- server: PublishDiagnostics: skipping go.mod diagnostics"}
{"level":"info","ts":1734210999.756875,"caller":"proxy/server.go:1012","msg":"client -> server: References"}
{"level":"info","ts":1734210999.7569165,"caller":"proxy/server.go:75","msg":"updatePosition: found","uri":"file:///tmp/templ_test_1180848102/templates.templ","fromTempl":"20:8","toGo":"54:8"}
{"level":"info","ts":1734210999.7584763,"caller":"proxy/server.go:1030","msg":"references-0 - range conversion for file:///tmp/templ_test_1180848102/templates_templ.go"}
{"level":"info","ts":1734210999.758516,"caller":"proxy/server.go:1033","msg":"references-0: {URI:file:///tmp/templ_test_1180848102/templates.templ Range:{Start:{Line:24 Character:8} End:{Line:24 Character:14}}}"}
{"level":"info","ts":1734210999.758533,"caller":"proxy/server.go:1036","msg":"client -> server: References end"}
{"level":"info","ts":1734211000.2589066,"caller":"proxy/server.go:1012","msg":"client -> server: References"}
{"level":"info","ts":1734211000.2589414,"caller":"proxy/server.go:75","msg":"updatePosition: found","uri":"file:///tmp/templ_test_1180848102/templates.templ","fromTempl":"20:8","toGo":"54:8"}
{"level":"info","ts":1734211000.2615323,"caller":"proxy/server.go:1030","msg":"references-0 - range conversion for file:///tmp/templ_test_1180848102/templates_templ.go"}
{"level":"info","ts":1734211000.261571,"caller":"proxy/server.go:1033","msg":"references-0: {URI:file:///tmp/templ_test_1180848102/templates.templ Range:{Start:{Line:24 Character:8} End:{Line:24 Character:14}}}"}
{"level":"info","ts":1734211000.261583,"caller":"proxy/server.go:1036","msg":"client -> server: References end"}
{"level":"info","ts":1734211000.7618504,"caller":"proxy/server.go:1012","msg":"client -> server: References"}
{"level":"info","ts":1734211000.7618759,"caller":"proxy/server.go:75","msg":"updatePosition: found","uri":"file:///tmp/templ_test_1180848102/templates.templ","fromTempl":"20:8","toGo":"54:8"}
{"level":"info","ts":1734211000.7644467,"caller":"proxy/server.go:1030","msg":"references-0 - range conversion for file:///tmp/templ_test_1180848102/templates_templ.go"}
{"level":"info","ts":1734211000.7644775,"caller":"proxy/server.go:1033","msg":"references-0: {URI:file:///tmp/templ_test_1180848102/templates.templ Range:{Start:{Line:24 Character:8} End:{Line:24 Character:14}}}"}
{"level":"info","ts":1734211000.7644901,"caller":"proxy/server.go:1036","msg":"client -> server: References end"}
{"level":"info","ts":1734211001.264807,"caller":"proxy/server.go:1012","msg":"client -> server: References"}
{"level":"info","ts":1734211001.2648358,"caller":"proxy/server.go:75","msg":"updatePosition: found","uri":"file:///tmp/templ_test_1180848102/remotechild.templ","fromTempl":"2:8","toGo":"9:7"}
{"level":"info","ts":1734211001.266865,"caller":"proxy/server.go:1030","msg":"references-0 - range conversion for file:///tmp/templ_test_1180848102/remoteparent_templ.go"}
{"level":"info","ts":1734211001.266899,"caller":"proxy/server.go:1033","msg":"references-0: {URI:file:///tmp/templ_test_1180848102/remoteparent.templ Range:{Start:{Line:3 Character:2} End:{Line:3 Character:8}}}"}
{"level":"info","ts":1734211001.266914,"caller":"proxy/server.go:1030","msg":"references-1 - range conversion for file:///tmp/templ_test_1180848102/remoteparent_templ.go"}
{"level":"info","ts":1734211001.2669358,"caller":"proxy/server.go:1033","msg":"references-1: {URI:file:///tmp/templ_test_1180848102/remoteparent.templ Range:{Start:{Line:7 Character:2} End:{Line:7 Character:8}}}"}
{"level":"info","ts":1734211001.2669451,"caller":"proxy/server.go:1036","msg":"client -> server: References end"}
{"level":"info","ts":1734211001.767235,"caller":"proxy/server.go:1012","msg":"client -> server: References"}
{"level":"info","ts":1734211001.7672613,"caller":"proxy/server.go:75","msg":"updatePosition: found","uri":"file:///tmp/templ_test_1180848102/remotechild.templ","fromTempl":"2:8","toGo":"9:7"}
{"level":"info","ts":1734211001.7692232,"caller":"proxy/server.go:1030","msg":"references-0 - range conversion for file:///tmp/templ_test_1180848102/remoteparent_templ.go"}
{"level":"info","ts":1734211001.769257,"caller":"proxy/server.go:1033","msg":"references-0: {URI:file:///tmp/templ_test_1180848102/remoteparent.templ Range:{Start:{Line:3 Character:2} End:{Line:3 Character:8}}}"}
{"level":"info","ts":1734211001.769272,"caller":"proxy/server.go:1030","msg":"references-1 - range conversion for file:///tmp/templ_test_1180848102/remoteparent_templ.go"}
{"level":"info","ts":1734211001.7692895,"caller":"proxy/server.go:1033","msg":"references-1: {URI:file:///tmp/templ_test_1180848102/remoteparent.templ Range:{Start:{Line:7 Character:2} End:{Line:7 Character:8}}}"}
{"level":"info","ts":1734211001.7692983,"caller":"proxy/server.go:1036","msg":"client -> server: References end"}
{"level":"info","ts":1734211002.270339,"caller":"proxy/server.go:1012","msg":"client -> server: References"}
{"level":"info","ts":1734211002.270537,"caller":"proxy/server.go:75","msg":"updatePosition: found","uri":"file:///tmp/templ_test_1180848102/remotechild.templ","fromTempl":"2:8","toGo":"9:7"}
{"level":"info","ts":1734211002.2726061,"caller":"proxy/server.go:1030","msg":"references-0 - range conversion for file:///tmp/templ_test_1180848102/remoteparent_templ.go"}
{"level":"info","ts":1734211002.272641,"caller":"proxy/server.go:1033","msg":"references-0: {URI:file:///tmp/templ_test_1180848102/remoteparent.templ Range:{Start:{Line:3 Character:2} End:{Line:3 Character:8}}}"}
{"level":"info","ts":1734211002.272655,"caller":"proxy/server.go:1030","msg":"references-1 - range conversion for file:///tmp/templ_test_1180848102/remoteparent_templ.go"}
{"level":"info","ts":1734211002.2726731,"caller":"proxy/server.go:1033","msg":"references-1: {URI:file:///tmp/templ_test_1180848102/remoteparent.templ Range:{Start:{Line:7 Character:2} End:{Line:7 Character:8}}}"}
{"level":"info","ts":1734211002.2726822,"caller":"proxy/server.go:1036","msg":"client -> server: References end"}
{"level":"info","ts":1734211002.7730072,"caller":"lspcmd/main.go:128","msg":"context closed"}
{"level":"info","ts":1734211002.7729723,"caller":"lspcmd/lsp_test.go:809","msg":"Tearing down LSP"}
{"level":"info","ts":1734211002.7730908,"caller":"lspcmd/main.go:134","msg":"shutdown complete"}
{"level":"info","ts":1734211002.7732048,"caller":"lspcmd/stdrwc.go:36","msg":"rwc: closing","name":"serverStream"}
{"level":"info","ts":1734211002.7732673,"caller":"lspcmd/lsp_test.go:727","msg":"Stopped"}
{"level":"info","ts":1734211002.7734926,"caller":"lspcmd/stdrwc.go:36","msg":"rwc: closing","name":"serverStream"}
{"level":"info","ts":1734211002.7735646,"caller":"lspcmd/stdrwc.go:36","msg":"rwc: closing","name":"clientStream"}
{"level":"info","ts":1734211002.7742453,"caller":"lspcmd/lsp_test.go:721","msg":"Running"}
{"level":"info","ts":1734211002.7742832,"caller":"lspcmd/main.go:76","msg":"lsp: starting up..."}
{"level":"info","ts":1734211002.7742994,"caller":"lspcmd/main.go:83","msg":"lsp: starting gopls..."}
{"level":"info","ts":1734211002.7744026,"caller":"lspcmd/main.go:96","msg":"creating gopls client"}
{"level":"info","ts":1734211002.7744234,"caller":"lspcmd/main.go:101","msg":"creating proxy"}
{"level":"info","ts":1734211002.7744353,"caller":"lspcmd/main.go:106","msg":"creating templ server"}
{"level":"info","ts":1734211002.7744539,"caller":"lspcmd/main.go:124","msg":"listening"}
{"level":"info","ts":1734211002.7746549,"caller":"proxy/server.go:210","msg":"client -> server: Initialize"}
{"level":"info","ts":1734211002.8137245,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1679943543"}
{"level":"info","ts":1734211002.8137543,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_1679943543"}
{"level":"info","ts":1734211002.813813,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1679943543/css-classes"}
{"level":"info","ts":1734211002.8138313,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_1679943543/css-classes"}
{"level":"info","ts":1734211002.8138535,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1679943543/css-classes/classes.go"}
{"level":"info","ts":1734211002.813866,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_1679943543/css-classes/classes.go"}
{"level":"info","ts":1734211002.813889,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1679943543/go.mod"}
{"level":"info","ts":1734211002.8138998,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_1679943543/go.mod"}
{"level":"info","ts":1734211002.8139172,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1679943543/go.sum"}
{"level":"info","ts":1734211002.8139284,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_1679943543/go.sum"}
{"level":"info","ts":1734211002.8139482,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1679943543/main.go"}
{"level":"info","ts":1734211002.8139594,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_1679943543/main.go"}
{"level":"info","ts":1734211002.8139808,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1679943543/remotechild.templ"}
{"level":"info","ts":1734211002.8143792,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_1679943543/remotechild.templ","diagnostics":[]}}
{"level":"info","ts":1734211002.8145022,"caller":"proxy/server.go:271","msg":"setting source map cache contents","uri":"file:///tmp/templ_test_1679943543/remotechild.templ"}
{"level":"info","ts":1734211002.814547,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1679943543/remotechild_templ.go"}
{"level":"info","ts":1734211002.8145561,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_1679943543/remotechild_templ.go"}
{"level":"info","ts":1734211002.8145685,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1679943543/remoteparent.templ"}
{"level":"info","ts":1734211002.8147767,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_1679943543/remoteparent.templ","diagnostics":[]}}
{"level":"info","ts":1734211002.8149102,"caller":"proxy/server.go:271","msg":"setting source map cache contents","uri":"file:///tmp/templ_test_1679943543/remoteparent.templ"}
{"level":"info","ts":1734211002.814925,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1679943543/remoteparent_templ.go"}
{"level":"info","ts":1734211002.814933,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_1679943543/remoteparent_templ.go"}
{"level":"info","ts":1734211002.8149443,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1679943543/templates.templ"}
{"level":"info","ts":1734211002.815277,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_1679943543/templates.templ","diagnostics":[]}}
{"level":"info","ts":1734211002.8155475,"caller":"proxy/server.go:271","msg":"setting source map cache contents","uri":"file:///tmp/templ_test_1679943543/templates.templ"}
{"level":"info","ts":1734211002.81558,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_1679943543/templates_templ.go"}
{"level":"info","ts":1734211002.8155904,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_1679943543/templates_templ.go"}
{"level":"info","ts":1734211002.8156018,"caller":"proxy/server.go:296","msg":"client -> server: Initialize end"}
{"level":"info","ts":1734211002.8157601,"caller":"lspcmd/lsp_test.go:801","msg":"Confirming initialization..."}
{"level":"info","ts":1734211002.815863,"caller":"proxy/server.go:300","msg":"client -> server: Initialized"}
{"level":"info","ts":1734211002.8159027,"caller":"lspcmd/lsp_test.go:805","msg":"Initialized"}
{"level":"info","ts":1734211002.816183,"caller":"lspcmd/lsp_test.go:514","msg":"Calling codeAction"}
{"level":"info","ts":1734211002.8167865,"caller":"proxy/client.go:103","msg":"client <- server: ShowMessage","message":"Loading packages..."}
{"level":"info","ts":1734211002.8170233,"caller":"proxy/server.go:312","msg":"client -> server: Initialized end"}
{"level":"info","ts":1734211002.8171763,"caller":"lspcmd/lsp_test.go:651","msg":"client: Received ShowMessage","params":{"message":"Loading packages...","type":4}}
{"level":"info","ts":1734211002.8178642,"caller":"proxy/server.go:722","msg":"client -> server: DidOpen","uri":"file:///tmp/templ_test_1679943543/templates.templ"}
{"level":"info","ts":1734211002.8183727,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_1679943543/templates.templ","diagnostics":[]}}
{"level":"info","ts":1734211002.818606,"caller":"proxy/server.go:746","msg":"setting source map cache contents","uri":"file:///tmp/templ_test_1679943543/templates.templ"}
{"level":"info","ts":1734211002.8187451,"caller":"proxy/server.go:753","msg":"client -> server: DidOpen end"}
{"level":"info","ts":1734211002.8188465,"caller":"proxy/server.go:640","msg":"client -> server: DidChange","params":{"textDocument":{"uri":"file:///tmp/templ_test_1679943543/templates.templ","version":2},"contentChanges":[{"text":"package main\n\nimport \"fmt\"\n\ntempl Page(count int) {\n\t\n\t\n\t\t\n\t\t\t
templ test page\n\t\t\n\t\t\n\t\t\t
Count
\n\t\t\t
{ fmt.Sprintf(\"%d\", count) }
\n\t\t\t
Original
\n\t\t\n\t\n}\n\nvar nihao = \"你好\"\n\ntype Struct struct {\n\tCount int\n}\n\nvar s = Struct{}\n"}]}}
{"level":"info","ts":1734211002.818902,"caller":"proxy/server.go:654","msg":"parsing template"}
{"level":"info","ts":1734211002.8194864,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_1679943543/templates.templ","diagnostics":[]}}
{"level":"info","ts":1734211002.8197083,"caller":"proxy/server.go:675","msg":"setting cache","uri":"file:///tmp/templ_test_1679943543/templates.templ"}
{"level":"info","ts":1734211002.8198404,"caller":"proxy/server.go:685","msg":"client -> server: DidChange end"}
{"level":"info","ts":1734211002.820206,"caller":"proxy/server.go:348","msg":"client -> server: CodeAction","params":{"textDocument":{"uri":"file:///tmp/templ_test_1679943543/templates.templ"},"context":{"diagnostics":null},"range":{"start":{"line":24,"character":14},"end":{"line":24,"character":15}}}}
{"level":"info","ts":1734211002.8275344,"caller":"proxy/client.go:47","msg":"client <- server: LogMessage","message":"2024/12/14 21:16:42 Created View (#1)\n\tdirectory=/tmp/templ_test_1679943543\n\tview_type=\"GoMod\"\n\troot_dir=\"file:///tmp/templ_test_1679943543\"\n\tgo_version=\"go version go1.23.4 linux/ppc64le\"\n\tbuild_flags=[]\n\tenv={GOOS:linux GOARCH:ppc64le GOCACHE:/home/buildozer/aports/testing/templ/src/go-cache GOMODCACHE:/home/buildozer/aports/testing/templ/src/go GOPATH:/home/buildozer/go GOPRIVATE: GOFLAGS:-buildmode=pie -modcacherw -buildvcs=false GO111MODULE: GOTOOLCHAIN:local GoVersion:23 GoVersionOutput:go version go1.23.4 linux/ppc64le\n ExplicitGOWORK: EffectiveGOPACKAGESDRIVER:}\n\tenv_overlay=[]\n"}
{"level":"info","ts":1734211002.8277185,"caller":"lspcmd/lsp_test.go:641","msg":"client: Received LogMessage","params":{"message":"2024/12/14 21:16:42 Created View (#1)\n\tdirectory=/tmp/templ_test_1679943543\n\tview_type=\"GoMod\"\n\troot_dir=\"file:///tmp/templ_test_1679943543\"\n\tgo_version=\"go version go1.23.4 linux/ppc64le\"\n\tbuild_flags=[]\n\tenv={GOOS:linux GOARCH:ppc64le GOCACHE:/home/buildozer/aports/testing/templ/src/go-cache GOMODCACHE:/home/buildozer/aports/testing/templ/src/go GOPATH:/home/buildozer/go GOPRIVATE: GOFLAGS:-buildmode=pie -modcacherw -buildvcs=false GO111MODULE: GOTOOLCHAIN:local GoVersion:23 GoVersionOutput:go version go1.23.4 linux/ppc64le\n ExplicitGOWORK: EffectiveGOPACKAGESDRIVER:}\n\tenv_overlay=[]\n","type":3}}
{"level":"info","ts":1734211003.0971859,"caller":"proxy/client.go:47","msg":"client <- server: LogMessage","message":"2024/12/14 21:16:43 go/packages.Load #1\n\tview_id=\"1\"\n\tsnapshot=0\n\tdirectory=/tmp/templ_test_1679943543\n\tquery=[/tmp/templ_test_1679943543/... builtin]\n\tpackages=3\n\tduration=269.171181ms\n"}
{"level":"info","ts":1734211003.0973008,"caller":"lspcmd/lsp_test.go:641","msg":"client: Received LogMessage","params":{"message":"2024/12/14 21:16:43 go/packages.Load #1\n\tview_id=\"1\"\n\tsnapshot=0\n\tdirectory=/tmp/templ_test_1679943543\n\tquery=[/tmp/templ_test_1679943543/... builtin]\n\tpackages=3\n\tduration=269.171181ms\n","type":3}}
{"level":"info","ts":1734211003.141019,"caller":"proxy/client.go:103","msg":"client <- server: ShowMessage","message":"Finished loading packages."}
{"level":"info","ts":1734211003.1411173,"caller":"lspcmd/lsp_test.go:651","msg":"client: Received ShowMessage","params":{"message":"Finished loading packages.","type":3}}
{"level":"info","ts":1734211003.1518767,"caller":"proxy/client.go:103","msg":"client <- server: ShowMessage","message":"Do not edit this file! /tmp/templ_test_1679943543/templates_templ.go is a generated file."}
{"level":"info","ts":1734211003.1951628,"caller":"proxy/client.go:52","msg":"client <- server: PublishDiagnostics"}
{"level":"info","ts":1734211003.1951995,"caller":"proxy/client.go:59","msg":"client <- server: PublishDiagnostics: [0]","diagnostic":{"range":{"start":{"line":29,"character":30},"end":{"line":29,"character":36}},"severity":1,"code":"MissingFieldOrMethod","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#MissingFieldOrMethod"},"source":"compiler","message":"Remote.Render undefined (type func() templ.Component has no field or method Render)"}}
{"level":"info","ts":1734211003.195227,"caller":"proxy/client.go:59","msg":"client <- server: PublishDiagnostics: [1]","diagnostic":{"range":{"start":{"line":57,"character":30},"end":{"line":57,"character":36}},"severity":1,"code":"MissingFieldOrMethod","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#MissingFieldOrMethod"},"source":"compiler","message":"Remote.Render undefined (type func() templ.Component has no field or method Render)"}}
{"level":"info","ts":1734211003.1952443,"caller":"proxy/client.go:83","msg":"diagnostic [0] rewritten","diagnostic":{"range":{"start":{"line":3,"character":8},"end":{"line":3,"character":14}},"severity":1,"code":"MissingFieldOrMethod","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#MissingFieldOrMethod"},"source":"compiler","message":"Remote.Render undefined (type func() templ.Component has no field or method Render)"}}
{"level":"info","ts":1734211003.19526,"caller":"proxy/client.go:83","msg":"diagnostic [1] rewritten","diagnostic":{"range":{"start":{"line":7,"character":8},"end":{"line":7,"character":14}},"severity":1,"code":"MissingFieldOrMethod","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#MissingFieldOrMethod"},"source":"compiler","message":"Remote.Render undefined (type func() templ.Component has no field or method Render)"}}
{"level":"info","ts":1734211003.1954033,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_1679943543/remoteparent.templ","version":1,"diagnostics":[{"range":{"start":{"line":3,"character":8},"end":{"line":3,"character":14}},"severity":1,"code":"MissingFieldOrMethod","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#MissingFieldOrMethod"},"source":"compiler","message":"Remote.Render undefined (type func() templ.Component has no field or method Render)"},{"range":{"start":{"line":7,"character":8},"end":{"line":7,"character":14}},"severity":1,"code":"MissingFieldOrMethod","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#MissingFieldOrMethod"},"source":"compiler","message":"Remote.Render undefined (type func() templ.Component has no field or method Render)"}]}}
{"level":"info","ts":1734211003.1954618,"caller":"proxy/client.go:52","msg":"client <- server: PublishDiagnostics"}
{"level":"info","ts":1734211003.1955807,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_1679943543/remotechild.templ","version":1,"diagnostics":[]}}
{"level":"info","ts":1734211003.1957273,"caller":"proxy/client.go:52","msg":"client <- server: PublishDiagnostics"}
{"level":"info","ts":1734211003.1958203,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_1679943543/templates.templ","version":2,"diagnostics":[]}}
{"level":"info","ts":1734211003.195843,"caller":"proxy/server.go:393","msg":"client -> server: CodeAction end"}
{"level":"info","ts":1734211003.6966643,"caller":"proxy/server.go:348","msg":"client -> server: CodeAction","params":{"textDocument":{"uri":"file:///tmp/templ_test_1679943543/templates.templ"},"context":{"diagnostics":null},"range":{"start":{"line":24,"character":14},"end":{"line":24,"character":15}}}}
{"level":"info","ts":1734211003.700418,"caller":"proxy/server.go:393","msg":"client -> server: CodeAction end"}
{"level":"info","ts":1734211004.202597,"caller":"proxy/server.go:348","msg":"client -> server: CodeAction","params":{"textDocument":{"uri":"file:///tmp/templ_test_1679943543/templates.templ"},"context":{"diagnostics":null},"range":{"start":{"line":24,"character":14},"end":{"line":24,"character":15}}}}
{"level":"info","ts":1734211004.2059345,"caller":"proxy/server.go:393","msg":"client -> server: CodeAction end"}
{"level":"info","ts":1734211004.3462749,"caller":"proxy/client.go:52","msg":"client <- server: PublishDiagnostics"}
{"level":"info","ts":1734211004.3463237,"caller":"proxy/client.go:54","msg":"client <- server: PublishDiagnostics: skipping go.mod diagnostics"}
{"level":"info","ts":1734211004.706247,"caller":"lspcmd/lsp_test.go:809","msg":"Tearing down LSP"}
{"level":"info","ts":1734211004.7062747,"caller":"lspcmd/main.go:128","msg":"context closed"}
{"level":"info","ts":1734211004.7062905,"caller":"lspcmd/main.go:134","msg":"shutdown complete"}
{"level":"info","ts":1734211004.7063043,"caller":"lspcmd/stdrwc.go:36","msg":"rwc: closing","name":"serverStream"}
{"level":"info","ts":1734211004.7063742,"caller":"lspcmd/lsp_test.go:727","msg":"Stopped"}
FAIL
FAIL github.com/a-h/templ/cmd/templ/lspcmd 17.045s
ok github.com/a-h/templ/cmd/templ/lspcmd/proxy 0.017s
ok github.com/a-h/templ/cmd/templ/processor 0.005s
ok github.com/a-h/templ/examples/blog 0.010s
ok github.com/a-h/templ/generator 0.010s
ok github.com/a-h/templ/generator/test-a-href 0.010s
ok github.com/a-h/templ/generator/test-attribute-errors 0.011s
ok github.com/a-h/templ/generator/test-attribute-escaping 0.011s
ok github.com/a-h/templ/generator/test-call 0.009s
ok github.com/a-h/templ/generator/test-cancelled-context 0.008s
ok github.com/a-h/templ/generator/test-complex-attributes 0.011s
ok github.com/a-h/templ/generator/test-constant-attribute-escaping 0.009s
ok github.com/a-h/templ/generator/test-context 0.013s
ok github.com/a-h/templ/generator/test-css-expression 0.012s
ok github.com/a-h/templ/generator/test-css-middleware 0.012s
ok github.com/a-h/templ/generator/test-css-usage 0.011s
ok github.com/a-h/templ/generator/test-doctype 0.012s
ok github.com/a-h/templ/generator/test-element-attributes 0.011s
ok github.com/a-h/templ/generator/test-elseif 0.010s
ok github.com/a-h/templ/generator/test-for 0.012s
ok github.com/a-h/templ/generator/test-form-action 0.013s
ok github.com/a-h/templ/generator/test-go-comments 0.012s
ok github.com/a-h/templ/generator/test-go-template-in-templ 0.009s
ok github.com/a-h/templ/generator/test-html 0.011s
ok github.com/a-h/templ/generator/test-html-comment 0.012s
ok github.com/a-h/templ/generator/test-if 0.012s
ok github.com/a-h/templ/generator/test-ifelse 0.012s
ok github.com/a-h/templ/generator/test-import 0.009s
ok github.com/a-h/templ/generator/test-method 0.012s
ok github.com/a-h/templ/generator/test-once 0.011s
ok github.com/a-h/templ/generator/test-only-scripts 0.011s
ok github.com/a-h/templ/generator/test-raw-elements 0.013s
ok github.com/a-h/templ/generator/test-script-inline 0.011s
ok github.com/a-h/templ/generator/test-script-usage 0.011s
ok github.com/a-h/templ/generator/test-script-usage-nonce 0.015s
ok github.com/a-h/templ/generator/test-spread-attributes 0.010s
ok github.com/a-h/templ/generator/test-string 0.010s
ok github.com/a-h/templ/generator/test-string-errors 0.010s
ok github.com/a-h/templ/generator/test-switch 0.010s
ok github.com/a-h/templ/generator/test-switchdefault 0.010s
ok github.com/a-h/templ/generator/test-templ-element 0.011s
ok github.com/a-h/templ/generator/test-templ-in-go-template 0.011s
ok github.com/a-h/templ/generator/test-text 0.010s
ok github.com/a-h/templ/generator/test-text-whitespace 0.009s
ok github.com/a-h/templ/generator/test-void 0.004s
ok github.com/a-h/templ/generator/test-whitespace-around-go-keywords 0.004s
ok github.com/a-h/templ/parser/v2 0.045s
ok github.com/a-h/templ/parser/v2/goexpression 0.051s
ok github.com/a-h/templ/runtime 0.003s
ok github.com/a-h/templ/safehtml 0.005s
ok github.com/a-h/templ/turbo 0.004s
FAIL
>>> ERROR: templ: check failed
>>> templ: Uninstalling dependencies...
(1/3) Purging .makedepends-templ (20241214.211547)
(2/3) Purging go (1.23.4-r0)
(3/3) Purging gopls (0.16.2-r1)
Executing busybox-1.37.0-r10.trigger
OK: 279 MiB in 109 packages