>>> templ: Building testing/templ 0.2.793-r0 (using abuild 3.14.1-r3) started Sat, 14 Dec 2024 21:15:45 +0000 >>> templ: Validating /home/buildozer/aports/testing/templ/APKBUILD... >>> templ: Analyzing dependencies... >>> templ: Installing for build: build-base go gopls (1/3) Installing go (1.23.4-r0) (2/3) Installing gopls (0.16.2-r1) (3/3) Installing .makedepends-templ (20241214.211547) Executing busybox-1.37.0-r10.trigger OK: 488 MiB in 112 packages >>> templ: Cleaning up srcdir >>> templ: Cleaning up pkgdir >>> templ: Cleaning up tmpdir >>> templ: Fetching https://distfiles.alpinelinux.org/distfiles/edge/templ-0.2.793.tar.gz >>> templ: Fetching https://distfiles.alpinelinux.org/distfiles/edge/templ-0.2.793.tar.gz >>> templ: Checking sha512sums... templ-0.2.793.tar.gz: OK >>> templ: Unpacking /var/cache/distfiles/templ-0.2.793.tar.gz... go: downloading github.com/a-h/protocol v0.0.0-20240704131721-1e461c188041 go: downloading github.com/fatih/color v1.16.0 go: downloading go.lsp.dev/jsonrpc2 v0.10.0 go: downloading github.com/cenkalti/backoff/v4 v4.3.0 go: downloading go.uber.org/zap v1.27.0 go: downloading github.com/cli/browser v1.3.0 go: downloading github.com/fsnotify/fsnotify v1.7.0 go: downloading github.com/natefinch/atomic v1.0.1 go: downloading golang.org/x/tools v0.24.0 go: downloading golang.org/x/sync v0.8.0 go: downloading github.com/PuerkitoBio/goquery v1.8.1 go: downloading github.com/andybalholm/brotli v1.1.0 go: downloading golang.org/x/mod v0.20.0 go: downloading go.lsp.dev/uri v0.3.0 go: downloading github.com/a-h/parse v0.0.0-20240121214402-3caf7543159a go: downloading github.com/segmentio/encoding v0.4.0 go: downloading github.com/mattn/go-isatty v0.0.20 go: downloading github.com/mattn/go-colorable v0.1.13 go: downloading golang.org/x/net v0.28.0 go: downloading github.com/andybalholm/cascadia v1.3.1 go: downloading golang.org/x/sys v0.23.0 go: downloading go.lsp.dev/pkg v0.0.0-20210717090340-384b27a52fb2 go: downloading go.uber.org/multierr v1.11.0 go: downloading github.com/segmentio/asm v1.2.0 vendor/golang.org/x/crypto/internal/alias encoding cmp internal/itoa internal/msan internal/nettrace internal/goarch internal/goversion golang.org/x/net/html/atom unicode/utf8 log/slog/internal crypto/internal/alias log/internal internal/platform math/bits container/list internal/unsafeheader unicode/utf16 internal/byteorder github.com/segmentio/asm/internal/unsafebytes vendor/golang.org/x/crypto/cryptobyte/asn1 github.com/segmentio/asm/cpu/cpuid unicode crypto/subtle crypto/internal/boring/sig internal/asan internal/profilerecord internal/race internal/goos internal/coverage/rtcov internal/godebugs internal/runtime/syscall internal/cpu sync/atomic internal/runtime/atomic internal/goexperiment internal/gover runtime/internal/math internal/abi runtime/internal/sys internal/chacha8rand math internal/bytealg internal/runtime/exithook internal/stringslite runtime internal/weak iter internal/reflectlite sync maps slices internal/testlog internal/bisect internal/singleflight log/slog/internal/buffer go.uber.org/zap/internal/pool runtime/cgo internal/godebug errors sort internal/oserror path io crypto/internal/edwards25519/field vendor/golang.org/x/net/dns/dnsmessage math/rand strconv crypto/internal/nistec/fiat math/rand/v2 syscall hash crypto/internal/randutil bytes strings container/heap golang.org/x/mod/semver crypto/internal/edwards25519 hash/crc32 internal/concurrent unique vendor/golang.org/x/text/transform crypto/cipher go/version net/http/internal/ascii html bufio crypto/rc4 crypto go/build/constraint internal/types/errors net/netip regexp/syntax reflect crypto/md5 crypto/internal/boring crypto/des crypto/hmac crypto/sha1 crypto/sha256 crypto/sha512 crypto/aes vendor/golang.org/x/crypto/hkdf regexp internal/syscall/execenv internal/syscall/unix time context go.uber.org/zap/buffer io/fs internal/poll go.uber.org/zap/internal/bufferpool go.uber.org/zap/internal/stacktrace go.lsp.dev/pkg/xcontext github.com/cenkalti/backoff/v4 internal/filepathlite embed internal/fmtsort encoding/binary crypto/internal/nistec os encoding/base64 vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 github.com/segmentio/encoding/iso8601 golang.org/x/sys/unix encoding/pem github.com/segmentio/asm/base64 vendor/golang.org/x/crypto/chacha20poly1305 crypto/ecdh golang.org/x/mod/internal/lazyregexp io/ioutil go.uber.org/zap/internal/exit path/filepath os/signal internal/lazyregexp fmt vendor/golang.org/x/sys/cpu golang.org/x/sys/cpu net vendor/golang.org/x/crypto/sha3 github.com/segmentio/asm/cpu/arm github.com/segmentio/asm/cpu/arm64 github.com/segmentio/asm/cpu/x86 github.com/segmentio/asm/cpu github.com/segmentio/asm/keyset github.com/segmentio/asm/ascii github.com/a-h/templ/cmd/templ/processor golang.org/x/tools/internal/gopathwalk os/exec github.com/segmentio/encoding/ascii internal/goroot encoding/hex log net/http/internal flag text/tabwriter golang.org/x/tools/internal/event/label mime/quotedprintable golang.org/x/sync/errgroup net/url text/template/parse github.com/natefinch/atomic internal/buildcfg go/token vendor/golang.org/x/net/http2/hpack github.com/a-h/templ/cmd/templ/generatecmd/run golang.org/x/mod/module encoding/json github.com/cli/browser runtime/trace go.uber.org/zap/internal/color mime go.uber.org/multierr go/doc/comment github.com/andybalholm/brotli/matchfinder compress/flate math/big github.com/a-h/parse golang.org/x/tools/internal/stdlib golang.org/x/net/html vendor/golang.org/x/text/unicode/norm golang.org/x/tools/internal/event/keys go/scanner vendor/golang.org/x/text/unicode/bidi golang.org/x/mod/modfile golang.org/x/tools/internal/event/core github.com/a-h/templ/safehtml go.lsp.dev/uri golang.org/x/tools/internal/event compress/gzip go/ast internal/profile runtime/pprof vendor/golang.org/x/text/secure/bidirule text/template github.com/mattn/go-isatty github.com/fsnotify/fsnotify golang.org/x/tools/internal/gocommand log/slog go.uber.org/zap/zapcore github.com/mattn/go-colorable github.com/fatih/color github.com/andybalholm/cascadia github.com/a-h/templ/cmd/templ/generatecmd/watcher vendor/golang.org/x/net/idna crypto/internal/boring/bbig crypto/dsa crypto/rand crypto/internal/bigmod crypto/elliptic go/constant encoding/asn1 github.com/segmentio/encoding/json go/internal/typeparams golang.org/x/tools/go/ast/astutil go/doc go/printer go/parser crypto/ed25519 crypto/internal/hpke crypto/internal/mlkem768 crypto/rsa github.com/a-h/templ/cmd/templ/sloghandler html/template go.uber.org/zap/internal crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte github.com/a-h/templ/parser/v2/goexpression go/build go/types crypto/ecdsa go/format github.com/a-h/templ/parser/v2 github.com/a-h/templ/generator vendor/golang.org/x/net/http/httpproxy net/textproto go.lsp.dev/jsonrpc2 crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls golang.org/x/tools/internal/imports golang.org/x/tools/imports github.com/a-h/templ/cmd/templ/imports github.com/a-h/templ/cmd/templ/fmtcmd net/http/httptrace net/http github.com/a-h/templ/cmd/templ/generatecmd/sse net/http/pprof github.com/a-h/templ net/http/httputil github.com/PuerkitoBio/goquery go.uber.org/zap github.com/andybalholm/brotli github.com/a-h/templ/cmd/templ/generatecmd/modcheck github.com/a-h/templ/runtime github.com/a-h/templ/cmd/templ/visualize github.com/a-h/templ/cmd/templ/lspcmd/pls github.com/a-h/protocol github.com/a-h/templ/cmd/templ/infocmd github.com/a-h/templ/cmd/templ/lspcmd/proxy github.com/a-h/templ/cmd/templ/lspcmd/httpdebug github.com/a-h/templ/cmd/templ/lspcmd github.com/a-h/templ/cmd/templ/generatecmd/proxy github.com/a-h/templ/cmd/templ/generatecmd github.com/a-h/templ/cmd/templ (✓) Complete [ updates=68 duration=56.024516ms ] go: downloading github.com/google/go-cmp v0.6.0 go: downloading github.com/a-h/htmlformat v0.0.0-20231108124658-5bd994fe268e go: downloading github.com/rs/cors v1.11.0 go: downloading github.com/a-h/pathvars v0.0.14 ? github.com/a-h/templ/cfg [no test files] ok github.com/a-h/templ 0.011s ok github.com/a-h/templ/benchmarks/templ 0.003s [no tests to run] ok github.com/a-h/templ/cmd/templ 0.008s ok github.com/a-h/templ/cmd/templ/fmtcmd 0.017s ok github.com/a-h/templ/cmd/templ/generatecmd 0.007s ok github.com/a-h/templ/cmd/templ/generatecmd/modcheck 0.004s ? github.com/a-h/templ/cmd/templ/generatecmd/run/testprogram [no test files] ? github.com/a-h/templ/cmd/templ/generatecmd/sse [no test files] ok github.com/a-h/templ/cmd/templ/generatecmd/proxy 0.012s ? github.com/a-h/templ/cmd/templ/infocmd [no test files] ? github.com/a-h/templ/cmd/templ/lspcmd/httpdebug [no test files] ? github.com/a-h/templ/cmd/templ/lspcmd/lspdiff [no test files] ? github.com/a-h/templ/cmd/templ/lspcmd/pls [no test files] ? github.com/a-h/templ/cmd/templ/sloghandler [no test files] ? github.com/a-h/templ/cmd/templ/testproject [no test files] ? github.com/a-h/templ/cmd/templ/visualize [no test files] ? github.com/a-h/templ/examples/content-security-policy [no test files] ? github.com/a-h/templ/examples/hello-world-ssr [no test files] ? github.com/a-h/templ/examples/hello-world-static [no test files] ? github.com/a-h/templ/examples/syntax-and-usage/components [no test files] ? github.com/a-h/templ/generator/htmldiff [no test files] ? github.com/a-h/templ/get-version [no test files] ? github.com/a-h/templ/storybook [no test files] ok github.com/a-h/templ/cmd/templ/generatecmd/run 2.010s ok github.com/a-h/templ/cmd/templ/generatecmd/symlink 0.007s ok github.com/a-h/templ/cmd/templ/generatecmd/test-eventhandler 0.007s ok github.com/a-h/templ/cmd/templ/generatecmd/testwatch 8.556s ok github.com/a-h/templ/cmd/templ/generatecmd/watcher 1.308s ok github.com/a-h/templ/cmd/templ/imports 3.816s {"level":"info","ts":1734210987.6790266,"caller":"lspcmd/lsp_test.go:721","msg":"Running"} {"level":"info","ts":1734210987.6791506,"caller":"lspcmd/main.go:76","msg":"lsp: starting up..."} {"level":"info","ts":1734210987.67917,"caller":"lspcmd/main.go:83","msg":"lsp: starting gopls..."} {"level":"info","ts":1734210987.6793523,"caller":"lspcmd/main.go:96","msg":"creating gopls client"} {"level":"info","ts":1734210987.6793938,"caller":"lspcmd/main.go:101","msg":"creating proxy"} {"level":"info","ts":1734210987.6794443,"caller":"lspcmd/main.go:106","msg":"creating templ server"} {"level":"info","ts":1734210987.6794772,"caller":"lspcmd/main.go:124","msg":"listening"} {"level":"info","ts":1734210987.6834009,"caller":"proxy/server.go:210","msg":"client -> server: Initialize"} {"level":"info","ts":1734210987.7256186,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_3297043035"} {"level":"info","ts":1734210987.7261856,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_3297043035"} {"level":"info","ts":1734210987.7262619,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_3297043035/css-classes"} {"level":"info","ts":1734210987.7262733,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_3297043035/css-classes"} {"level":"info","ts":1734210987.7262897,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_3297043035/css-classes/classes.go"} {"level":"info","ts":1734210987.726298,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_3297043035/css-classes/classes.go"} {"level":"info","ts":1734210987.7263117,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_3297043035/go.mod"} {"level":"info","ts":1734210987.7263203,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_3297043035/go.mod"} {"level":"info","ts":1734210987.7263336,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_3297043035/go.sum"} {"level":"info","ts":1734210987.726341,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_3297043035/go.sum"} {"level":"info","ts":1734210987.7263541,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_3297043035/main.go"} {"level":"info","ts":1734210987.7263625,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_3297043035/main.go"} {"level":"info","ts":1734210987.7263753,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_3297043035/remotechild.templ"} {"level":"info","ts":1734210987.726884,"caller":"proxy/server.go:271","msg":"setting source map cache contents","uri":"file:///tmp/templ_test_3297043035/remotechild.templ"} {"level":"info","ts":1734210987.7269397,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_3297043035/remotechild_templ.go"} {"level":"info","ts":1734210987.7269526,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_3297043035/remotechild_templ.go"} {"level":"info","ts":1734210987.7269697,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_3297043035/remoteparent.templ"} {"level":"info","ts":1734210987.7268476,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_3297043035/remotechild.templ","diagnostics":[]}} {"level":"info","ts":1734210987.727194,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_3297043035/remoteparent.templ","diagnostics":[]}} {"level":"info","ts":1734210987.7273228,"caller":"proxy/server.go:271","msg":"setting source map cache contents","uri":"file:///tmp/templ_test_3297043035/remoteparent.templ"} {"level":"info","ts":1734210987.7273428,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_3297043035/remoteparent_templ.go"} {"level":"info","ts":1734210987.7273526,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_3297043035/remoteparent_templ.go"} {"level":"info","ts":1734210987.7273667,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_3297043035/templates.templ"} {"level":"info","ts":1734210987.7280855,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_3297043035/templates.templ","diagnostics":[]}} {"level":"info","ts":1734210987.72835,"caller":"proxy/server.go:271","msg":"setting source map cache contents","uri":"file:///tmp/templ_test_3297043035/templates.templ"} {"level":"info","ts":1734210987.728376,"caller":"proxy/server.go:243","msg":"found file","path":"/tmp/templ_test_3297043035/templates_templ.go"} {"level":"info","ts":1734210987.728387,"caller":"proxy/server.go:248","msg":"not a templ file","uri":"file:///tmp/templ_test_3297043035/templates_templ.go"} {"level":"info","ts":1734210987.7284014,"caller":"proxy/server.go:296","msg":"client -> server: Initialize end"} {"level":"info","ts":1734210987.728649,"caller":"lspcmd/lsp_test.go:801","msg":"Confirming initialization..."} {"level":"info","ts":1734210987.7287638,"caller":"proxy/server.go:300","msg":"client -> server: Initialized"} {"level":"info","ts":1734210987.7287872,"caller":"lspcmd/lsp_test.go:805","msg":"Initialized"} {"level":"info","ts":1734210987.7289598,"caller":"lspcmd/lsp_test.go:54","msg":"Calling completion"} {"level":"info","ts":1734210987.7291257,"caller":"proxy/server.go:312","msg":"client -> server: Initialized end"} {"level":"info","ts":1734210987.7292619,"caller":"proxy/server.go:722","msg":"client -> server: DidOpen","uri":"file:///tmp/templ_test_3297043035/templates.templ"} {"level":"info","ts":1734210987.729443,"caller":"proxy/client.go:103","msg":"client <- server: ShowMessage","message":"Loading packages..."} {"level":"info","ts":1734210987.7297163,"caller":"lspcmd/lsp_test.go:651","msg":"client: Received ShowMessage","params":{"message":"Loading packages...","type":4}} {"level":"info","ts":1734210987.7298455,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_3297043035/templates.templ","diagnostics":[]}} {"level":"info","ts":1734210987.729989,"caller":"proxy/server.go:746","msg":"setting source map cache contents","uri":"file:///tmp/templ_test_3297043035/templates.templ"} {"level":"info","ts":1734210987.7301123,"caller":"proxy/server.go:753","msg":"client -> server: DidOpen end"} {"level":"info","ts":1734210987.7303147,"caller":"proxy/server.go:640","msg":"client -> server: DidChange","params":{"textDocument":{"uri":"file:///tmp/templ_test_3297043035/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\ttempl test page\n\t\t\n\t\t\n\t\t\t

