Open williambao opened 7 months ago
Can you try installing gopls@v0.14.2 to see if it fixes your problem?
go install golang.org/x/tools/gopls@v0.14.2
That will help us narrow down the regression.
@findleyr It seems the problem has been fixed. thanks
Can you try installing gopls@v0.14.2 to see if it fixes your problem?
go install golang.org/x/tools/gopls@v0.14.2
That will help us narrow down the regression.这将帮助我们缩小回归范围。
I am experiencing the same issue, including after downgrading to gopls@0.14.2:
Run go version
to get version of Go from the VS Code integrated terminal.
go version go1.22.1 darwin/arm64
Run gopls -v version
to get version of Gopls from the VS Code integrated terminal.
Build info
----------
golang.org/x/tools/gopls v0.14.2
golang.org/x/tools/gopls@v0.14.2 h1:sIw6vjZiuQ9S7s0auUUkHlWgsCkKZFWDHmrge8LYsnc=
github.com/BurntSushi/toml@v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak=
github.com/google/go-cmp@v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
golang.org/x/exp/typeparams@v0.0.0-20221212164502-fae10dda9338 h1:2O2DON6y3XMJiQRAS1UWU+54aec2uopH3x7MAiqGW6Y=
golang.org/x/mod@v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0=
golang.org/x/sync@v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ=
golang.org/x/sys@v0.14.0 h1:Vz7Qs629MkJkGyHxUlRHizWJRG2j8fbQKjELVSNhy7Q=
golang.org/x/telemetry@v0.0.0-20231114163143-69313e640400 h1:brbkEFfGwNGAEkykUOcryE/JiHUMMJouzE0fWWmz/QU=
golang.org/x/text@v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k=
golang.org/x/tools@v0.14.1-0.20231114185516-c9d3e7de13fd h1:Oku7E+OCrXHyst1dG1z10etCTxewCHXNFLRlyMPbh3w=
golang.org/x/vuln@v1.0.1 h1:KUas02EjQK5LTuIx1OylBQdKKZ9jeugs+HiqO5HormU=
honnef.co/go/tools@v0.4.5 h1:YGD4H+SuIOOqsyoLOpZDWcieM28W47/zRO7f+9V3nvo=
mvdan.cc/gofumpt@v0.4.0 h1:JVf4NN1mIpHogBj7ABpgOyZc65/UUOkKQFkoURsz4MM=
mvdan.cc/xurls/v2@v2.4.0 h1:tzxjVAj+wSBmDcF6zBB7/myTy3gX9xvi8Tyr28AuQgc=
go: go1.22.1
Run code -v or code-insiders -v to get version of VS Code or VS Code Insiders.
1.87.2
863d2581ecda6849923a2118d93a088b0745d9d6
arm64
@williambao could you use gopls@v0.15.2 with the following settings, and report whether you still have the reported problem saving files? That would help us narrow down the problem.
settings.json
{
"gopls": {
"zeroConfig": false,
"analyses": {
"nilness": false
}
}
}
For both @williambao and @akgerber: does go clean -modcache
help?
go clean -modcache
does not seem to help.
@akgerber would you be able to capture RPC logs from a brief VS Code session that reproduces the problem? https://github.com/golang/vscode-go/blob/master/docs/troubleshooting.md#collect-gopls-information (note that RPC logs may contain file content, so please only do this if you are comfortable sharing).
I am suspicious that this message I have been seeing in VSCode may be related.
I will attempt to capture RPC logs in a test repo.
@akgerber can you try recompiling gopls with go 1.22.2?
GOTOOLCHAIN=go1.22.2 go install golang.org/x/tools/gopls@latest
@akgerber can you try recompiling gopls with go 1.22.2?
GOTOOLCHAIN=go1.22.2 go install golang.org/x/tools/gopls@latest
I'll give that a shot, thanks!
Hmm, the issue seems to persist after recompiling gopls
as requested and restarting the VSCode window with my repo.
@akgerber hmm, that's interesting. If you can capture RPC logs, it would be very helpful.
Spun up a test repo. Here's a full gopls (Server)
log captured with the issue repro'd:
[Info - 3:22:44 PM] 2024/04/12 15:22:44 go info for /Users/[removed]/Code/scratch/kubebuilder-experiments/golog
(view type GoModView)
(root dir /Users/[removed]/Code/scratch/kubebuilder-experiments/golog)
(go version go version go1.22.2 darwin/arm64)
(build flags: [])
(go env: {GOOS:darwin GOARCH:arm64 GOCACHE:/Users/[removed]/Library/Caches/go-build GOMODCACHE:/Users/[removed]/go/pkg/mod GOPATH:/Users/[removed]/go GOPRIVATE:[removed] GOFLAGS: GO111MODULE: GoVersion:22 GoVersionOutput:go version go1.22.2 darwin/arm64
GOWORK: GOPACKAGESDRIVER:})
(env overlay: map[])
[Trace - 15:23:42.480 PM] Sending request 'initialize - (0)'.
Params: {"processId":45857,"clientInfo":{"name":"Visual Studio Code","version":"1.88.1"},"locale":"en","rootPath":"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog","rootUri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"],"failureHandling":"textOnlyTransactional","normalizesLineEndings":true,"changeAnnotationSupport":{"groupsOnLabel":true}},"configuration":true,"didChangeWatchedFiles":{"dynamicRegistration":true,"relativePatternSupport":true},"symbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"tagSupport":{"valueSet":[1]},"resolveSupport":{"properties":["location.range"]}},"codeLens":{"refreshSupport":true},"executeCommand":{"dynamicRegistration":true},"didChangeConfiguration":{"dynamicRegistration":true},"workspaceFolders":true,"semanticTokens":{"refreshSupport":true},"fileOperations":{"dynamicRegistration":true,"didCreate":true,"didRename":true,"didDelete":true,"willCreate":true,"willRename":true,"willDelete":true},"inlineValue":{"refreshSupport":true},"inlayHint":{"refreshSupport":true},"diagnostics":{"refreshSupport":true}},"textDocument":{"publishDiagnostics":{"relatedInformation":true,"versionSupport":false,"tagSupport":{"valueSet":[1,2]},"codeDescriptionSupport":true,"dataSupport":true},"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"contextSupport":true,"completionItem":{"snippetSupport":true,"commitCharactersSupport":true,"documentationFormat":["markdown","plaintext"],"deprecatedSupport":true,"preselectSupport":true,"tagSupport":{"valueSet":[1]},"insertReplaceSupport":true,"resolveSupport":{"properties":["documentation","detail","additionalTextEdits"]},"insertTextModeSupport":{"valueSet":[1,2]},"labelDetailsSupport":true},"insertTextMode":2,"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"completionList":{"itemDefaults":["commitCharacters","editRange","insertTextFormat","insertTextMode"]}},"hover":{"dynamicRegistration":true,"contentFormat":["markdown","plaintext"]},"signatureHelp":{"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true},"activeParameterSupport":true},"contextSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true,"tagSupport":{"valueSet":[1]},"labelSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"disabledSupport":true,"dataSupport":true,"resolveSupport":{"properties":["edit"]},"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"honorsChangeAnnotations":false},"codeLens":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true,"prepareSupportDefaultBehavior":1,"honorsChangeAnnotations":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"colorProvider":{"dynamicRegistration":true},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true,"foldingRangeKind":{"valueSet":["comment","imports","region"]},"foldingRange":{"collapsedText":false}},"declaration":{"dynamicRegistration":true,"linkSupport":true},"selectionRange":{"dynamicRegistration":true},"callHierarchy":{"dynamicRegistration":true},"semanticTokens":{"dynamicRegistration":true,"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator","decorator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":["relative"],"requests":{"range":true,"full":{"delta":true}},"multilineTokenSupport":false,"overlappingTokenSupport":false,"serverCancelSupport":true,"augmentsSyntaxTokens":true},"linkedEditingRange":{"dynamicRegistration":true},"typeHierarchy":{"dynamicRegistration":true},"inlineValue":{"dynamicRegistration":true},"inlayHint":{"dynamicRegistration":true,"resolveSupport":{"properties":["tooltip","textEdits","label.tooltip","label.location","label.command"]}},"diagnostic":{"dynamicRegistration":true,"relatedDocumentSupport":false}},"window":{"showMessage":{"messageActionItem":{"additionalPropertiesSupport":true}},"showDocument":{"support":true},"workDoneProgress":true},"general":{"staleRequestSupport":{"cancel":true,"retryOnContentModified":["textDocument/semanticTokens/full","textDocument/semanticTokens/range","textDocument/semanticTokens/full/delta"]},"regularExpressions":{"engine":"ECMAScript","version":"ES2020"},"markdown":{"parser":"marked","version":"1.1.0"},"positionEncodings":["utf-16"]},"notebookDocument":{"synchronization":{"dynamicRegistration":true,"executionSummarySupport":true}}},"initializationOptions":{"zeroConfig":false,"analyses":{"nilness":false},"verboseOutput":true,"ui.inlayhint.hints":{"assignVariableTypes":false,"compositeLiteralFields":false,"compositeLiteralTypes":false,"constantValues":false,"functionTypeParameters":false,"parameterNames":false,"rangeVariableTypes":false},"ui.vulncheck":"Off","linkifyShowMessage":true},"trace":"off","workspaceFolders":[{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog","name":"golog"}]}
[Trace - 15:23:42.481 PM] Received response 'initialize - (0)' in 0ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor.extract","refactor.inline","refactor.rewrite","source.fixAll","source.organizeImports"],"resolveProvider":true},"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"renameProvider":{"prepareProvider":true},"foldingRangeProvider":true,"selectionRangeProvider":true,"executeCommandProvider":{"commands":["gopls.add_dependency","gopls.add_import","gopls.add_telemetry_counters","gopls.apply_fix","gopls.change_signature","gopls.check_upgrades","gopls.diagnose_files","gopls.edit_go_directive","gopls.fetch_vulncheck_result","gopls.gc_details","gopls.generate","gopls.go_get_package","gopls.list_imports","gopls.list_known_packages","gopls.maybe_prompt_for_telemetry","gopls.mem_stats","gopls.regenerate_cgo","gopls.remove_dependency","gopls.reset_go_mod_diagnostics","gopls.run_go_work_command","gopls.run_govulncheck","gopls.run_tests","gopls.start_debugging","gopls.start_profile","gopls.stop_profile","gopls.test","gopls.tidy","gopls.toggle_gc_details","gopls.update_go_sum","gopls.upgrade_dependency","gopls.vendor","gopls.views","gopls.workspace_stats"]},"callHierarchyProvider":true,"semanticTokensProvider":{"legend":{"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator","decorator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"]},"range":true,"full":true},"inlayHintProvider":{},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"{\"GoVersion\":\"go1.22.2\",\"Path\":\"golang.org/x/tools/gopls\",\"Main\":{\"Path\":\"golang.org/x/tools/gopls\",\"Version\":\"v0.15.2\",\"Sum\":\"h1:4JKt4inO8JaFW3l/Fh9X1k/5JQn+iUOpdc4/Lpi0mOs=\",\"Replace\":null},\"Deps\":[{\"Path\":\"github.com/BurntSushi/toml\",\"Version\":\"v1.2.1\",\"Sum\":\"h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak=\",\"Replace\":null},{\"Path\":\"github.com/google/go-cmp\",\"Version\":\"v0.6.0\",\"Sum\":\"h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=\",\"Replace\":null},{\"Path\":\"golang.org/x/exp/typeparams\",\"Version\":\"v0.0.0-20221212164502-fae10dda9338\",\"Sum\":\"h1:2O2DON6y3XMJiQRAS1UWU+54aec2uopH3x7MAiqGW6Y=\",\"Replace\":null},{\"Path\":\"golang.org/x/mod\",\"Version\":\"v0.15.0\",\"Sum\":\"h1:SernR4v+D55NyBH2QiEQrlBAnj1ECL6AGrA5+dPaMY8=\",\"Replace\":null},{\"Path\":\"golang.org/x/sync\",\"Version\":\"v0.6.0\",\"Sum\":\"h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ=\",\"Replace\":null},{\"Path\":\"golang.org/x/telemetry\",\"Version\":\"v0.0.0-20240209200032-7b892fcb8a78\",\"Sum\":\"h1:vcVnuftN4J4UKLRcgetjzfU9FjjgXUUYUc3JhFplgV4=\",\"Replace\":null},{\"Path\":\"golang.org/x/text\",\"Version\":\"v0.14.0\",\"Sum\":\"h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=\",\"Replace\":null},{\"Path\":\"golang.org/x/tools\",\"Version\":\"v0.18.1-0.20240311201521-78fbdeb61842\",\"Sum\":\"h1:No0LMXYFkp3j4oEsPdtY8LUQz33gu79Rm9DE+izMeGQ=\",\"Replace\":null},{\"Path\":\"golang.org/x/vuln\",\"Version\":\"v1.0.1\",\"Sum\":\"h1:KUas02EjQK5LTuIx1OylBQdKKZ9jeugs+HiqO5HormU=\",\"Replace\":null},{\"Path\":\"honnef.co/go/tools\",\"Version\":\"v0.4.6\",\"Sum\":\"h1:oFEHCKeID7to/3autwsWfnuv69j3NsfcXbvJKuIcep8=\",\"Replace\":null},{\"Path\":\"mvdan.cc/gofumpt\",\"Version\":\"v0.6.0\",\"Sum\":\"h1:G3QvahNDmpD+Aek/bNOLrFR2XC6ZAdo62dZu65gmwGo=\",\"Replace\":null},{\"Path\":\"mvdan.cc/xurls/v2\",\"Version\":\"v2.5.0\",\"Sum\":\"h1:lyBNOm8Wo71UknhUs4QTFUNNMyxy2JEIaKKo0RWOh+8=\",\"Replace\":null}],\"Settings\":[{\"Key\":\"-buildmode\",\"Value\":\"exe\"},{\"Key\":\"-compiler\",\"Value\":\"gc\"},{\"Key\":\"DefaultGODEBUG\",\"Value\":\"httplaxcontentlength=1,httpmuxgo121=1,panicnil=1,tls10server=1,tlsrsakex=1,tlsunsafeekm=1\"},{\"Key\":\"CGO_ENABLED\",\"Value\":\"1\"},{\"Key\":\"CGO_CFLAGS\",\"Value\":\"\"},{\"Key\":\"CGO_CPPFLAGS\",\"Value\":\"\"},{\"Key\":\"CGO_CXXFLAGS\",\"Value\":\"\"},{\"Key\":\"CGO_LDFLAGS\",\"Value\":\"\"},{\"Key\":\"GOARCH\",\"Value\":\"arm64\"},{\"Key\":\"GOOS\",\"Value\":\"darwin\"}],\"Version\":\"v0.15.2\"}"}}
[Trace - 15:23:42.481 PM] Sending notification 'initialized'.
Params: {}
[Trace - 15:23:42.481 PM] Received request 'window/workDoneProgress/create - (1)'.
Params: {"token":"8302237059374988992"}
[Trace - 15:23:42.485 PM] Sending notification 'textDocument/didOpen'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go","languageId":"go","version":1,"text":"/*\nCopyright 2024.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\npackage main\n\nimport (\n\t\"crypto/tls\"\n\t\"flag\"\n\t\"os\"\n\n\t// Import all Kubernetes client auth plugins (e.g. Azure, GCP, OIDC, etc.)\n\t// to ensure that exec-entrypoint and run can make use of them.\n\t_ \"k8s.io/client-go/plugin/pkg/client/auth\"\n\n\t\"k8s.io/apimachinery/pkg/runtime\"\n\tutilruntime \"k8s.io/apimachinery/pkg/util/runtime\"\n\tclientgoscheme \"k8s.io/client-go/kubernetes/scheme\"\n\tctrl \"sigs.k8s.io/controller-runtime\"\n\t\"sigs.k8s.io/controller-runtime/pkg/healthz\"\n\t\"sigs.k8s.io/controller-runtime/pkg/log/zap\"\n\tmetricsserver \"sigs.k8s.io/controller-runtime/pkg/metrics/server\"\n\t\"sigs.k8s.io/controller-runtime/pkg/webhook\"\n\t//+kubebuilder:scaffold:imports\n)\n\nvar (\n\tscheme = runtime.NewScheme()\n\tsetupLog = ctrl.Log.WithName(\"setup\")\n)\n\nfunc init() {\n\tutilruntime.Must(clientgoscheme.AddToScheme(scheme))\n\n\t//+kubebuilder:scaffold:scheme\n}\n\nfunc main() {\n\tvar metricsAddr string\n\tvar enableLeaderElection bool\n\tvar probeAddr string\n\tvar secureMetrics bool\n\tvar enableHTTP2 bool\n\tflag.StringVar(&metricsAddr, \"metrics-bind-address\", \":8080\", \"The address the metric endpoint binds to.\")\n\tflag.StringVar(&probeAddr, \"health-probe-bind-address\", \":8081\", \"The address the probe endpoint binds to.\")\n\tflag.BoolVar(&enableLeaderElection, \"leader-elect\", false,\n\t\t\"Enable leader election for controller manager. \"+\n\t\t\t\"Enabling this will ensure there is only one active controller manager.\")\n\tflag.BoolVar(&secureMetrics, \"metrics-secure\", false,\n\t\t\"If set the metrics endpoint is served securely\")\n\tflag.BoolVar(&enableHTTP2, \"enable-http2\", false,\n\t\t\"If set, HTTP/2 will be enabled for the metrics and webhook servers\")\n\topts := zap.Options{\n\t\tDevelopment: true,\n\t}\n\topts.BindFlags(flag.CommandLine)\n\tflag.Parse()\n\n\tctrl.SetLogger(zap.New(zap.UseFlagOptions(&opts)))\n\n\t// if the enable-http2 flag is false (the default), http/2 should be disabled\n\t// due to its vulnerabilities. More specifically, disabling http/2 will\n\t// prevent from being vulnerable to the HTTP/2 Stream Cancellation and\n\t// Rapid Reset CVEs. For more information see:\n\t// - https://github.com/advisories/GHSA-qppj-fm5r-hxr3\n\t// - https://github.com/advisories/GHSA-4374-p667-p6c8\n\tdisableHTTP2 := func(c *tls.Config) {\n\t\tsetupLog.Info(\"disabling http/2\")\n\t\tc.NextProtos = []string{\"http/1.1\"}\n\t}\n\n\ttlsOpts := []func(*tls.Config){}\n\tif !enableHTTP2 {\n\t\ttlsOpts = append(tlsOpts, disableHTTP2)\n\t}\n\n\twebhookServer := webhook.NewServer(webhook.Options{\n\t\tTLSOpts: tlsOpts,\n\t})\n\n\tmgr, err := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{\n\t\tScheme: scheme,\n\t\tMetrics: metricsserver.Options{\n\t\t\tBindAddress: metricsAddr,\n\t\t\tSecureServing: secureMetrics,\n\t\t\tTLSOpts: tlsOpts,\n\t\t},\n\t\tWebhookServer: webhookServer,\n\t\tHealthProbeBindAddress: probeAddr,\n\t\tLeaderElection: enableLeaderElection,\n\t\tLeaderElectionID: \"ecaf1259.my.domain\",\n\t\t// LeaderElectionReleaseOnCancel defines if the leader should step down voluntarily\n\t\t// when the Manager ends. This requires the binary to immediately end when the\n\t\t// Manager is stopped, otherwise, this setting is unsafe. Setting this significantly\n\t\t// speeds up voluntary leader transitions as the new leader don't have to wait\n\t\t// LeaseDuration time first.\n\t\t//\n\t\t// In the default scaffold provided, the program ends immediately after\n\t\t// the manager stops, so would be fine to enable this option. However,\n\t\t// if you are doing or is intended to do any operation such as perform cleanups\n\t\t// after the manager stops then its usage might be unsafe.\n\t\t// LeaderElectionReleaseOnCancel: true,\n\t})\n\tif err != nil {\n\t\tsetupLog.Error(err, \"unable to start manager\")\n\t\tos.Exit(1)\n\t}\n\n\t//+kubebuilder:scaffold:builder\n\n\tif err := mgr.AddHealthzCheck(\"healthz\", healthz.Ping); err != nil {\n\t\tsetupLog.Error(err, \"unable to set up health check\")\n\t\tos.Exit(1)\n\t}\n\tif err := mgr.AddReadyzCheck(\"readyz\", healthz.Ping); err != nil {\n\t\tsetupLog.Error(err, \"unable to set up ready check\")\n\t\tos.Exit(1)\n\t}\n\n\tsetupLog.Info(\"starting manager\")\n\tif err := mgr.Start(ctrl.SetupSignalHandler()); err != nil {\n\t\tsetupLog.Error(err, \"problem running manager\")\n\t\tos.Exit(1)\n\t}\n}\n"}}
[Trace - 15:23:42.486 PM] Sending response 'window/workDoneProgress/create - (1)' in 4ms.
Result:
[Trace - 15:23:42.486 PM] Received notification '$/progress'.
Params: {"token":"8302237059374988992","value":{"kind":"begin","title":"Setting up workspace","message":"Loading packages..."}}
[Trace - 15:23:42.486 PM] Received request 'workspace/configuration - (2)'.
Params: {"items":[{"scopeUri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog","section":"gopls"}]}
[Trace - 15:23:42.488 PM] Sending response 'workspace/configuration - (2)' in 1ms.
Result: [{"zeroConfig":false,"analyses":{"nilness":false},"verboseOutput":true,"ui.inlayhint.hints":{"assignVariableTypes":false,"compositeLiteralFields":false,"compositeLiteralTypes":false,"constantValues":false,"functionTypeParameters":false,"parameterNames":false,"rangeVariableTypes":false},"ui.vulncheck":"Off","linkifyShowMessage":true}]
[Trace - 15:23:42.503 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:23:42 go info for /Users/[removed]/Code/scratch/kubebuilder-experiments/golog\n(view type GoModView)\n(root dir /Users/[removed]/Code/scratch/kubebuilder-experiments/golog)\n(go version go version go1.22.2 darwin/arm64)\n(build flags: [])\n(go env: {GOOS:darwin GOARCH:arm64 GOCACHE:/Users/[removed]/Library/Caches/go-build GOMODCACHE:/Users/[removed]/go/pkg/mod GOPATH:/Users/[removed]/go GOPRIVATE:[removed] GOFLAGS: GO111MODULE: GoVersion:22 GoVersionOutput:go version go1.22.2 darwin/arm64\n GOWORK: GOPACKAGESDRIVER:})\n(env overlay: map[])\n\n"}
[Info - 3:23:42 PM] 2024/04/12 15:23:42 go info for /Users/[removed]/Code/scratch/kubebuilder-experiments/golog
(view type GoModView)
(root dir /Users/[removed]/Code/scratch/kubebuilder-experiments/golog)
(go version go version go1.22.2 darwin/arm64)
(build flags: [])
(go env: {GOOS:darwin GOARCH:arm64 GOCACHE:/Users/[removed]/Library/Caches/go-build GOMODCACHE:/Users/[removed]/go/pkg/mod GOPATH:/Users/[removed]/go GOPRIVATE:[removed] GOFLAGS: GO111MODULE: GoVersion:22 GoVersionOutput:go version go1.22.2 darwin/arm64
GOWORK: GOPACKAGESDRIVER:})
(env overlay: map[])
[Trace - 15:23:42.508 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:23:42 4.5755ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=off GOPROXY=[removed],direct PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -e -f {{context.ReleaseTags}} -- unsafe\n"}
[Info - 3:23:42 PM] 2024/04/12 15:23:42 4.5755ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=off GOPROXY=[removed],direct PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -e -f {{context.ReleaseTags}} -- unsafe
[Trace - 15:23:42.509 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:23:42 5.7145ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=[removed],direct PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -f \"{{context.GOARCH}} {{context.Compiler}}\" -- unsafe\n"}
[Info - 3:23:42 PM] 2024/04/12 15:23:42 5.7145ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=[removed],direct PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
[Error - 3:23:44 PM] Stopping server timed out
[Info - 3:23:45 PM] 2024/04/12 15:23:45 go/packages.Load golang/vscode-go#1
snapshot=0
directory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog
query=[/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/... builtin]
packages=6
[Info - 3:23:45 PM] 2024/04/12 15:23:45 go/packages.Load golang/vscode-go#1: updating metadata for 666 packages
[Error - 3:23:45 PM] Request textDocument/semanticTokens/full failed.
Message: semantictokens are disabled
Code: 0
[Error - 3:23:45 PM] 2024/04/12 15:23:45 warning: while diagnosing orphaned files: session is shut down
[Info - 3:23:45 PM] 2024/04/12 15:23:45 Shutdown session
shutdown_session=1
[Trace - 15:24:43.074 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:43 1m0.565701709s for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=[removed],direct PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /Users/[removed]/Code/scratch/kubebuilder-experiments/golog/... builtin\n"}
[Info - 3:24:43 PM] 2024/04/12 15:24:43 1m0.565701709s for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=[removed],direct PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /Users/[removed]/Code/scratch/kubebuilder-experiments/golog/... builtin
[Trace - 15:24:43.087 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:43 go/packages.Load golang/vscode-go#1\n\tsnapshot=0\n\tdirectory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog\n\tquery=[/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/... builtin]\n\tpackages=6\n"}
[Trace - 15:24:43.087 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:43 go/packages.Load golang/vscode-go#1\n\tsnapshot=0\n\tdirectory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog\n\tpackage=\"my.domain/guestbook/cmd\"\n\tfiles=[/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go]\n"}
[Info - 3:24:43 PM] 2024/04/12 15:24:43 go/packages.Load golang/vscode-go#1
snapshot=0
directory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog
query=[/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/... builtin]
packages=6
[Info - 3:24:43 PM] 2024/04/12 15:24:43 go/packages.Load golang/vscode-go#1
snapshot=0
directory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog
package="my.domain/guestbook/cmd"
files=[/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go]
[Trace - 15:24:43.092 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:43 go/packages.Load golang/vscode-go#1\n\tsnapshot=0\n\tdirectory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog\n\tpackage=\"my.domain/guestbook/test/e2e\"\n\tfiles=[]\n"}
[Trace - 15:24:43.092 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:43 go/packages.Load golang/vscode-go#1\n\tsnapshot=0\n\tdirectory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog\n\tpackage=\"my.domain/guestbook/test/utils\"\n\tfiles=[/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/test/utils/utils.go]\n"}
[Trace - 15:24:43.092 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:43 go/packages.Load golang/vscode-go#1\n\tsnapshot=0\n\tdirectory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog\n\tpackage=\"builtin\"\n\tfiles=[/opt/homebrew/Cellar/go/1.22.2/libexec/src/builtin/builtin.go]\n"}
[Info - 3:24:43 PM] 2024/04/12 15:24:43 go/packages.Load golang/vscode-go#1
snapshot=0
directory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog
package="my.domain/guestbook/test/e2e"
files=[]
[Trace - 15:24:43.092 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:43 go/packages.Load golang/vscode-go#1\n\tsnapshot=0\n\tdirectory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog\n\tpackage=\"my.domain/guestbook/test/e2e [my.domain/guestbook/test/e2e.test]\"\n\tfiles=[/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/test/e2e/e2e_suite_test.go /Users/[removed]/Code/scratch/kubebuilder-experiments/golog/test/e2e/e2e_test.go]\n"}
[Trace - 15:24:43.092 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:43 go/packages.Load golang/vscode-go#1\n\tsnapshot=0\n\tdirectory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog\n\tpackage=\"my.domain/guestbook/test/e2e.test\"\n\tfiles=[/Users/[removed]/Library/Caches/go-build/1b/1b8c6816090dfe44732033a2b7eff7ac807d91df45cfae62626177249268005e-d]\n"}
[Info - 3:24:43 PM] 2024/04/12 15:24:43 go/packages.Load golang/vscode-go#1
snapshot=0
directory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog
package="my.domain/guestbook/test/utils"
files=[/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/test/utils/utils.go]
[Info - 3:24:43 PM] 2024/04/12 15:24:43 go/packages.Load golang/vscode-go#1
snapshot=0
directory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog
package="builtin"
files=[/opt/homebrew/Cellar/go/1.22.2/libexec/src/builtin/builtin.go]
[Info - 3:24:43 PM] 2024/04/12 15:24:43 go/packages.Load golang/vscode-go#1
snapshot=0
directory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog
package="my.domain/guestbook/test/e2e [my.domain/guestbook/test/e2e.test]"
files=[/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/test/e2e/e2e_suite_test.go /Users/[removed]/Code/scratch/kubebuilder-experiments/golog/test/e2e/e2e_test.go]
[Info - 3:24:43 PM] 2024/04/12 15:24:43 go/packages.Load golang/vscode-go#1
snapshot=0
directory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog
package="my.domain/guestbook/test/e2e.test"
files=[/Users/[removed]/Library/Caches/go-build/1b/1b8c6816090dfe44732033a2b7eff7ac807d91df45cfae62626177249268005e-d]
[Trace - 15:24:43.093 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:43 go/packages.Load golang/vscode-go#1: updating metadata for 666 packages\n"}
[Info - 3:24:43 PM] 2024/04/12 15:24:43 go/packages.Load golang/vscode-go#1: updating metadata for 666 packages
[Trace - 15:24:43.282 PM] Received notification '$/progress'.
Params: {"token":"8302237059374988992","value":{"kind":"end","message":"Finished loading packages."}}
[Trace - 15:24:43.284 PM] Received request 'client/registerCapability - (3)'.
Params: {"registrations":[{"id":"workspace/didChangeWatchedFiles-0","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"**/*.{mod,work}","kind":7},{"globPattern":{"baseUri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog","pattern":"**/*.{go,mod,sum,work}"},"kind":7},{"globPattern":"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog","kind":7},{"globPattern":"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd","kind":7},{"globPattern":"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/test","kind":7},{"globPattern":"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/test/e2e","kind":7},{"globPattern":"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/test/utils","kind":7}]}}]}
[Trace - 15:24:43.285 PM] Sending response 'client/registerCapability - (3)' in 1ms.
Result:
[Trace - 15:24:43.286 PM] Received request 'client/registerCapability - (4)'.
Params: {"registrations":[{"id":"workspace/didChangeConfiguration","method":"workspace/didChangeConfiguration"}]}
[Trace - 15:24:43.286 PM] Sending response 'client/registerCapability - (4)' in 0ms.
Result:
[Trace - 15:24:43.412 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go","version":1,"diagnostics":[]}
[Trace - 15:24:48.083 PM] Sending request 'textDocument/codeAction - (1)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":0}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:24:48.083 PM] Sending request 'textDocument/documentSymbol - (2)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:24:48.083 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:48 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Info - 3:24:48 PM] 2024/04/12 15:24:48 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:24:48.086 PM] Received response 'textDocument/codeAction - (1)' in 3ms.
Result: null
[Trace - 15:24:48.087 PM] Received response 'textDocument/documentSymbol - (2)' in 3ms.
Result: [{"name":"scheme","kind":13,"range":{"start":{"line":39,"character":1},"end":{"line":39,"character":31}},"selectionRange":{"start":{"line":39,"character":1},"end":{"line":39,"character":7}}},{"name":"setupLog","kind":13,"range":{"start":{"line":40,"character":1},"end":{"line":40,"character":38}},"selectionRange":{"start":{"line":40,"character":1},"end":{"line":40,"character":9}}},{"name":"init","detail":"func()","kind":12,"range":{"start":{"line":43,"character":0},"end":{"line":47,"character":1}},"selectionRange":{"start":{"line":43,"character":5},"end":{"line":43,"character":9}}},{"name":"main","detail":"func()","kind":12,"range":{"start":{"line":49,"character":0},"end":{"line":136,"character":1}},"selectionRange":{"start":{"line":49,"character":5},"end":{"line":49,"character":9}}}]
[Trace - 15:24:48.102 PM] Sending request 'textDocument/documentLink - (3)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:24:48.106 PM] Received response 'textDocument/documentLink - (3)' in 4ms.
Result: [{"range":{"start":{"line":19,"character":2},"end":{"line":19,"character":12}},"target":"https://pkg.go.dev/crypto/tls"},{"range":{"start":{"line":20,"character":2},"end":{"line":20,"character":6}},"target":"https://pkg.go.dev/flag"},{"range":{"start":{"line":21,"character":2},"end":{"line":21,"character":4}},"target":"https://pkg.go.dev/os"},{"range":{"start":{"line":25,"character":4},"end":{"line":25,"character":43}},"target":"https://pkg.go.dev/k8s.io/client-go@v0.29.0/plugin/pkg/client/auth"},{"range":{"start":{"line":27,"character":2},"end":{"line":27,"character":33}},"target":"https://pkg.go.dev/k8s.io/apimachinery@v0.29.0/pkg/runtime"},{"range":{"start":{"line":28,"character":14},"end":{"line":28,"character":50}},"target":"https://pkg.go.dev/k8s.io/apimachinery@v0.29.0/pkg/util/runtime"},{"range":{"start":{"line":29,"character":17},"end":{"line":29,"character":51}},"target":"https://pkg.go.dev/k8s.io/client-go@v0.29.0/kubernetes/scheme"},{"range":{"start":{"line":30,"character":7},"end":{"line":30,"character":37}},"target":"https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.2"},{"range":{"start":{"line":31,"character":2},"end":{"line":31,"character":44}},"target":"https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.2/pkg/healthz"},{"range":{"start":{"line":32,"character":2},"end":{"line":32,"character":44}},"target":"https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.2/pkg/log/zap"},{"range":{"start":{"line":33,"character":16},"end":{"line":33,"character":65}},"target":"https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.2/pkg/metrics/server"},{"range":{"start":{"line":34,"character":2},"end":{"line":34,"character":44}},"target":"https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.2/pkg/webhook"},{"range":{"start":{"line":102,"character":27},"end":{"line":102,"character":38}},"target":"https://ecaf1259.my"},{"range":{"start":{"line":7,"character":4},"end":{"line":7,"character":46}},"target":"http://www.apache.org/licenses/LICENSE-2.0"},{"range":{"start":{"line":76,"character":6},"end":{"line":76,"character":55}},"target":"https://github.com/advisories/GHSA-qppj-fm5r-hxr3"},{"range":{"start":{"line":77,"character":6},"end":{"line":77,"character":55}},"target":"https://github.com/advisories/GHSA-4374-p667-p6c8"}]
[Trace - 15:24:48.123 PM] Sending request 'textDocument/inlayHint - (4)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":72,"character":0}}}
[Trace - 15:24:48.123 PM] Received response 'textDocument/inlayHint - (4)' in 0ms.
Result: null
[Trace - 15:24:48.235 PM] Sending request 'textDocument/semanticTokens/range - (5)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":42,"character":0}}}
[Error - Received] 15:24:48.235 PM golang/vscode-go#5 semantictokens are disabled
[Error - 3:24:48 PM] Request textDocument/semanticTokens/range failed.
Message: semantictokens are disabled
Code: 0
[Trace - 15:24:48.334 PM] Sending request 'textDocument/codeAction - (6)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":38,"character":4},"end":{"line":38,"character":4}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:24:48.334 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:48 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Trace - 15:24:48.334 PM] Received response 'textDocument/codeAction - (6)' in 0ms.
Result: null
[Info - 3:24:48 PM] 2024/04/12 15:24:48 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:24:48.379 PM] Sending request 'textDocument/foldingRange - (7)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:24:48.380 PM] Sending request 'textDocument/documentSymbol - (8)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:24:48.380 PM] Received response 'textDocument/foldingRange - (7)' in 0ms.
Result: [{"startLine":0,"startCharacter":2,"endLine":14,"endCharacter":2,"kind":"comment"},{"startLine":18,"startCharacter":8,"endLine":34,"endCharacter":45,"kind":"imports"},{"startLine":23,"startCharacter":75,"endLine":24,"endCharacter":64,"kind":"comment"},{"startLine":38,"startCharacter":5,"endLine":40,"endCharacter":38},{"startLine":43,"startCharacter":13,"endLine":44,"endCharacter":53},{"startLine":49,"startCharacter":13,"endLine":135,"endCharacter":2},{"startLine":57,"startCharacter":14,"endLine":59,"endCharacter":75},{"startLine":60,"startCharacter":14,"endLine":61,"endCharacter":50},{"startLine":62,"startCharacter":14,"endLine":63,"endCharacter":70},{"startLine":64,"startCharacter":21,"endLine":65,"endCharacter":19},{"startLine":72,"startCharacter":78,"endLine":77,"endCharacter":55,"kind":"comment"},{"startLine":78,"startCharacter":38,"endLine":80,"endCharacter":37},{"startLine":84,"startCharacter":18,"endLine":85,"endCharacter":41},{"startLine":88,"startCharacter":36,"endLine":90,"endCharacter":2},{"startLine":88,"startCharacter":52,"endLine":89,"endCharacter":18},{"startLine":92,"startCharacter":29,"endLine":114,"endCharacter":2},{"startLine":92,"startCharacter":65,"endLine":102,"endCharacter":46},{"startLine":94,"startCharacter":33,"endLine":97,"endCharacter":25},{"startLine":103,"startCharacter":85,"endLine":113,"endCharacter":41,"kind":"comment"},{"startLine":115,"startCharacter":16,"endLine":117,"endCharacter":12},{"startLine":122,"startCharacter":69,"endLine":124,"endCharacter":12},{"startLine":126,"startCharacter":67,"endLine":128,"endCharacter":12},{"startLine":132,"startCharacter":61,"endLine":134,"endCharacter":12}]
[Trace - 15:24:48.380 PM] Received response 'textDocument/documentSymbol - (8)' in 0ms.
Result: [{"name":"scheme","kind":13,"range":{"start":{"line":39,"character":1},"end":{"line":39,"character":31}},"selectionRange":{"start":{"line":39,"character":1},"end":{"line":39,"character":7}}},{"name":"setupLog","kind":13,"range":{"start":{"line":40,"character":1},"end":{"line":40,"character":38}},"selectionRange":{"start":{"line":40,"character":1},"end":{"line":40,"character":9}}},{"name":"init","detail":"func()","kind":12,"range":{"start":{"line":43,"character":0},"end":{"line":47,"character":1}},"selectionRange":{"start":{"line":43,"character":5},"end":{"line":43,"character":9}}},{"name":"main","detail":"func()","kind":12,"range":{"start":{"line":49,"character":0},"end":{"line":136,"character":1}},"selectionRange":{"start":{"line":49,"character":5},"end":{"line":49,"character":9}}}]
[Trace - 15:24:48.525 PM] Sending request 'textDocument/semanticTokens/full - (9)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Error - Received] 15:24:48.525 PM golang/vscode-go#9 semantictokens are disabled
[Error - 3:24:48 PM] Request textDocument/semanticTokens/full failed.
Message: semantictokens are disabled
Code: 0
[Trace - 15:24:48.999 PM] Sending request 'textDocument/codeAction - (10)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":18,"character":7},"end":{"line":18,"character":7}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:24:49.002 PM] Received response 'textDocument/codeAction - (10)' in 2ms.
Result: null
[Trace - 15:24:49.002 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:49 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Info - 3:24:49 PM] 2024/04/12 15:24:49 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:24:50.601 PM] Sending request 'textDocument/hover - (11)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"position":{"line":23,"character":21}}
[Trace - 15:24:50.602 PM] Received response 'textDocument/hover - (11)' in 0ms.
Result: null
[Trace - 15:24:51.329 PM] Sending request 'textDocument/inlayHint - (12)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":74,"character":53}}}
[Trace - 15:24:51.329 PM] Received response 'textDocument/inlayHint - (12)' in 0ms.
Result: null
[Trace - 15:24:51.373 PM] Sending request 'textDocument/inlayHint - (13)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":79,"character":13}}}
[Trace - 15:24:51.373 PM] Received response 'textDocument/inlayHint - (13)' in 0ms.
Result: null
[Trace - 15:24:51.423 PM] Sending request 'textDocument/inlayHint - (14)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":89,"character":19}}}
[Trace - 15:24:51.423 PM] Received response 'textDocument/inlayHint - (14)' in 0ms.
Result: null
[Trace - 15:24:51.473 PM] Sending request 'textDocument/inlayHint - (15)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":92,"character":50}}}
[Trace - 15:24:51.474 PM] Received response 'textDocument/inlayHint - (15)' in 0ms.
Result: null
[Trace - 15:24:51.523 PM] Sending request 'textDocument/inlayHint - (16)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":93,"character":17}}}
[Trace - 15:24:51.523 PM] Received response 'textDocument/inlayHint - (16)' in 0ms.
Result: null
[Trace - 15:24:51.592 PM] Sending request 'textDocument/inlayHint - (17)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":93,"character":17}}}
[Trace - 15:24:51.592 PM] Received response 'textDocument/inlayHint - (17)' in 0ms.
Result: null
[Trace - 15:24:51.703 PM] Sending request 'textDocument/semanticTokens/range - (18)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":63,"character":71}}}
[Error - Received] 15:24:51.703 PM golang/vscode-go#18 semantictokens are disabled
[Error - 3:24:51 PM] Request textDocument/semanticTokens/range failed.
Message: semantictokens are disabled
Code: 0
[Trace - 15:24:51.970 PM] Sending request 'textDocument/documentHighlight - (19)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"position":{"line":20,"character":6}}
[Trace - 15:24:51.970 PM] Received response 'textDocument/documentHighlight - (19)' in 0ms.
Result: [{"range":{"start":{"line":60,"character":1},"end":{"line":60,"character":5}},"kind":1},{"range":{"start":{"line":62,"character":1},"end":{"line":62,"character":5}},"kind":1},{"range":{"start":{"line":67,"character":16},"end":{"line":67,"character":20}},"kind":1},{"range":{"start":{"line":68,"character":1},"end":{"line":68,"character":5}},"kind":1},{"range":{"start":{"line":20,"character":1},"end":{"line":20,"character":7}},"kind":1},{"range":{"start":{"line":55,"character":1},"end":{"line":55,"character":5}},"kind":1},{"range":{"start":{"line":56,"character":1},"end":{"line":56,"character":5}},"kind":1},{"range":{"start":{"line":57,"character":1},"end":{"line":57,"character":5}},"kind":1}]
[Trace - 15:24:52.222 PM] Sending request 'textDocument/codeAction - (20)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":20,"character":6},"end":{"line":20,"character":6}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:24:52.223 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:52 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Trace - 15:24:52.223 PM] Received response 'textDocument/codeAction - (20)' in 1ms.
Result: [{"title":"Convert to raw string literal","kind":"refactor.rewrite","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"edits":[{"range":{"start":{"line":20,"character":1},"end":{"line":20,"character":7}},"newText":"`flag`"}]}]}}]
[Info - 3:24:52 PM] 2024/04/12 15:24:52 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:24:52.693 PM] Sending request 'textDocument/hover - (21)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"position":{"line":23,"character":14}}
[Trace - 15:24:52.694 PM] Received response 'textDocument/hover - (21)' in 0ms.
Result: null
[Trace - 15:24:52.709 PM] Sending request 'textDocument/documentHighlight - (22)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"position":{"line":23,"character":15}}
[Trace - 15:24:52.710 PM] Received response 'textDocument/documentHighlight - (22)' in 0ms.
Result: []
[Trace - 15:24:52.960 PM] Sending request 'textDocument/codeAction - (23)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":23,"character":15},"end":{"line":23,"character":15}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:24:52.961 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:52 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Trace - 15:24:52.961 PM] Received response 'textDocument/codeAction - (23)' in 0ms.
Result: null
[Info - 3:24:52 PM] 2024/04/12 15:24:52 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:24:53.459 PM] Sending request 'textDocument/codeAction - (24)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":29,"character":16},"end":{"line":29,"character":16}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:24:53.460 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:53 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Trace - 15:24:53.460 PM] Received response 'textDocument/codeAction - (24)' in 1ms.
Result: [{"title":"Convert to raw string literal","kind":"refactor.rewrite","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"edits":[{"range":{"start":{"line":29,"character":16},"end":{"line":29,"character":52}},"newText":"`k8s.io/client-go/kubernetes/scheme`"}]}]}}]
[Info - 3:24:53 PM] 2024/04/12 15:24:53 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:24:53.695 PM] Sending request 'textDocument/hover - (25)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"position":{"line":29,"character":33}}
[Trace - 15:24:53.696 PM] Received response 'textDocument/hover - (25)' in 1ms.
Result: {"contents":{"kind":"markdown","value":"This package contains the scheme of the automatically generated clientset.\n"},"range":{"start":{"line":29,"character":16},"end":{"line":29,"character":52}}}
[Trace - 15:24:53.786 PM] Sending request 'textDocument/documentHighlight - (26)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"position":{"line":28,"character":16}}
[Trace - 15:24:53.787 PM] Received response 'textDocument/documentHighlight - (26)' in 0ms.
Result: [{"range":{"start":{"line":28,"character":1},"end":{"line":28,"character":51}},"kind":1},{"range":{"start":{"line":44,"character":1},"end":{"line":44,"character":12}},"kind":1}]
[Trace - 15:24:53.987 PM] Sending request 'textDocument/documentHighlight - (27)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"position":{"line":27,"character":16}}
[Trace - 15:24:53.988 PM] Received response 'textDocument/documentHighlight - (27)' in 0ms.
Result: [{"range":{"start":{"line":27,"character":1},"end":{"line":27,"character":34}},"kind":1},{"range":{"start":{"line":39,"character":12},"end":{"line":39,"character":19}},"kind":1}]
[Trace - 15:24:54.242 PM] Sending request 'textDocument/codeAction - (28)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":27,"character":16},"end":{"line":27,"character":16}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:24:54.243 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:54 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Trace - 15:24:54.244 PM] Received response 'textDocument/codeAction - (28)' in 1ms.
Result: [{"title":"Convert to raw string literal","kind":"refactor.rewrite","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"edits":[{"range":{"start":{"line":27,"character":1},"end":{"line":27,"character":34}},"newText":"`k8s.io/apimachinery/pkg/runtime`"}]}]}}]
[Info - 3:24:54 PM] 2024/04/12 15:24:54 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:24:54.245 PM] Sending request 'textDocument/documentHighlight - (29)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"position":{"line":28,"character":16}}
[Trace - 15:24:54.246 PM] Received response 'textDocument/documentHighlight - (29)' in 0ms.
Result: [{"range":{"start":{"line":28,"character":1},"end":{"line":28,"character":51}},"kind":1},{"range":{"start":{"line":44,"character":1},"end":{"line":44,"character":12}},"kind":1}]
[Trace - 15:24:54.499 PM] Sending request 'textDocument/codeAction - (30)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":28,"character":16},"end":{"line":28,"character":16}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:24:54.500 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:54 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Trace - 15:24:54.501 PM] Received response 'textDocument/codeAction - (30)' in 1ms.
Result: [{"title":"Convert to raw string literal","kind":"refactor.rewrite","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"edits":[{"range":{"start":{"line":28,"character":13},"end":{"line":28,"character":51}},"newText":"`k8s.io/apimachinery/pkg/util/runtime`"}]}]}}]
[Info - 3:24:54 PM] 2024/04/12 15:24:54 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:24:54.754 PM] Sending request 'textDocument/codeAction - (31)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":29,"character":16},"end":{"line":29,"character":16}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:24:54.755 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:54 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Trace - 15:24:54.755 PM] Received response 'textDocument/codeAction - (31)' in 1ms.
Result: [{"title":"Convert to raw string literal","kind":"refactor.rewrite","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"edits":[{"range":{"start":{"line":29,"character":16},"end":{"line":29,"character":52}},"newText":"`k8s.io/client-go/kubernetes/scheme`"}]}]}}]
[Info - 3:24:54 PM] 2024/04/12 15:24:54 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:24:54.987 PM] Sending request 'textDocument/documentHighlight - (32)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"position":{"line":30,"character":16}}
[Trace - 15:24:54.987 PM] Received response 'textDocument/documentHighlight - (32)' in 0ms.
Result: [{"range":{"start":{"line":92,"character":13},"end":{"line":92,"character":17}},"kind":1},{"range":{"start":{"line":92,"character":29},"end":{"line":92,"character":33}},"kind":1},{"range":{"start":{"line":92,"character":52},"end":{"line":92,"character":56}},"kind":1},{"range":{"start":{"line":132,"character":21},"end":{"line":132,"character":25}},"kind":1},{"range":{"start":{"line":30,"character":1},"end":{"line":30,"character":38}},"kind":1},{"range":{"start":{"line":40,"character":12},"end":{"line":40,"character":16}},"kind":1},{"range":{"start":{"line":70,"character":1},"end":{"line":70,"character":5}},"kind":1}]
[Trace - 15:24:55.242 PM] Sending request 'textDocument/codeAction - (33)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":30,"character":16},"end":{"line":30,"character":16}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:24:55.243 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:55 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Info - 3:24:55 PM] 2024/04/12 15:24:55 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:24:55.243 PM] Received response 'textDocument/codeAction - (33)' in 1ms.
Result: [{"title":"Convert to raw string literal","kind":"refactor.rewrite","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"edits":[{"range":{"start":{"line":30,"character":6},"end":{"line":30,"character":38}},"newText":"`sigs.k8s.io/controller-runtime`"}]}]}}]
[Trace - 15:24:55.279 PM] Sending request 'textDocument/documentHighlight - (34)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"position":{"line":31,"character":16}}
[Trace - 15:24:55.280 PM] Received response 'textDocument/documentHighlight - (34)' in 0ms.
Result: [{"range":{"start":{"line":31,"character":1},"end":{"line":31,"character":45}},"kind":1},{"range":{"start":{"line":122,"character":42},"end":{"line":122,"character":49}},"kind":1},{"range":{"start":{"line":126,"character":40},"end":{"line":126,"character":47}},"kind":1}]
[Trace - 15:24:55.532 PM] Sending request 'textDocument/codeAction - (35)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":31,"character":16},"end":{"line":31,"character":16}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:24:55.532 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:55 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Info - 3:24:55 PM] 2024/04/12 15:24:55 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:24:55.533 PM] Received response 'textDocument/codeAction - (35)' in 1ms.
Result: [{"title":"Convert to raw string literal","kind":"refactor.rewrite","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"edits":[{"range":{"start":{"line":31,"character":1},"end":{"line":31,"character":45}},"newText":"`sigs.k8s.io/controller-runtime/pkg/healthz`"}]}]}}]
[Trace - 15:24:55.659 PM] Sending request 'textDocument/inlayHint - (36)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":82,"character":0}}}
[Trace - 15:24:55.659 PM] Received response 'textDocument/inlayHint - (36)' in 0ms.
Result: null
[Trace - 15:24:55.772 PM] Sending request 'textDocument/semanticTokens/range - (37)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":52,"character":21}}}
[Error - Received] 15:24:55.772 PM golang/vscode-go#37 semantictokens are disabled
[Error - 3:24:55 PM] Request textDocument/semanticTokens/range failed.
Message: semantictokens are disabled
Code: 0
[Trace - 15:24:56.193 PM] Sending request 'textDocument/inlayHint - (38)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":93,"character":17}}}
[Trace - 15:24:56.193 PM] Received response 'textDocument/inlayHint - (38)' in 0ms.
Result: null
[Trace - 15:24:56.306 PM] Sending request 'textDocument/semanticTokens/range - (39)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":63,"character":71}}}
[Error - Received] 15:24:56.306 PM golang/vscode-go#39 semantictokens are disabled
[Error - 3:24:56 PM] Request textDocument/semanticTokens/range failed.
Message: semantictokens are disabled
Code: 0
[Trace - 15:24:56.917 PM] Sending request 'textDocument/codeAction - (40)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":18,"character":7},"end":{"line":18,"character":7}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:24:56.917 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:56 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Info - 3:24:56 PM] 2024/04/12 15:24:56 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:24:56.918 PM] Received response 'textDocument/codeAction - (40)' in 1ms.
Result: null
[Trace - 15:24:57.007 PM] Sending request 'textDocument/documentHighlight - (41)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"position":{"line":19,"character":7}}
[Trace - 15:24:57.008 PM] Received response 'textDocument/documentHighlight - (41)' in 0ms.
Result: [{"range":{"start":{"line":19,"character":1},"end":{"line":19,"character":13}},"kind":1},{"range":{"start":{"line":78,"character":25},"end":{"line":78,"character":28}},"kind":1},{"range":{"start":{"line":83,"character":20},"end":{"line":83,"character":23}},"kind":1}]
[Trace - 15:24:57.263 PM] Sending request 'textDocument/codeAction - (42)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":19,"character":7},"end":{"line":19,"character":7}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:24:57.264 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:57 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Trace - 15:24:57.264 PM] Received response 'textDocument/codeAction - (42)' in 1ms.
Result: [{"title":"Convert to raw string literal","kind":"refactor.rewrite","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"edits":[{"range":{"start":{"line":19,"character":1},"end":{"line":19,"character":13}},"newText":"`crypto/tls`"}]}]}}]
[Info - 3:24:57 PM] 2024/04/12 15:24:57 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:24:58.364 PM] Sending request 'textDocument/codeAction - (43)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":19,"character":0},"end":{"line":21,"character":5}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:24:58.365 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:58 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Trace - 15:24:58.365 PM] Received response 'textDocument/codeAction - (43)' in 1ms.
Result: null
[Info - 3:24:58 PM] 2024/04/12 15:24:58 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:24:58.479 PM] Sending notification 'textDocument/didChange'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go","version":2},"contentChanges":[{"range":{"start":{"line":19,"character":0},"end":{"line":22,"character":0}},"rangeLength":28,"text":""}]}
[Trace - 15:24:58.535 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:58 17.18475ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=off GOPROXY=off PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -e -f {{context.ReleaseTags}} -- unsafe\n"}
[Info - 3:24:58 PM] 2024/04/12 15:24:58 17.18475ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=off GOPROXY=off PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -e -f {{context.ReleaseTags}} -- unsafe
[Trace - 15:24:58.538 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:58 18.6675ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=off PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -f \"{{context.GOARCH}} {{context.Compiler}}\" -- unsafe\n"}
[Info - 3:24:58 PM] 2024/04/12 15:24:58 18.6675ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=off PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
[Trace - 15:24:58.633 PM] Sending request 'textDocument/semanticTokens/range - (44)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":63,"character":2}}}
[Error - Received] 15:24:58.635 PM golang/vscode-go#44 semantictokens are disabled
[Error - 3:24:58 PM] Request textDocument/semanticTokens/range failed.
Message: semantictokens are disabled
Code: 0
[Trace - 15:24:58.782 PM] Sending request 'textDocument/foldingRange - (45)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:24:58.784 PM] Received response 'textDocument/foldingRange - (45)' in 1ms.
Result: [{"startLine":0,"startCharacter":2,"endLine":14,"endCharacter":2,"kind":"comment"},{"startLine":18,"startCharacter":8,"endLine":31,"endCharacter":45,"kind":"imports"},{"startLine":20,"startCharacter":75,"endLine":21,"endCharacter":64,"kind":"comment"},{"startLine":35,"startCharacter":5,"endLine":37,"endCharacter":38},{"startLine":40,"startCharacter":13,"endLine":41,"endCharacter":53},{"startLine":46,"startCharacter":13,"endLine":132,"endCharacter":2},{"startLine":54,"startCharacter":14,"endLine":56,"endCharacter":75},{"startLine":57,"startCharacter":14,"endLine":58,"endCharacter":50},{"startLine":59,"startCharacter":14,"endLine":60,"endCharacter":70},{"startLine":61,"startCharacter":21,"endLine":62,"endCharacter":19},{"startLine":69,"startCharacter":78,"endLine":74,"endCharacter":55,"kind":"comment"},{"startLine":75,"startCharacter":38,"endLine":77,"endCharacter":37},{"startLine":81,"startCharacter":18,"endLine":82,"endCharacter":41},{"startLine":85,"startCharacter":36,"endLine":87,"endCharacter":2},{"startLine":85,"startCharacter":52,"endLine":86,"endCharacter":18},{"startLine":89,"startCharacter":29,"endLine":111,"endCharacter":2},{"startLine":89,"startCharacter":65,"endLine":99,"endCharacter":46},{"startLine":91,"startCharacter":33,"endLine":94,"endCharacter":25},{"startLine":100,"startCharacter":85,"endLine":110,"endCharacter":41,"kind":"comment"},{"startLine":112,"startCharacter":16,"endLine":114,"endCharacter":12},{"startLine":119,"startCharacter":69,"endLine":121,"endCharacter":12},{"startLine":123,"startCharacter":67,"endLine":125,"endCharacter":12},{"startLine":129,"startCharacter":61,"endLine":131,"endCharacter":12}]
[Trace - 15:24:58.836 PM] Sending request 'textDocument/documentSymbol - (46)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:24:58.837 PM] Received response 'textDocument/documentSymbol - (46)' in 0ms.
Result: [{"name":"scheme","kind":13,"range":{"start":{"line":36,"character":1},"end":{"line":36,"character":31}},"selectionRange":{"start":{"line":36,"character":1},"end":{"line":36,"character":7}}},{"name":"setupLog","kind":13,"range":{"start":{"line":37,"character":1},"end":{"line":37,"character":38}},"selectionRange":{"start":{"line":37,"character":1},"end":{"line":37,"character":9}}},{"name":"init","detail":"func()","kind":12,"range":{"start":{"line":40,"character":0},"end":{"line":44,"character":1}},"selectionRange":{"start":{"line":40,"character":5},"end":{"line":40,"character":9}}},{"name":"main","detail":"func()","kind":12,"range":{"start":{"line":46,"character":0},"end":{"line":133,"character":1}},"selectionRange":{"start":{"line":46,"character":5},"end":{"line":46,"character":9}}}]
[Trace - 15:24:58.856 PM] Sending request 'textDocument/codeLens - (47)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:24:58.856 PM] Received response 'textDocument/codeLens - (47)' in 0ms.
Result: null
[Trace - 15:24:58.870 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:58 334.023709ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=off PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -overlay=/var/folders/8y/ckbgv5dd5dz1gg2_0zl8r5740000gq/T/gopackages-4073516236/overlay.json -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\n"}
[Info - 3:24:58 PM] 2024/04/12 15:24:58 334.023709ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=off PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -overlay=/var/folders/8y/ckbgv5dd5dz1gg2_0zl8r5740000gq/T/gopackages-4073516236/overlay.json -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd
[Trace - 15:24:58.883 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:58 go/packages.Load golang/vscode-go#2\n\tsnapshot=2\n\tdirectory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog\n\tquery=[file=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go]\n\tpackages=1\n"}
[Trace - 15:24:58.883 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:58 go/packages.Load golang/vscode-go#2\n\tsnapshot=2\n\tdirectory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog\n\tpackage=\"my.domain/guestbook/cmd\"\n\tfiles=[/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go]\n"}
[Info - 3:24:58 PM] 2024/04/12 15:24:58 go/packages.Load golang/vscode-go#2
snapshot=2
directory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog
query=[file=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go]
packages=1
[Info - 3:24:58 PM] 2024/04/12 15:24:58 go/packages.Load golang/vscode-go#2
snapshot=2
directory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog
package="my.domain/guestbook/cmd"
files=[/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go]
[Trace - 15:24:58.889 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:24:58 go/packages.Load golang/vscode-go#2: updating metadata for 1 packages\n"}
[Info - 3:24:58 PM] 2024/04/12 15:24:58 go/packages.Load golang/vscode-go#2: updating metadata for 1 packages
[Trace - 15:24:58.903 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go","version":2,"diagnostics":[{"range":{"start":{"line":52,"character":1},"end":{"line":52,"character":5}},"severity":1,"code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"source":"compiler","message":"undefined: flag"},{"range":{"start":{"line":53,"character":1},"end":{"line":53,"character":5}},"severity":1,"code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"source":"compiler","message":"undefined: flag"},{"range":{"start":{"line":54,"character":1},"end":{"line":54,"character":5}},"severity":1,"code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"source":"compiler","message":"undefined: flag"},{"range":{"start":{"line":57,"character":1},"end":{"line":57,"character":5}},"severity":1,"code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"source":"compiler","message":"undefined: flag"},{"range":{"start":{"line":59,"character":1},"end":{"line":59,"character":5}},"severity":1,"code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"source":"compiler","message":"undefined: flag"},{"range":{"start":{"line":64,"character":16},"end":{"line":64,"character":20}},"severity":1,"code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"source":"compiler","message":"undefined: flag"},{"range":{"start":{"line":65,"character":1},"end":{"line":65,"character":5}},"severity":1,"code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"source":"compiler","message":"undefined: flag"},{"range":{"start":{"line":75,"character":25},"end":{"line":75,"character":28}},"severity":1,"code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"source":"compiler","message":"undefined: tls"},{"range":{"start":{"line":80,"character":20},"end":{"line":80,"character":23}},"severity":1,"code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"source":"compiler","message":"undefined: tls"},{"range":{"start":{"line":114,"character":2},"end":{"line":114,"character":4}},"severity":1,"code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"source":"compiler","message":"undefined: os"},{"range":{"start":{"line":121,"character":2},"end":{"line":121,"character":4}},"severity":1,"code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"source":"compiler","message":"undefined: os"},{"range":{"start":{"line":125,"character":2},"end":{"line":125,"character":4}},"severity":1,"code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"source":"compiler","message":"undefined: os"},{"range":{"start":{"line":131,"character":2},"end":{"line":131,"character":4}},"severity":1,"code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName"},"source":"compiler","message":"undefined: os"}]}
[Trace - 15:24:58.929 PM] Sending request 'textDocument/semanticTokens/full - (48)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Error - Received] 15:24:58.930 PM golang/vscode-go#48 semantictokens are disabled
[Error - 3:24:58 PM] Request textDocument/semanticTokens/full failed.
Message: semantictokens are disabled
Code: 0
[Trace - 15:24:59.009 PM] Sending request 'textDocument/documentSymbol - (49)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:24:59.009 PM] Received response 'textDocument/documentSymbol - (49)' in 0ms.
Result: [{"name":"scheme","kind":13,"range":{"start":{"line":36,"character":1},"end":{"line":36,"character":31}},"selectionRange":{"start":{"line":36,"character":1},"end":{"line":36,"character":7}}},{"name":"setupLog","kind":13,"range":{"start":{"line":37,"character":1},"end":{"line":37,"character":38}},"selectionRange":{"start":{"line":37,"character":1},"end":{"line":37,"character":9}}},{"name":"init","detail":"func()","kind":12,"range":{"start":{"line":40,"character":0},"end":{"line":44,"character":1}},"selectionRange":{"start":{"line":40,"character":5},"end":{"line":40,"character":9}}},{"name":"main","detail":"func()","kind":12,"range":{"start":{"line":46,"character":0},"end":{"line":133,"character":1}},"selectionRange":{"start":{"line":46,"character":5},"end":{"line":46,"character":9}}}]
[Trace - 15:24:59.733 PM] Sending request 'textDocument/inlayHint - (50)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":93,"character":2}}}
[Trace - 15:24:59.734 PM] Received response 'textDocument/inlayHint - (50)' in 0ms.
Result: null
[Trace - 15:24:59.983 PM] Sending request 'textDocument/documentLink - (51)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:24:59.987 PM] Received response 'textDocument/documentLink - (51)' in 3ms.
Result: [{"range":{"start":{"line":22,"character":4},"end":{"line":22,"character":43}},"target":"https://pkg.go.dev/k8s.io/client-go@v0.29.0/plugin/pkg/client/auth"},{"range":{"start":{"line":24,"character":2},"end":{"line":24,"character":33}},"target":"https://pkg.go.dev/k8s.io/apimachinery@v0.29.0/pkg/runtime"},{"range":{"start":{"line":25,"character":14},"end":{"line":25,"character":50}},"target":"https://pkg.go.dev/k8s.io/apimachinery@v0.29.0/pkg/util/runtime"},{"range":{"start":{"line":26,"character":17},"end":{"line":26,"character":51}},"target":"https://pkg.go.dev/k8s.io/client-go@v0.29.0/kubernetes/scheme"},{"range":{"start":{"line":27,"character":7},"end":{"line":27,"character":37}},"target":"https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.2"},{"range":{"start":{"line":28,"character":2},"end":{"line":28,"character":44}},"target":"https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.2/pkg/healthz"},{"range":{"start":{"line":29,"character":2},"end":{"line":29,"character":44}},"target":"https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.2/pkg/log/zap"},{"range":{"start":{"line":30,"character":16},"end":{"line":30,"character":65}},"target":"https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.2/pkg/metrics/server"},{"range":{"start":{"line":31,"character":2},"end":{"line":31,"character":44}},"target":"https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.2/pkg/webhook"},{"range":{"start":{"line":99,"character":27},"end":{"line":99,"character":38}},"target":"https://ecaf1259.my"},{"range":{"start":{"line":7,"character":4},"end":{"line":7,"character":46}},"target":"http://www.apache.org/licenses/LICENSE-2.0"},{"range":{"start":{"line":73,"character":6},"end":{"line":73,"character":55}},"target":"https://github.com/advisories/GHSA-qppj-fm5r-hxr3"},{"range":{"start":{"line":74,"character":6},"end":{"line":74,"character":55}},"target":"https://github.com/advisories/GHSA-4374-p667-p6c8"}]
[Trace - 15:25:01.129 PM] Sending request 'textDocument/codeAction - (52)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":32,"character":0},"end":{"line":32,"character":0}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:25:01.129 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:01 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Info - 3:25:01 PM] 2024/04/12 15:25:01 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:25:01.141 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:01 11.494917ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=[removed],direct PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go env -json GO111MODULE GOFLAGS GOINSECURE GOMOD GOMODCACHE GONOPROXY GONOSUMDB GOPATH GOPROXY GOROOT GOSUMDB GOWORK\n"}
[Info - 3:25:01 PM] 2024/04/12 15:25:01 11.494917ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=[removed],direct PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go env -json GO111MODULE GOFLAGS GOINSECURE GOMOD GOMODCACHE GONOPROXY GONOSUMDB GOPATH GOPROXY GOROOT GOSUMDB GOWORK
[Trace - 15:25:01.142 PM] Received response 'textDocument/codeAction - (52)' in 13ms.
Result: [{"title":"Organize Imports","kind":"source.organizeImports","edit":{"documentChanges":[{"textDocument":{"version":2,"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"edits":[{"range":{"start":{"line":21,"character":64},"end":{"line":21,"character":64}},"newText":"\n\t\"crypto/tls\"\n\t\"flag\"\n\t\"os\"\n"}]}]}}]
[Trace - 15:25:01.276 PM] Sending notification 'textDocument/didChange'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go","version":3},"contentChanges":[{"range":{"start":{"line":32,"character":32},"end":{"line":32,"character":32}},"rangeLength":0,"text":"\n\t\"crypto/tls\"\n\t\"flag\"\n\t\"os\""}]}
[Trace - 15:25:01.331 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:01 17.203583ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=off GOPROXY=off PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -e -f {{context.ReleaseTags}} -- unsafe\n"}
[Info - 3:25:01 PM] 2024/04/12 15:25:01 17.203583ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=off GOPROXY=off PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -e -f {{context.ReleaseTags}} -- unsafe
[Trace - 15:25:01.332 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:01 18.433375ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=off PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -f \"{{context.GOARCH}} {{context.Compiler}}\" -- unsafe\n"}
[Info - 3:25:01 PM] 2024/04/12 15:25:01 18.433375ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=off PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
[Trace - 15:25:01.428 PM] Sending request 'textDocument/semanticTokens/range - (53)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":63,"character":71}}}
[Error - Received] 15:25:01.430 PM golang/vscode-go#53 semantictokens are disabled
[Error - 3:25:01 PM] Request textDocument/semanticTokens/range failed.
Message: semantictokens are disabled
Code: 0
[Trace - 15:25:01.532 PM] Sending request 'textDocument/codeAction - (54)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":33,"character":1},"end":{"line":33,"character":1}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:25:01.533 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:01 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Info - 3:25:01 PM] 2024/04/12 15:25:01 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:25:01.553 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:01 16.151791ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=off GOPROXY=off PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -e -f {{context.ReleaseTags}} -- unsafe\n"}
[Trace - 15:25:01.554 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:01 19.915125ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=off PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -f \"{{context.GOARCH}} {{context.Compiler}}\" -- unsafe\n"}
[Info - 3:25:01 PM] 2024/04/12 15:25:01 16.151791ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=off GOPROXY=off PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -e -f {{context.ReleaseTags}} -- unsafe
[Info - 3:25:01 PM] 2024/04/12 15:25:01 19.915125ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=off PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
[Trace - 15:25:01.592 PM] Sending request 'textDocument/foldingRange - (55)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:01.633 PM] Sending request 'textDocument/documentSymbol - (56)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:01.654 PM] Sending request 'textDocument/codeLens - (57)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:01.687 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:01 354.10625ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=off PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -overlay=/var/folders/8y/ckbgv5dd5dz1gg2_0zl8r5740000gq/T/gopackages-3557945139/overlay.json -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\n"}
[Info - 3:25:01 PM] 2024/04/12 15:25:01 354.10625ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=off PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -overlay=/var/folders/8y/ckbgv5dd5dz1gg2_0zl8r5740000gq/T/gopackages-3557945139/overlay.json -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd
[Trace - 15:25:01.701 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:01 go/packages.Load golang/vscode-go#3\n\tsnapshot=3\n\tdirectory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog\n\tquery=[file=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go]\n\tpackages=1\n"}
[Trace - 15:25:01.701 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:01 go/packages.Load golang/vscode-go#3\n\tsnapshot=3\n\tdirectory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog\n\tpackage=\"my.domain/guestbook/cmd\"\n\tfiles=[/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go]\n"}
[Info - 3:25:01 PM] 2024/04/12 15:25:01 go/packages.Load golang/vscode-go#3
snapshot=3
directory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog
query=[file=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go]
packages=1
[Info - 3:25:01 PM] 2024/04/12 15:25:01 go/packages.Load golang/vscode-go#3
snapshot=3
directory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog
package="my.domain/guestbook/cmd"
files=[/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go]
[Trace - 15:25:01.706 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:01 go/packages.Load golang/vscode-go#3: updating metadata for 1 packages\n"}
[Info - 3:25:01 PM] 2024/04/12 15:25:01 go/packages.Load golang/vscode-go#3: updating metadata for 1 packages
[Trace - 15:25:01.724 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go","version":3,"diagnostics":[]}
[Trace - 15:25:01.726 PM] Sending request 'textDocument/semanticTokens/full - (58)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:01.804 PM] Sending request 'textDocument/documentSymbol - (59)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:01.944 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:01 393.031334ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=off PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -overlay=/var/folders/8y/ckbgv5dd5dz1gg2_0zl8r5740000gq/T/gopackages-919065352/overlay.json -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\n"}
[Info - 3:25:01 PM] 2024/04/12 15:25:01 393.031334ms for GOROOT= GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=off PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -overlay=/var/folders/8y/ckbgv5dd5dz1gg2_0zl8r5740000gq/T/gopackages-919065352/overlay.json -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd
[Trace - 15:25:01.955 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:01 go/packages.Load golang/vscode-go#4\n\tsnapshot=3\n\tdirectory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog\n\tquery=[file=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go]\n\tpackages=1\n"}
[Trace - 15:25:01.955 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:01 go/packages.Load golang/vscode-go#4\n\tsnapshot=3\n\tdirectory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog\n\tpackage=\"my.domain/guestbook/cmd\"\n\tfiles=[/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go]\n"}
[Info - 3:25:01 PM] 2024/04/12 15:25:01 go/packages.Load golang/vscode-go#4
snapshot=3
directory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog
query=[file=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go]
packages=1
[Info - 3:25:01 PM] 2024/04/12 15:25:01 go/packages.Load golang/vscode-go#4
snapshot=3
directory=file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog
package="my.domain/guestbook/cmd"
files=[/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go]
[Trace - 15:25:01.961 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:01 go/packages.Load golang/vscode-go#4: updating metadata for 0 packages\n"}
[Info - 3:25:01 PM] 2024/04/12 15:25:01 go/packages.Load golang/vscode-go#4: updating metadata for 0 packages
[Trace - 15:25:01.969 PM] Received response 'textDocument/codeAction - (54)' in 437ms.
Result: [{"title":"Organize Imports","kind":"source.organizeImports","edit":{"documentChanges":[{"textDocument":{"version":3,"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"edits":[{"range":{"start":{"line":32,"character":0},"end":{"line":32,"character":0}},"newText":"\n"}]}]}},{"title":"Convert to raw string literal","kind":"refactor.rewrite","edit":{"documentChanges":[{"textDocument":{"version":3,"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"edits":[{"range":{"start":{"line":33,"character":1},"end":{"line":33,"character":13}},"newText":"`crypto/tls`"}]}]}}]
[Trace - 15:25:01.969 PM] Received response 'textDocument/foldingRange - (55)' in 377ms.
Result: [{"startLine":0,"startCharacter":2,"endLine":14,"endCharacter":2,"kind":"comment"},{"startLine":18,"startCharacter":8,"endLine":35,"endCharacter":5,"kind":"imports"},{"startLine":20,"startCharacter":75,"endLine":21,"endCharacter":64,"kind":"comment"},{"startLine":38,"startCharacter":5,"endLine":40,"endCharacter":38},{"startLine":43,"startCharacter":13,"endLine":44,"endCharacter":53},{"startLine":49,"startCharacter":13,"endLine":135,"endCharacter":2},{"startLine":57,"startCharacter":14,"endLine":59,"endCharacter":75},{"startLine":60,"startCharacter":14,"endLine":61,"endCharacter":50},{"startLine":62,"startCharacter":14,"endLine":63,"endCharacter":70},{"startLine":64,"startCharacter":21,"endLine":65,"endCharacter":19},{"startLine":72,"startCharacter":78,"endLine":77,"endCharacter":55,"kind":"comment"},{"startLine":78,"startCharacter":38,"endLine":80,"endCharacter":37},{"startLine":84,"startCharacter":18,"endLine":85,"endCharacter":41},{"startLine":88,"startCharacter":36,"endLine":90,"endCharacter":2},{"startLine":88,"startCharacter":52,"endLine":89,"endCharacter":18},{"startLine":92,"startCharacter":29,"endLine":114,"endCharacter":2},{"startLine":92,"startCharacter":65,"endLine":102,"endCharacter":46},{"startLine":94,"startCharacter":33,"endLine":97,"endCharacter":25},{"startLine":103,"startCharacter":85,"endLine":113,"endCharacter":41,"kind":"comment"},{"startLine":115,"startCharacter":16,"endLine":117,"endCharacter":12},{"startLine":122,"startCharacter":69,"endLine":124,"endCharacter":12},{"startLine":126,"startCharacter":67,"endLine":128,"endCharacter":12},{"startLine":132,"startCharacter":61,"endLine":134,"endCharacter":12}]
[Trace - 15:25:01.969 PM] Received response 'textDocument/documentSymbol - (56)' in 336ms.
Result: [{"name":"scheme","kind":13,"range":{"start":{"line":39,"character":1},"end":{"line":39,"character":31}},"selectionRange":{"start":{"line":39,"character":1},"end":{"line":39,"character":7}}},{"name":"setupLog","kind":13,"range":{"start":{"line":40,"character":1},"end":{"line":40,"character":38}},"selectionRange":{"start":{"line":40,"character":1},"end":{"line":40,"character":9}}},{"name":"init","detail":"func()","kind":12,"range":{"start":{"line":43,"character":0},"end":{"line":47,"character":1}},"selectionRange":{"start":{"line":43,"character":5},"end":{"line":43,"character":9}}},{"name":"main","detail":"func()","kind":12,"range":{"start":{"line":49,"character":0},"end":{"line":136,"character":1}},"selectionRange":{"start":{"line":49,"character":5},"end":{"line":49,"character":9}}}]
[Trace - 15:25:01.969 PM] Received response 'textDocument/codeLens - (57)' in 315ms.
Result: null
[Error - Received] 15:25:01.970 PM golang/vscode-go#58 semantictokens are disabled
[Trace - 15:25:01.970 PM] Received response 'textDocument/documentSymbol - (59)' in 166ms.
Result: [{"name":"scheme","kind":13,"range":{"start":{"line":39,"character":1},"end":{"line":39,"character":31}},"selectionRange":{"start":{"line":39,"character":1},"end":{"line":39,"character":7}}},{"name":"setupLog","kind":13,"range":{"start":{"line":40,"character":1},"end":{"line":40,"character":38}},"selectionRange":{"start":{"line":40,"character":1},"end":{"line":40,"character":9}}},{"name":"init","detail":"func()","kind":12,"range":{"start":{"line":43,"character":0},"end":{"line":47,"character":1}},"selectionRange":{"start":{"line":43,"character":5},"end":{"line":43,"character":9}}},{"name":"main","detail":"func()","kind":12,"range":{"start":{"line":49,"character":0},"end":{"line":136,"character":1}},"selectionRange":{"start":{"line":49,"character":5},"end":{"line":49,"character":9}}}]
[Error - 3:25:01 PM] Request textDocument/semanticTokens/full failed.
Message: semantictokens are disabled
Code: 0
[Trace - 15:25:02.118 PM] Sending request 'textDocument/codeAction - (60)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":33,"character":13},"end":{"line":33,"character":13}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:25:02.118 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:02 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Info - 3:25:02 PM] 2024/04/12 15:25:02 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:25:02.119 PM] Received response 'textDocument/codeAction - (60)' in 1ms.
Result: [{"title":"Organize Imports","kind":"source.organizeImports","edit":{"documentChanges":[{"textDocument":{"version":3,"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"edits":[{"range":{"start":{"line":32,"character":0},"end":{"line":32,"character":0}},"newText":"\n"}]}]}}]
[Trace - 15:25:02.135 PM] Sending request 'textDocument/documentHighlight - (61)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"position":{"line":33,"character":12}}
[Trace - 15:25:02.135 PM] Received response 'textDocument/documentHighlight - (61)' in 0ms.
Result: [{"range":{"start":{"line":33,"character":1},"end":{"line":33,"character":13}},"kind":1},{"range":{"start":{"line":78,"character":25},"end":{"line":78,"character":28}},"kind":1},{"range":{"start":{"line":83,"character":20},"end":{"line":83,"character":23}},"kind":1}]
[Trace - 15:25:02.365 PM] Sending request 'textDocument/documentHighlight - (62)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"position":{"line":32,"character":12}}
[Trace - 15:25:02.365 PM] Received response 'textDocument/documentHighlight - (62)' in 0ms.
Result: []
[Trace - 15:25:02.529 PM] Sending request 'textDocument/inlayHint - (63)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":93,"character":17}}}
[Trace - 15:25:02.529 PM] Received response 'textDocument/inlayHint - (63)' in 0ms.
Result: null
[Trace - 15:25:02.578 PM] Sending request 'textDocument/documentHighlight - (64)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"position":{"line":32,"character":32}}
[Trace - 15:25:02.579 PM] Received response 'textDocument/documentHighlight - (64)' in 0ms.
Result: []
[Trace - 15:25:02.751 PM] Sending notification 'textDocument/didChange'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go","version":4},"contentChanges":[{"range":{"start":{"line":32,"character":32},"end":{"line":32,"character":32}},"rangeLength":0,"text":"\n\t"}]}
[Trace - 15:25:02.779 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go","version":4,"diagnostics":[]}
[Trace - 15:25:02.906 PM] Sending request 'textDocument/semanticTokens/range - (65)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":63,"character":50}}}
[Error - Received] 15:25:02.907 PM golang/vscode-go#65 semantictokens are disabled
[Error - 3:25:02 PM] Request textDocument/semanticTokens/range failed.
Message: semantictokens are disabled
Code: 0
[Trace - 15:25:02.925 PM] Sending notification 'textDocument/didChange'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go","version":5},"contentChanges":[{"range":{"start":{"line":33,"character":0},"end":{"line":33,"character":1}},"rangeLength":1,"text":""}]}
[Trace - 15:25:02.954 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go","version":5,"diagnostics":[]}
[Trace - 15:25:03.083 PM] Sending request 'textDocument/semanticTokens/range - (66)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":63,"character":50}}}
[Error - Received] 15:25:03.084 PM golang/vscode-go#66 semantictokens are disabled
[Error - 3:25:03 PM] Request textDocument/semanticTokens/range failed.
Message: semantictokens are disabled
Code: 0
[Trace - 15:25:03.189 PM] Sending request 'textDocument/codeAction - (67)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":33,"character":0},"end":{"line":33,"character":0}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:25:03.189 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:03 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Info - 3:25:03 PM] 2024/04/12 15:25:03 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:25:03.189 PM] Received response 'textDocument/codeAction - (67)' in 0ms.
Result: [{"title":"Organize Imports","kind":"source.organizeImports","edit":{"documentChanges":[{"textDocument":{"version":5,"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"edits":[{"range":{"start":{"line":32,"character":0},"end":{"line":32,"character":0}},"newText":"\n"}]}]}}]
[Trace - 15:25:03.202 PM] Sending request 'textDocument/semanticTokens/full - (68)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Error - Received] 15:25:03.202 PM golang/vscode-go#68 semantictokens are disabled
[Error - 3:25:03 PM] Request textDocument/semanticTokens/full failed.
Message: semantictokens are disabled
Code: 0
[Trace - 15:25:03.227 PM] Sending request 'textDocument/foldingRange - (69)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:03.227 PM] Received response 'textDocument/foldingRange - (69)' in 0ms.
Result: [{"startLine":0,"startCharacter":2,"endLine":14,"endCharacter":2,"kind":"comment"},{"startLine":18,"startCharacter":8,"endLine":36,"endCharacter":5,"kind":"imports"},{"startLine":20,"startCharacter":75,"endLine":21,"endCharacter":64,"kind":"comment"},{"startLine":39,"startCharacter":5,"endLine":41,"endCharacter":38},{"startLine":44,"startCharacter":13,"endLine":45,"endCharacter":53},{"startLine":50,"startCharacter":13,"endLine":136,"endCharacter":2},{"startLine":58,"startCharacter":14,"endLine":60,"endCharacter":75},{"startLine":61,"startCharacter":14,"endLine":62,"endCharacter":50},{"startLine":63,"startCharacter":14,"endLine":64,"endCharacter":70},{"startLine":65,"startCharacter":21,"endLine":66,"endCharacter":19},{"startLine":73,"startCharacter":78,"endLine":78,"endCharacter":55,"kind":"comment"},{"startLine":79,"startCharacter":38,"endLine":81,"endCharacter":37},{"startLine":85,"startCharacter":18,"endLine":86,"endCharacter":41},{"startLine":89,"startCharacter":36,"endLine":91,"endCharacter":2},{"startLine":89,"startCharacter":52,"endLine":90,"endCharacter":18},{"startLine":93,"startCharacter":29,"endLine":115,"endCharacter":2},{"startLine":93,"startCharacter":65,"endLine":103,"endCharacter":46},{"startLine":95,"startCharacter":33,"endLine":98,"endCharacter":25},{"startLine":104,"startCharacter":85,"endLine":114,"endCharacter":41,"kind":"comment"},{"startLine":116,"startCharacter":16,"endLine":118,"endCharacter":12},{"startLine":123,"startCharacter":69,"endLine":125,"endCharacter":12},{"startLine":127,"startCharacter":67,"endLine":129,"endCharacter":12},{"startLine":133,"startCharacter":61,"endLine":135,"endCharacter":12}]
[Trace - 15:25:03.281 PM] Sending request 'textDocument/documentSymbol - (70)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:03.282 PM] Received response 'textDocument/documentSymbol - (70)' in 0ms.
Result: [{"name":"scheme","kind":13,"range":{"start":{"line":40,"character":1},"end":{"line":40,"character":31}},"selectionRange":{"start":{"line":40,"character":1},"end":{"line":40,"character":7}}},{"name":"setupLog","kind":13,"range":{"start":{"line":41,"character":1},"end":{"line":41,"character":38}},"selectionRange":{"start":{"line":41,"character":1},"end":{"line":41,"character":9}}},{"name":"init","detail":"func()","kind":12,"range":{"start":{"line":44,"character":0},"end":{"line":48,"character":1}},"selectionRange":{"start":{"line":44,"character":5},"end":{"line":44,"character":9}}},{"name":"main","detail":"func()","kind":12,"range":{"start":{"line":50,"character":0},"end":{"line":137,"character":1}},"selectionRange":{"start":{"line":50,"character":5},"end":{"line":50,"character":9}}}]
[Trace - 15:25:03.304 PM] Sending request 'textDocument/codeLens - (71)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:03.304 PM] Received response 'textDocument/codeLens - (71)' in 0ms.
Result: null
[Trace - 15:25:03.453 PM] Sending request 'textDocument/documentSymbol - (72)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:03.454 PM] Received response 'textDocument/documentSymbol - (72)' in 0ms.
Result: [{"name":"scheme","kind":13,"range":{"start":{"line":40,"character":1},"end":{"line":40,"character":31}},"selectionRange":{"start":{"line":40,"character":1},"end":{"line":40,"character":7}}},{"name":"setupLog","kind":13,"range":{"start":{"line":41,"character":1},"end":{"line":41,"character":38}},"selectionRange":{"start":{"line":41,"character":1},"end":{"line":41,"character":9}}},{"name":"init","detail":"func()","kind":12,"range":{"start":{"line":44,"character":0},"end":{"line":48,"character":1}},"selectionRange":{"start":{"line":44,"character":5},"end":{"line":44,"character":9}}},{"name":"main","detail":"func()","kind":12,"range":{"start":{"line":50,"character":0},"end":{"line":137,"character":1}},"selectionRange":{"start":{"line":50,"character":5},"end":{"line":50,"character":9}}}]
[Trace - 15:25:03.695 PM] Sending request 'textDocument/codeAction - (73)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":138,"character":0}},"context":{"diagnostics":[],"only":["source.organizeImports"],"triggerKind":2}}
[Trace - 15:25:03.695 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:03 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Info - 3:25:03 PM] 2024/04/12 15:25:03 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:25:03.696 PM] Received response 'textDocument/codeAction - (73)' in 1ms.
Result: [{"title":"Organize Imports","kind":"source.organizeImports","edit":{"documentChanges":[{"textDocument":{"version":5,"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"edits":[{"range":{"start":{"line":32,"character":0},"end":{"line":32,"character":0}},"newText":"\n"}]}]}}]
[Trace - 15:25:03.701 PM] Sending notification 'textDocument/didChange'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go","version":6},"contentChanges":[{"range":{"start":{"line":32,"character":0},"end":{"line":32,"character":0}},"rangeLength":0,"text":"\n"}]}
[Trace - 15:25:03.726 PM] Sending notification 'textDocument/didSave'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:03.801 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go","version":6,"diagnostics":[]}
[Trace - 15:25:03.854 PM] Sending request 'textDocument/semanticTokens/range - (74)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":63,"character":51}}}
[Error - Received] 15:25:03.854 PM golang/vscode-go#74 semantictokens are disabled
[Error - 3:25:03 PM] Request textDocument/semanticTokens/range failed.
Message: semantictokens are disabled
Code: 0
[Trace - 15:25:03.957 PM] Sending request 'textDocument/codeAction - (75)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":34,"character":0},"end":{"line":34,"character":0}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:25:03.958 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:03 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Trace - 15:25:03.958 PM] Received response 'textDocument/codeAction - (75)' in 0ms.
Result: null
[Info - 3:25:03 PM] 2024/04/12 15:25:03 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:25:04.006 PM] Sending request 'textDocument/foldingRange - (76)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:04.006 PM] Received response 'textDocument/foldingRange - (76)' in 0ms.
Result: [{"startLine":0,"startCharacter":2,"endLine":14,"endCharacter":2,"kind":"comment"},{"startLine":18,"startCharacter":8,"endLine":37,"endCharacter":5,"kind":"imports"},{"startLine":20,"startCharacter":75,"endLine":21,"endCharacter":64,"kind":"comment"},{"startLine":40,"startCharacter":5,"endLine":42,"endCharacter":38},{"startLine":45,"startCharacter":13,"endLine":46,"endCharacter":53},{"startLine":51,"startCharacter":13,"endLine":137,"endCharacter":2},{"startLine":59,"startCharacter":14,"endLine":61,"endCharacter":75},{"startLine":62,"startCharacter":14,"endLine":63,"endCharacter":50},{"startLine":64,"startCharacter":14,"endLine":65,"endCharacter":70},{"startLine":66,"startCharacter":21,"endLine":67,"endCharacter":19},{"startLine":74,"startCharacter":78,"endLine":79,"endCharacter":55,"kind":"comment"},{"startLine":80,"startCharacter":38,"endLine":82,"endCharacter":37},{"startLine":86,"startCharacter":18,"endLine":87,"endCharacter":41},{"startLine":90,"startCharacter":36,"endLine":92,"endCharacter":2},{"startLine":90,"startCharacter":52,"endLine":91,"endCharacter":18},{"startLine":94,"startCharacter":29,"endLine":116,"endCharacter":2},{"startLine":94,"startCharacter":65,"endLine":104,"endCharacter":46},{"startLine":96,"startCharacter":33,"endLine":99,"endCharacter":25},{"startLine":105,"startCharacter":85,"endLine":115,"endCharacter":41,"kind":"comment"},{"startLine":117,"startCharacter":16,"endLine":119,"endCharacter":12},{"startLine":124,"startCharacter":69,"endLine":126,"endCharacter":12},{"startLine":128,"startCharacter":67,"endLine":130,"endCharacter":12},{"startLine":134,"startCharacter":61,"endLine":136,"endCharacter":12}]
[Trace - 15:25:04.054 PM] Sending request 'textDocument/documentSymbol - (77)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:04.054 PM] Received response 'textDocument/documentSymbol - (77)' in 0ms.
Result: [{"name":"scheme","kind":13,"range":{"start":{"line":41,"character":1},"end":{"line":41,"character":31}},"selectionRange":{"start":{"line":41,"character":1},"end":{"line":41,"character":7}}},{"name":"setupLog","kind":13,"range":{"start":{"line":42,"character":1},"end":{"line":42,"character":38}},"selectionRange":{"start":{"line":42,"character":1},"end":{"line":42,"character":9}}},{"name":"init","detail":"func()","kind":12,"range":{"start":{"line":45,"character":0},"end":{"line":49,"character":1}},"selectionRange":{"start":{"line":45,"character":5},"end":{"line":45,"character":9}}},{"name":"main","detail":"func()","kind":12,"range":{"start":{"line":51,"character":0},"end":{"line":138,"character":1}},"selectionRange":{"start":{"line":51,"character":5},"end":{"line":51,"character":9}}}]
[Trace - 15:25:04.066 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go","type":2}]}
[Trace - 15:25:04.079 PM] Sending request 'textDocument/codeLens - (78)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:04.079 PM] Received response 'textDocument/codeLens - (78)' in 0ms.
Result: null
[Trace - 15:25:04.095 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go","version":6,"diagnostics":[]}
[Trace - 15:25:04.151 PM] Sending request 'textDocument/semanticTokens/full - (79)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Error - Received] 15:25:04.152 PM golang/vscode-go#79 semantictokens are disabled
[Error - 3:25:04 PM] Request textDocument/semanticTokens/full failed.
Message: semantictokens are disabled
Code: 0
[Trace - 15:25:04.228 PM] Sending request 'textDocument/documentSymbol - (80)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:04.228 PM] Received response 'textDocument/documentSymbol - (80)' in 0ms.
Result: [{"name":"scheme","kind":13,"range":{"start":{"line":41,"character":1},"end":{"line":41,"character":31}},"selectionRange":{"start":{"line":41,"character":1},"end":{"line":41,"character":7}}},{"name":"setupLog","kind":13,"range":{"start":{"line":42,"character":1},"end":{"line":42,"character":38}},"selectionRange":{"start":{"line":42,"character":1},"end":{"line":42,"character":9}}},{"name":"init","detail":"func()","kind":12,"range":{"start":{"line":45,"character":0},"end":{"line":49,"character":1}},"selectionRange":{"start":{"line":45,"character":5},"end":{"line":45,"character":9}}},{"name":"main","detail":"func()","kind":12,"range":{"start":{"line":51,"character":0},"end":{"line":138,"character":1}},"selectionRange":{"start":{"line":51,"character":5},"end":{"line":51,"character":9}}}]
[Trace - 15:25:04.954 PM] Sending request 'textDocument/inlayHint - (81)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":93,"character":0}}}
[Trace - 15:25:04.955 PM] Received response 'textDocument/inlayHint - (81)' in 0ms.
Result: null
[Trace - 15:25:05.203 PM] Sending request 'textDocument/documentLink - (82)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:05.207 PM] Received response 'textDocument/documentLink - (82)' in 3ms.
Result: [{"range":{"start":{"line":22,"character":4},"end":{"line":22,"character":43}},"target":"https://pkg.go.dev/k8s.io/client-go@v0.29.0/plugin/pkg/client/auth"},{"range":{"start":{"line":24,"character":2},"end":{"line":24,"character":33}},"target":"https://pkg.go.dev/k8s.io/apimachinery@v0.29.0/pkg/runtime"},{"range":{"start":{"line":25,"character":14},"end":{"line":25,"character":50}},"target":"https://pkg.go.dev/k8s.io/apimachinery@v0.29.0/pkg/util/runtime"},{"range":{"start":{"line":26,"character":17},"end":{"line":26,"character":51}},"target":"https://pkg.go.dev/k8s.io/client-go@v0.29.0/kubernetes/scheme"},{"range":{"start":{"line":27,"character":7},"end":{"line":27,"character":37}},"target":"https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.2"},{"range":{"start":{"line":28,"character":2},"end":{"line":28,"character":44}},"target":"https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.2/pkg/healthz"},{"range":{"start":{"line":29,"character":2},"end":{"line":29,"character":44}},"target":"https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.2/pkg/log/zap"},{"range":{"start":{"line":30,"character":16},"end":{"line":30,"character":65}},"target":"https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.2/pkg/metrics/server"},{"range":{"start":{"line":31,"character":2},"end":{"line":31,"character":44}},"target":"https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.2/pkg/webhook"},{"range":{"start":{"line":35,"character":2},"end":{"line":35,"character":12}},"target":"https://pkg.go.dev/crypto/tls"},{"range":{"start":{"line":36,"character":2},"end":{"line":36,"character":6}},"target":"https://pkg.go.dev/flag"},{"range":{"start":{"line":37,"character":2},"end":{"line":37,"character":4}},"target":"https://pkg.go.dev/os"},{"range":{"start":{"line":104,"character":27},"end":{"line":104,"character":38}},"target":"https://ecaf1259.my"},{"range":{"start":{"line":7,"character":4},"end":{"line":7,"character":46}},"target":"http://www.apache.org/licenses/LICENSE-2.0"},{"range":{"start":{"line":78,"character":6},"end":{"line":78,"character":55}},"target":"https://github.com/advisories/GHSA-qppj-fm5r-hxr3"},{"range":{"start":{"line":79,"character":6},"end":{"line":79,"character":55}},"target":"https://github.com/advisories/GHSA-4374-p667-p6c8"}]
[Trace - 15:25:06.190 PM] Sending request 'textDocument/hover - (83)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"position":{"line":33,"character":25}}
[Trace - 15:25:06.191 PM] Received response 'textDocument/hover - (83)' in 0ms.
Result: null
[Trace - 15:25:06.424 PM] Sending request 'textDocument/inlayHint - (84)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":107,"character":47}}}
[Trace - 15:25:06.424 PM] Received response 'textDocument/inlayHint - (84)' in 0ms.
Result: null
[Trace - 15:25:06.536 PM] Sending request 'textDocument/semanticTokens/range - (85)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":77,"character":47}}}
[Error - Received] 15:25:06.536 PM golang/vscode-go#85 semantictokens are disabled
[Error - 3:25:06 PM] Request textDocument/semanticTokens/range failed.
Message: semantictokens are disabled
Code: 0
[Trace - 15:25:07.175 PM] Sending request 'textDocument/codeAction - (86)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":39,"character":0},"end":{"line":39,"character":0}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:25:07.176 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:07 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Trace - 15:25:07.177 PM] Received response 'textDocument/codeAction - (86)' in 1ms.
Result: null
[Info - 3:25:07 PM] 2024/04/12 15:25:07 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:25:16.627 PM] Sending request 'textDocument/documentHighlight - (87)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"position":{"line":30,"character":31}}
[Trace - 15:25:16.628 PM] Received response 'textDocument/documentHighlight - (87)' in 0ms.
Result: [{"range":{"start":{"line":30,"character":1},"end":{"line":30,"character":66}},"kind":1},{"range":{"start":{"line":96,"character":11},"end":{"line":96,"character":24}},"kind":1}]
[Trace - 15:25:16.879 PM] Sending request 'textDocument/codeAction - (88)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":30,"character":31},"end":{"line":30,"character":31}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:25:16.880 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:16 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Trace - 15:25:16.881 PM] Received response 'textDocument/codeAction - (88)' in 1ms.
Result: [{"title":"Convert to raw string literal","kind":"refactor.rewrite","edit":{"documentChanges":[{"textDocument":{"version":6,"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"edits":[{"range":{"start":{"line":30,"character":15},"end":{"line":30,"character":66}},"newText":"`sigs.k8s.io/controller-runtime/pkg/metrics/server`"}]}]}}]
[Info - 3:25:16 PM] 2024/04/12 15:25:16 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:25:17.002 PM] Sending request 'textDocument/codeLens - (89)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:17.003 PM] Received response 'textDocument/codeLens - (89)' in 0ms.
Result: null
[Trace - 15:25:17.338 PM] Sending request 'textDocument/codeAction - (90)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":34,"character":0},"end":{"line":34,"character":0}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:25:17.339 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:17 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Trace - 15:25:17.340 PM] Received response 'textDocument/codeAction - (90)' in 2ms.
Result: null
[Info - 3:25:17 PM] 2024/04/12 15:25:17 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:25:17.915 PM] Sending request 'textDocument/codeAction - (91)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":35,"character":0},"end":{"line":35,"character":0}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:25:17.917 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:17 fixImports(filename=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\"), abs=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go\", srcDir=\"/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd\" ...\n"}
[Trace - 15:25:17.917 PM] Received response 'textDocument/codeAction - (91)' in 2ms.
Result: null
[Info - 3:25:17 PM] 2024/04/12 15:25:17 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:25:18.085 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:18 scanning /Users/[removed]/go/pkg/mod\n"}
[Trace - 15:25:18.085 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:18 Directory added to ignore list: /Users/[removed]/go/pkg/mod/cache\n"}
[Info - 3:25:18 PM] 2024/04/12 15:25:18 scanning /Users/[removed]/go/pkg/mod
[Info - 3:25:18 PM] 2024/04/12 15:25:18 Directory added to ignore list: /Users/[removed]/go/pkg/mod/cache
[Trace - 15:25:18.114 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:18 27.992792ms for GOROOT=/opt/homebrew/Cellar/go/1.22.2/libexec GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=[removed],direct PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -mod=readonly -m -f \"{{.Path}}\\n{{.Dir}}\\n{{.GoMod}}\\n{{.GoVersion}}\\n{{range context.ReleaseTags}}{{if eq . \\\"go1.14\\\"}}{{.}}{{end}}{{end}}\\n\"\n"}
[Info - 3:25:18 PM] 2024/04/12 15:25:18 27.992792ms for GOROOT=/opt/homebrew/Cellar/go/1.22.2/libexec GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=[removed],direct PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -mod=readonly -m -f "{{.Path}}\n{{.Dir}}\n{{.GoMod}}\n{{.GoVersion}}\n{{range context.ReleaseTags}}{{if eq . \"go1.14\"}}{{.}}{{end}}{{end}}\n"
[Trace - 15:25:18.124 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:18 10.549583ms for GOROOT=/opt/homebrew/Cellar/go/1.22.2/libexec GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=[removed],direct PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go env GOFLAGS\n"}
[Info - 3:25:18 PM] 2024/04/12 15:25:18 10.549583ms for GOROOT=/opt/homebrew/Cellar/go/1.22.2/libexec GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=[removed],direct PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go env GOFLAGS
[Trace - 15:25:18.421 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:18 scanned /Users/[removed]/go/pkg/mod in 336.369667ms\n"}
[Info - 3:25:18 PM] 2024/04/12 15:25:18 scanned /Users/[removed]/go/pkg/mod in 336.369667ms
[Trace - 15:25:18.862 PM] Sending request 'textDocument/codeAction - (92)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":33,"character":0},"end":{"line":33,"character":0}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:25:19.509 PM] Sending request 'textDocument/codeAction - (93)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":34,"character":0},"end":{"line":34,"character":0}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:25:19.509 PM] Sending notification '$/cancelRequest'.
Params: {"id":92}
[Trace - 15:25:19.838 PM] Sending request 'textDocument/codeAction - (94)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":35,"character":0},"end":{"line":35,"character":0}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:25:19.839 PM] Sending notification '$/cancelRequest'.
Params: {"id":93}
[Trace - 15:25:20.730 PM] Sending notification 'textDocument/didChange'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go","version":7},"contentChanges":[{"range":{"start":{"line":35,"character":0},"end":{"line":38,"character":0}},"rangeLength":28,"text":""}]}
[Trace - 15:25:20.730 PM] Sending notification '$/cancelRequest'.
Params: {"id":94}
[Trace - 15:25:20.887 PM] Sending request 'textDocument/semanticTokens/range - (95)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":77,"character":38}}}
[Trace - 15:25:20.988 PM] Sending request 'textDocument/codeAction - (96)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":35,"character":0},"end":{"line":35,"character":0}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:25:21.035 PM] Sending request 'textDocument/foldingRange - (97)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:21.085 PM] Sending request 'textDocument/documentSymbol - (98)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:21.107 PM] Sending request 'textDocument/codeLens - (99)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:21.182 PM] Sending request 'textDocument/semanticTokens/full - (100)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:21.257 PM] Sending request 'textDocument/documentSymbol - (101)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:21.442 PM] Sending request 'textDocument/inlayHint - (102)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":82,"character":23}}}
[Trace - 15:25:21.555 PM] Sending request 'textDocument/semanticTokens/range - (103)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":52,"character":23}}}
[Trace - 15:25:22.236 PM] Sending request 'textDocument/documentLink - (104)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:22.502 PM] Sending request 'textDocument/codeAction - (105)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":18,"character":7},"end":{"line":18,"character":7}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:25:22.503 PM] Sending notification '$/cancelRequest'.
Params: {"id":96}
[Trace - 15:25:22.560 PM] Sending notification 'textDocument/didChange'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go","version":8},"contentChanges":[{"range":{"start":{"line":18,"character":8},"end":{"line":18,"character":8}},"rangeLength":0,"text":"\n\t\"crypto/tls\"\n\t\"flag\"\n\t\"os\""}]}
[Trace - 15:25:22.561 PM] Sending notification '$/cancelRequest'.
Params: {"id":105}
[Trace - 15:25:22.562 PM] Sending notification '$/cancelRequest'.
Params: {"id":95}
[Trace - 15:25:22.563 PM] Sending notification '$/cancelRequest'.
Params: {"id":103}
[Trace - 15:25:22.563 PM] Sending notification '$/cancelRequest'.
Params: {"id":97}
[Trace - 15:25:22.563 PM] Sending notification '$/cancelRequest'.
Params: {"id":102}
[Trace - 15:25:22.611 PM] Sending notification '$/cancelRequest'.
Params: {"id":98}
[Trace - 15:25:22.713 PM] Sending request 'textDocument/semanticTokens/range - (106)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":52,"character":23}}}
[Trace - 15:25:22.813 PM] Sending request 'textDocument/codeAction - (107)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":19,"character":1},"end":{"line":19,"character":1}},"context":{"diagnostics":[],"triggerKind":2}}
[Trace - 15:25:22.866 PM] Sending request 'textDocument/foldingRange - (108)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:22.917 PM] Sending request 'textDocument/documentSymbol - (109)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:22.939 PM] Sending notification '$/cancelRequest'.
Params: {"id":99}
[Trace - 15:25:22.939 PM] Sending request 'textDocument/codeLens - (110)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:23.086 PM] Sending notification '$/cancelRequest'.
Params: {"id":101}
[Trace - 15:25:23.086 PM] Sending request 'textDocument/documentSymbol - (111)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:23.567 PM] Sending request 'textDocument/codeAction - (112)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":139,"character":0}},"context":{"diagnostics":[],"only":["source.organizeImports"],"triggerKind":2}}
[Trace - 15:25:23.817 PM] Sending request 'textDocument/inlayHint - (113)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":82,"character":23}}}
[Trace - 15:25:24.064 PM] Sending request 'textDocument/documentLink - (114)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"}}
[Trace - 15:25:26.697 PM] Sending notification '$/cancelRequest'.
Params: {"id":113}
[Trace - 15:25:26.697 PM] Sending request 'textDocument/inlayHint - (115)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":85,"character":23}}}
[Trace - 15:25:26.742 PM] Sending request 'textDocument/inlayHint - (116)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":88,"character":2}}}
[Trace - 15:25:26.860 PM] Sending notification '$/cancelRequest'.
Params: {"id":116}
[Trace - 15:25:26.860 PM] Sending request 'textDocument/inlayHint - (117)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":91,"character":19}}}
[Trace - 15:25:26.973 PM] Sending request 'textDocument/semanticTokens/range - (118)'.
Params: {"textDocument":{"uri":"file:///Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":61,"character":76}}}
Timed out in state WaitingForInfo. Closing.
(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)
Sorry, this is definitely not waiting for info. Apologies that this languished for so long: the team has been very busy with the freeze, and apparently this has tab has been open in my browser for time WaitingForInfo timeout period....
Looks like the server was fine until around request 92 and then got stuck:
xtools$ grep /codeAction /tmp/log
[Trace - 15:24:48.083 PM] Sending request 'textDocument/codeAction - (1)'.
[Trace - 15:24:48.086 PM] Received response 'textDocument/codeAction - (1)' in 3ms.
[Trace - 15:24:48.334 PM] Sending request 'textDocument/codeAction - (6)'.
[Trace - 15:24:48.334 PM] Received response 'textDocument/codeAction - (6)' in 0ms.
[Trace - 15:24:48.999 PM] Sending request 'textDocument/codeAction - (10)'.
[Trace - 15:24:49.002 PM] Received response 'textDocument/codeAction - (10)' in 2ms.
[Trace - 15:24:52.222 PM] Sending request 'textDocument/codeAction - (20)'.
[Trace - 15:24:52.223 PM] Received response 'textDocument/codeAction - (20)' in 1ms.
[Trace - 15:24:52.960 PM] Sending request 'textDocument/codeAction - (23)'.
[Trace - 15:24:52.961 PM] Received response 'textDocument/codeAction - (23)' in 0ms.
[Trace - 15:24:53.459 PM] Sending request 'textDocument/codeAction - (24)'.
[Trace - 15:24:53.460 PM] Received response 'textDocument/codeAction - (24)' in 1ms.
[Trace - 15:24:54.242 PM] Sending request 'textDocument/codeAction - (28)'.
[Trace - 15:24:54.244 PM] Received response 'textDocument/codeAction - (28)' in 1ms.
[Trace - 15:24:54.499 PM] Sending request 'textDocument/codeAction - (30)'.
[Trace - 15:24:54.501 PM] Received response 'textDocument/codeAction - (30)' in 1ms.
[Trace - 15:24:54.754 PM] Sending request 'textDocument/codeAction - (31)'.
[Trace - 15:24:54.755 PM] Received response 'textDocument/codeAction - (31)' in 1ms.
[Trace - 15:24:55.242 PM] Sending request 'textDocument/codeAction - (33)'.
[Trace - 15:24:55.243 PM] Received response 'textDocument/codeAction - (33)' in 1ms.
[Trace - 15:24:55.532 PM] Sending request 'textDocument/codeAction - (35)'.
[Trace - 15:24:55.533 PM] Received response 'textDocument/codeAction - (35)' in 1ms.
[Trace - 15:24:56.917 PM] Sending request 'textDocument/codeAction - (40)'.
[Trace - 15:24:56.918 PM] Received response 'textDocument/codeAction - (40)' in 1ms.
[Trace - 15:24:57.263 PM] Sending request 'textDocument/codeAction - (42)'.
[Trace - 15:24:57.264 PM] Received response 'textDocument/codeAction - (42)' in 1ms.
[Trace - 15:24:58.364 PM] Sending request 'textDocument/codeAction - (43)'.
[Trace - 15:24:58.365 PM] Received response 'textDocument/codeAction - (43)' in 1ms.
[Trace - 15:25:01.129 PM] Sending request 'textDocument/codeAction - (52)'.
[Trace - 15:25:01.142 PM] Received response 'textDocument/codeAction - (52)' in 13ms.
[Trace - 15:25:01.532 PM] Sending request 'textDocument/codeAction - (54)'.
[Trace - 15:25:01.969 PM] Received response 'textDocument/codeAction - (54)' in 437ms.
[Trace - 15:25:02.118 PM] Sending request 'textDocument/codeAction - (60)'.
[Trace - 15:25:02.119 PM] Received response 'textDocument/codeAction - (60)' in 1ms.
[Trace - 15:25:03.189 PM] Sending request 'textDocument/codeAction - (67)'.
[Trace - 15:25:03.189 PM] Received response 'textDocument/codeAction - (67)' in 0ms.
[Trace - 15:25:03.695 PM] Sending request 'textDocument/codeAction - (73)'.
[Trace - 15:25:03.696 PM] Received response 'textDocument/codeAction - (73)' in 1ms.
[Trace - 15:25:03.957 PM] Sending request 'textDocument/codeAction - (75)'.
[Trace - 15:25:03.958 PM] Received response 'textDocument/codeAction - (75)' in 0ms.
[Trace - 15:25:07.175 PM] Sending request 'textDocument/codeAction - (86)'.
[Trace - 15:25:07.177 PM] Received response 'textDocument/codeAction - (86)' in 1ms.
[Trace - 15:25:16.879 PM] Sending request 'textDocument/codeAction - (88)'.
[Trace - 15:25:16.881 PM] Received response 'textDocument/codeAction - (88)' in 1ms.
[Trace - 15:25:17.338 PM] Sending request 'textDocument/codeAction - (90)'.
[Trace - 15:25:17.340 PM] Received response 'textDocument/codeAction - (90)' in 2ms.
[Trace - 15:25:17.915 PM] Sending request 'textDocument/codeAction - (91)'.
[Trace - 15:25:17.917 PM] Received response 'textDocument/codeAction - (91)' in 2ms.
[Trace - 15:25:18.862 PM] Sending request 'textDocument/codeAction - (92)'.
[Trace - 15:25:19.509 PM] Sending request 'textDocument/codeAction - (93)'.
[Trace - 15:25:19.838 PM] Sending request 'textDocument/codeAction - (94)'.
[Trace - 15:25:20.988 PM] Sending request 'textDocument/codeAction - (96)'.
[Trace - 15:25:22.502 PM] Sending request 'textDocument/codeAction - (105)'.
[Trace - 15:25:22.813 PM] Sending request 'textDocument/codeAction - (107)'.
[Trace - 15:25:23.567 PM] Sending request 'textDocument/codeAction - (112)'.
xtools$
Between 91 and 92 we see these events, indicating that gopls scanned go/pkg/mod, apparently successfully:
[Info - 3:25:17 PM] 2024/04/12 15:25:17 fixImports(filename="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go"), abs="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd/main.go", srcDir="/Users/[removed]/Code/scratch/kubebuilder-experiments/golog/cmd" ...
[Trace - 15:25:18.085 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:18 scanning /Users/[removed]/go/pkg/mod\n"}
[Trace - 15:25:18.085 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:18 Directory added to ignore list: /Users/[removed]/go/pkg/mod/cache\n"}
[Info - 3:25:18 PM] 2024/04/12 15:25:18 scanning /Users/[removed]/go/pkg/mod
[Info - 3:25:18 PM] 2024/04/12 15:25:18 Directory added to ignore list: /Users/[removed]/go/pkg/mod/cache
[Trace - 15:25:18.114 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:18 27.992792ms for GOROOT=/opt/homebrew/Cellar/go/1.22.2/libexec GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=[removed],direct PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -mod=readonly -m -f \"{{.Path}}\\n{{.Dir}}\\n{{.GoMod}}\\n{{.GoVersion}}\\n{{range context.ReleaseTags}}{{if eq . \\\"go1.14\\\"}}{{.}}{{end}}{{end}}\\n\"\n"}
[Info - 3:25:18 PM] 2024/04/12 15:25:18 27.992792ms for GOROOT=/opt/homebrew/Cellar/go/1.22.2/libexec GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=[removed],direct PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go list -mod=readonly -m -f "{{.Path}}\n{{.Dir}}\n{{.GoMod}}\n{{.GoVersion}}\n{{range context.ReleaseTags}}{{if eq . \"go1.14\"}}{{.}}{{end}}{{end}}\n"
[Trace - 15:25:18.124 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:18 10.549583ms for GOROOT=/opt/homebrew/Cellar/go/1.22.2/libexec GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=[removed],direct PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go env GOFLAGS\n"}
[Info - 3:25:18 PM] 2024/04/12 15:25:18 10.549583ms for GOROOT=/opt/homebrew/Cellar/go/1.22.2/libexec GOPATH=/Users/[removed]/go GO111MODULE=auto GOPROXY=[removed],direct PWD=/Users/[removed]/Code/scratch/kubebuilder-experiments/golog go env GOFLAGS
[Trace - 15:25:18.421 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/04/12 15:25:18 scanned /Users/[removed]/go/pkg/mod in 336.369667ms\n"}
[Info - 3:25:18 PM] 2024/04/12 15:25:18 scanned /Users/[removed]/go/pkg/mod in 336.369667ms
But after this point, not only codeAction requests, but all requests including semanticTokens (e.g. 95), foldingRange (97), documentSymbol (98), and codeLens (99), all start hanging; no further responses are observed. My guess is Session.SnapshotOf is stuck, but how I do not know.
Thanks @adonovan for investigating. I'll see if I can figure out how it gets stuck.
Sorry this took so long to get to, @akgerber and @williambao.
Between 91 and 92 we see these events, indicating that gopls scanned go/pkg/mod, apparently successfully:
That's actually the background module cache refresh completing. This refresh only populates directories; it does not load exports. The timing is suspicious. Perhaps the the problem may be that the newly scanned module cache simply takes a while to process. Possibly related: I see that imports fixing is not cancellable, which is wrong. I'll fix that.
A knock against this theory is that it looks like the unresolved imports are 'os', 'tls', and 'flag', all of which should be satisfied by standard library packages... so in that case you shouldn't even get to the module cache, and even if you did, gopls should only be considering packages with those package names, of which there should be few.
Of course, it could be a deadlock, but I've hunted for deadlocks for around an hour and not found any obvious candidates.
@akgerber @williambao I wonder if gopls ever gets 'unstuck' when it gets into this phase, for example after a minute or two.
If this is reliably reproducible, I can create a patched version of gopls that helps us debug.
Change https://go.dev/cl/589975 mentions this issue: internal/imports: FixImports should be cancellable
Another thing to try is go clean -modcache
. I would be curious if the issue reproduces with an empty module cache.
Change https://go.dev/cl/590377 mentions this issue: gopls/internal/cache: fix module resolver cache refreshing
I dug into this quite a bit yesterday, and while I don't fully understand what's going on, I have some theories.
The logs show the module cache being refreshed here: https://cs.opensource.google/go/x/tools/+/refs/tags/gopls/v0.15.3:gopls/internal/cache/imports.go;l=198;drc=6d4ccf2ad683b5263e582762e1c41de6d0572e4f
Furthermore, they show go env GOFLAGS
being invoked, which seems to only be run from checking if vendoring is enabled here:
https://cs.opensource.google/go/x/tools/+/refs/tags/gopls/v0.15.3:internal/imports/mod.go;l=122;drc=5a4dc7e3310740e1b8aa0019ce093152dfdd4270
Which suggests that gopls is running GetResolver here: https://cs.opensource.google/go/x/tools/+/refs/tags/gopls/v0.15.3:gopls/internal/cache/imports.go;l=210;drc=6d4ccf2ad683b5263e582762e1c41de6d0572e4f
Yet we never see the log message here: https://cs.opensource.google/go/x/tools/+/refs/tags/gopls/v0.15.3:gopls/internal/cache/imports.go;l=216;drc=6d4ccf2ad683b5263e582762e1c41de6d0572e4f
Therefore, gopls is hanging in GetResolver. This may be due to the call to go list -m -e -json ...
called from initAllMods. However, I'm surprised that this would be so slow -- in general, go list -m
should be fast.
I've added additional logging to get more information. If folks experiencing this problem could try again, I'd appreciate it.
Additionally, I've made the following mitigations:
I need more information to diagnose at this point, so moving to the v0.17.0 milestone.
I think, longer term, we should just rewrite this aspect of goimports entirely, so that the import logic can use gopls' own view of the module and its dependencies. That is probably a better fix than tracking down this bug in the very complicated goimports codebase.
@pjweinb is in the process of rewriting our goimports integration. I think we can wait for that to address this class of issue. Bumping to v0.18.0.
Recently, vscode has become unable to save files normally. Every time I try to save the file, there are will popup a dialog shown in the video below , and will not disappeared.
Saving 'xxx.go': Getting code actions from "Go"
https://github.com/golang/vscode-go/assets/779521/6e243ff7-565a-4d31-a722-f1c1a7bc118c
I have tried restarting and reinstalling vscode. but failed to fix the problem.
What version of Go, VS Code & VS Code Go extension are you using?
Version Information
* Run `go version` to get version of Go from _the VS Code integrated terminal_. - go version go1.22.1 darwin/arm64 * Run `gopls -v version` to get version of Gopls from _the VS Code integrated terminal_. - golang.org/x/tools/gopls v0.15.2 * Run `code -v` or `code-insiders -v` to get version of VS Code or VS Code Insiders. - 1.87.2 arm64 * Check your installed extensions to get the version of the VS Code Go extension -