Count

\n
{ \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":1734210987.7304175,"caller":"proxy/server.go:654","msg":"parsing template"} {"level":"info","ts":1734210987.730821,"caller":"proxy/server.go:660","msg":"client -> server: DidChange end"} {"level":"info","ts":1734210987.730847,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_3297043035/templates.templ","diagnostics":[{"range":{"start":{"line":13,"character":3},"end":{"line":13,"character":3}},"severity":1,"code":"","source":"templ","message":"string expression: missing close brace: line 13, col 3"}]}} {"level":"info","ts":1734210987.730977,"caller":"proxy/server.go:453","msg":"client -> server: Completion"} {"level":"info","ts":1734210987.731001,"caller":"proxy/server.go:72","msg":"updatePosition: not found","uri":"file:///tmp/templ_test_3297043035/templates.templ","from":"12:28"} {"level":"info","ts":1734210987.7310162,"caller":"proxy/server.go:466","msg":"client -> server: Completion end"} {"level":"info","ts":1734210987.7386403,"caller":"proxy/client.go:47","msg":"client <- server: LogMessage","message":"2024/12/14 21:16:27 Created View (#1)\n\tdirectory=/tmp/templ_test_3297043035\n\tview_type=\"GoMod\"\n\troot_dir=\"file:///tmp/templ_test_3297043035\"\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":1734210987.7394872,"caller":"lspcmd/lsp_test.go:641","msg":"client: Received LogMessage","params":{"message":"2024/12/14 21:16:27 Created View (#1)\n\tdirectory=/tmp/templ_test_3297043035\n\tview_type=\"GoMod\"\n\troot_dir=\"file:///tmp/templ_test_3297043035\"\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":1734210988.061369,"caller":"proxy/client.go:47","msg":"client <- server: LogMessage","message":"2024/12/14 21:16:28 go/packages.Load #1\n\tview_id=\"1\"\n\tsnapshot=0\n\tdirectory=/tmp/templ_test_3297043035\n\tquery=[/tmp/templ_test_3297043035/... builtin]\n\tpackages=3\n\tduration=320.812982ms\n"} {"level":"info","ts":1734210988.0615163,"caller":"lspcmd/lsp_test.go:641","msg":"client: Received LogMessage","params":{"message":"2024/12/14 21:16:28 go/packages.Load #1\n\tview_id=\"1\"\n\tsnapshot=0\n\tdirectory=/tmp/templ_test_3297043035\n\tquery=[/tmp/templ_test_3297043035/... builtin]\n\tpackages=3\n\tduration=320.812982ms\n","type":3}} {"level":"info","ts":1734210988.1029377,"caller":"proxy/client.go:103","msg":"client <- server: ShowMessage","message":"Finished loading packages."} {"level":"info","ts":1734210988.103084,"caller":"lspcmd/lsp_test.go:651","msg":"client: Received ShowMessage","params":{"message":"Finished loading packages.","type":3}} {"level":"info","ts":1734210988.1825562,"caller":"proxy/client.go:52","msg":"client <- server: PublishDiagnostics"} {"level":"info","ts":1734210988.1825993,"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":1734210988.182623,"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":1734210988.1826384,"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":1734210988.182653,"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":1734210988.182789,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_3297043035/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":1734210988.1828294,"caller":"proxy/client.go:52","msg":"client <- server: PublishDiagnostics"} {"level":"info","ts":1734210988.1829357,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_3297043035/remotechild.templ","version":1,"diagnostics":[]}} {"level":"info","ts":1734210988.1829555,"caller":"proxy/client.go:52","msg":"client <- server: PublishDiagnostics"} {"level":"info","ts":1734210988.1830742,"caller":"lspcmd/lsp_test.go:646","msg":"client: Received PublishDiagnostics","params":{"uri":"file:///tmp/templ_test_3297043035/templates.templ","version":1,"diagnostics":[{"range":{"start":{"line":13,"character":3},"end":{"line":13,"character":3}},"severity":1,"code":"","source":"templ","message":"string expression: missing close brace: line 13, col 3"}]}} {"level":"info","ts":1734210988.232182,"caller":"proxy/server.go:453","msg":"client -> server: Completion"} {"level":"info","ts":1734210988.232224,"caller":"proxy/server.go:72","msg":"updatePosition: not found","uri":"file:///tmp/templ_test_3297043035/templates.templ","from":"12:28"} {"level":"info","ts":1734210988.2322598,"caller":"proxy/server.go:466","msg":"client -> server: Completion end"} {"level":"info","ts":1734210988.7326236,"caller":"proxy/server.go:453","msg":"client -> server: Completion"} {"level":"info","ts":1734210988.732668,"caller":"proxy/server.go:72","msg":"updatePosition: not found","uri":"file:///tmp/templ_test_3297043035/templates.templ","from":"12:28"} {"level":"info","ts":1734210988.7326896,"caller":"proxy/server.go:466","msg":"client -> server: Completion end"} {"level":"info","ts":1734210989.2167628,"caller":"proxy/client.go:52","msg":"client <- server: PublishDiagnostics"} {"level":"info","ts":1734210989.2168052,"caller":"proxy/client.go:54","msg":"client <- server: PublishDiagnostics: skipping go.mod diagnostics"} {"level":"info","ts":1734210989.2332027,"caller":"proxy/server.go:640","msg":"client -> server: DidChange","params":{"textDocument":{"uri":"file:///tmp/templ_test_3297043035/templates.templ","version":3},"contentChanges":[{"text":"package main\n\nimport \"fmt\"\n\ntempl Page(count int) {\n\t\n\t\n\t\t\n\t\t\ttempl test page\n\t\t\n\t\t\n\t\t\t

Count

\n
{ fmt.\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.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\ttempl test page\n\t\t\n\t\t\n\t\t\t

Count

\n
{ 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\ttempl 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