2022/09/09 13:54:52 provider_schema.go:265: PSS: getting provider schema (/Users/homedir/Documents/work/files/development/terraform-live/bt-tf-l-project/us-east-1/qa/services/srv-bastion, terraform.io/builtin/terraform, ) fatal error: concurrent map writes goroutine 577 [running]: github.com/hashicorp/terraform-schema/schema.(*SchemaMerger).SchemaForModule(0x140756b3d28, 0x140756b3d58) github.com/hashicorp/terraform-schema@v0.0.0-20220831151855-0778c5b26686/schema/schema_merge.go:151 +0x1bd8 github.com/hashicorp/terraform-ls/internal/decoder.schemaForModule(0x14029000780, {0x1015dde20?, 0x1400088d740}, {0x12aad84c0?, 0x14000142380}) github.com/hashicorp/terraform-ls/internal/decoder/module_schema.go:27 +0x114 github.com/hashicorp/terraform-ls/internal/decoder.modulePathContext(0x14029000780, {0x1015dde20, 0x1400088d740}, {0x1015e3160?, 0x14000142380}) github.com/hashicorp/terraform-ls/internal/decoder/decoder.go:19 +0x5c github.com/hashicorp/terraform-ls/internal/decoder.(*PathReader).PathContext(0x1400088d820, {{0x14028df5c07?, 0x2?}, {0x100e1b6b3?, 0x8?}}) github.com/hashicorp/terraform-ls/internal/decoder/path_reader.go:74 +0x118 github.com/hashicorp/terraform-ls/internal/codelens.ReferenceCount.func1({0x1015e1e60, 0x1407285ed80}, {{0x14019ab8467?, 0x1019c66e8?}, {0x140183e5430?, 0x1400088d820?}}, {0x1400dca8471, 0x7}) github.com/hashicorp/terraform-ls/internal/codelens/reference_count.go:59 +0x65c github.com/hashicorp/hcl-lang/decoder.(*Decoder).CodeLensesForFile(0x140008945a0, {0x1015e1e60, 0x1406fab0c60}, {{0x14019ab8467?, 0x1405d3b8ad8?}, {0x140183e5430?, 0x12?}}, {0x1400dca8471, 0x7}) github.com/hashicorp/hcl-lang@v0.0.0-20220823151539-1fce4f11c137/decoder/code_lens.go:27 +0x194 github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).TextDocumentCodeLens(0x14000818000, {0x1015e1e60, 0x1406fab0c60}, {{{0x140603a4700, 0x78}}, {{0x0, 0x0}}, {{0x0, 0x0}}}) github.com/hashicorp/terraform-ls/internal/langserver/handlers/code_lens.go:25 +0xf4 reflect.Value.call({0x101532a80?, 0x1406fabec10?, 0x1405d3b94b8?}, {0x100e18ad6, 0x4}, {0x1406fab0d20, 0x2, 0x100dfae38?}) reflect/value.go:584 +0x688 reflect.Value.Call({0x101532a80?, 0x1406fabec10?, 0x101575cc0?}, {0x1406fab0d20?, 0x1406fabec10?, 0x1406fab86c0?}) reflect/value.go:368 +0x90 github.com/creachadair/jrpc2/handler.(*FuncInfo).Wrap.func8({0x1015e1e60?, 0x1406fab0c60?}, 0x101c6ab38?) github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:236 +0x12c github.com/creachadair/jrpc2/handler.Func.Handle(...) github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:25 github.com/hashicorp/terraform-ls/internal/langserver/handlers.handle({0x1015e1e60, 0x1406fab0c60}, 0x10153cf00?, {0x101532a80?, 0x1406fabec10?}) github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:585 +0x58 github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).Assigner.func14({0x1015e1e60?, 0x1406fab0c00?}, 0x2?) github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:263 +0x104 reflect.Value.call({0x101553fc0?, 0x140008100c0?, 0x1405d3b9d28?}, {0x100e18ad6, 0x4}, {0x1406fab0c30, 0x2, 0xc8?}) reflect/value.go:584 +0x688 reflect.Value.Call({0x101553fc0?, 0x140008100c0?, 0x1406fab0c00?}, {0x1406fab0c30?, 0x10157d420?, 0x1406fabc5c0?}) reflect/value.go:368 +0x90 github.com/creachadair/jrpc2/handler.(*FuncInfo).Wrap.func8({0x1015e1e60?, 0x1406fab0c00?}, 0x1015315e0?) github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:236 +0x12c github.com/creachadair/jrpc2/handler.Func.Handle(0x14000812000?, {0x1015e1e60?, 0x1406fab0c00?}, 0x1406fabc5c0?) github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:25 +0x38 github.com/creachadair/jrpc2.(*Server).invoke(0x140000fe1c0, {0x1015e1db8?, 0x1406fabc600?}, {0x1015deae0, 0x14000810260}, 0x1406fabc5c0) github.com/creachadair/jrpc2@v0.41.1/server.go:355 +0x100 github.com/creachadair/jrpc2.(*Server).dispatch.func1() github.com/creachadair/jrpc2@v0.41.1/server.go:227 +0x16c github.com/creachadair/jrpc2.(*Server).serve.func1() github.com/creachadair/jrpc2@v0.41.1/server.go:149 +0x58 created by github.com/creachadair/jrpc2.(*Server).serve github.com/creachadair/jrpc2@v0.41.1/server.go:147 +0x24 goroutine 1 [chan receive, 2 minutes]: github.com/hashicorp/terraform-ls/internal/langserver.(*langServer).StartAndWait(0x1400007cb10, {0x1015de3c0?, 0x1400000e010?}, {0x1015e0688?, 0x1400000e018?}) github.com/hashicorp/terraform-ls/internal/langserver/langserver.go:106 +0x13c github.com/hashicorp/terraform-ls/internal/cmd.(*ServeCommand).Run(0x140000b6000, {0x1400001e050, 0x0, 0x0}) github.com/hashicorp/terraform-ls/internal/cmd/serve_command.go:120 +0x6f0 github.com/mitchellh/cli.(*CLI).Run(0x140000be000) github.com/mitchellh/cli@v1.1.4/cli.go:262 +0x4a8 main.main() github.com/hashicorp/terraform-ls/main.go:51 +0x4b0 goroutine 23 [syscall, 2 minutes]: os/signal.signal_recv() runtime/sigqueue.go:149 +0x2c os/signal.loop() os/signal/signal_unix.go:23 +0x1c created by os/signal.Notify.func1.1 os/signal/signal.go:151 +0x2c goroutine 33 [select, 2 minutes]: github.com/hashicorp/terraform-ls/internal/context.WithSignalCancel.func1() github.com/hashicorp/terraform-ls/internal/context/signal_cancel.go:18 +0x80 created by github.com/hashicorp/terraform-ls/internal/context.WithSignalCancel github.com/hashicorp/terraform-ls/internal/context/signal_cancel.go:17 +0x110 goroutine 34 [syscall, 2 minutes]: syscall.syscall(0x14000079ab8?, 0x100946afc?, 0x800000?, 0x7ffff800000?) runtime/sys_darwin.go:22 +0x54 syscall.read(0x14000072060?, {0x1400080f000?, 0x140007eeea0?, 0x300000002?}) syscall/zsyscall_darwin_arm64.go:1189 +0x48 syscall.Read(...) syscall/syscall_unix.go:183 internal/poll.ignoringEINTRIO(...) internal/poll/fd_unix.go:794 internal/poll.(*FD).Read(0x14000072060?, {0x1400080f000?, 0x1000?, 0x1000?}) internal/poll/fd_unix.go:163 +0x204 os.(*File).read(...) os/file_posix.go:31 os.(*File).Read(0x1400000e010, {0x1400080f000?, 0x14000079bd8?, 0x100948758?}) os/file.go:118 +0x5c bufio.(*Reader).fill(0x1400081c960) bufio/bufio.go:106 +0xfc bufio.(*Reader).ReadSlice(0x1400081c960, 0x4c?) bufio/bufio.go:372 +0x30 bufio.(*Reader).collectFragments(0x14000079d18?, 0xe4?) bufio/bufio.go:447 +0x5c bufio.(*Reader).ReadString(0x5004?, 0x40?) bufio/bufio.go:495 +0x20 github.com/creachadair/jrpc2/channel.(*hdr).Recv(0x1400081c9c0) github.com/creachadair/jrpc2@v0.41.1/channel/hdr.go:100 +0x68 github.com/creachadair/jrpc2/channel.opthdr.Recv({0x100e35d00?}) github.com/creachadair/jrpc2@v0.41.1/channel/hdr.go:170 +0x1c github.com/creachadair/jrpc2.(*Server).read(0x140000fe1c0, {0x101d39ad8, 0x1400081c9c0}) github.com/creachadair/jrpc2@v0.41.1/server.go:613 +0x48 github.com/creachadair/jrpc2.(*Server).Start.func1() github.com/creachadair/jrpc2@v0.41.1/server.go:116 +0x78 created by github.com/creachadair/jrpc2.(*Server).Start github.com/creachadair/jrpc2@v0.41.1/server.go:116 +0x2e8 goroutine 35 [chan receive]: github.com/creachadair/jrpc2.(*Server).nextRequest(0x140000fe1c0) github.com/creachadair/jrpc2@v0.41.1/server.go:172 +0x158 github.com/creachadair/jrpc2.(*Server).serve(0x140000fe1c0) github.com/creachadair/jrpc2@v0.41.1/server.go:141 +0x2c github.com/creachadair/jrpc2.(*Server).Start.func2() github.com/creachadair/jrpc2@v0.41.1/server.go:119 +0x50 created by github.com/creachadair/jrpc2.(*Server).Start github.com/creachadair/jrpc2@v0.41.1/server.go:119 +0x32c goroutine 36 [semacquire, 2 minutes]: sync.runtime_Semacquire(0x0?) runtime/sema.go:62 +0x28 sync.(*WaitGroup).Wait(0x140000fe1c0) sync/waitgroup.go:139 +0x80 github.com/creachadair/jrpc2.(*Server).WaitStatus(0x140000fe1c0) github.com/creachadair/jrpc2@v0.41.1/server.go:532 +0x24 github.com/hashicorp/terraform-ls/internal/langserver.(*singleServer).Wait(0x14000068970) github.com/hashicorp/terraform-ls/internal/langserver/langserver.go:181 +0x28 github.com/hashicorp/terraform-ls/internal/langserver.(*langServer).StartAndWait.func1() github.com/hashicorp/terraform-ls/internal/langserver/langserver.go:101 +0x28 created by github.com/hashicorp/terraform-ls/internal/langserver.(*langServer).StartAndWait github.com/hashicorp/terraform-ls/internal/langserver/langserver.go:100 +0x124 goroutine 50 [chan receive, 2 minutes]: github.com/hashicorp/terraform-ls/internal/langserver/diagnostics.(*Notifier).notify(0x14000112270) github.com/hashicorp/terraform-ls/internal/langserver/diagnostics/diagnostics.go:73 +0x50 created by github.com/hashicorp/terraform-ls/internal/langserver/diagnostics.NewNotifier github.com/hashicorp/terraform-ls/internal/langserver/diagnostics/diagnostics.go:42 +0x104 goroutine 51 [semacquire]: sync.runtime_Semacquire(0x140009031e0?) runtime/sema.go:62 +0x28 sync.(*WaitGroup).Wait(0x14032c630d0) sync/waitgroup.go:139 +0x80 github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmd(0x14032c50b60, {0x1015e1e28, 0x1404a579bc0}, 0x140339998c0) github.com/hashicorp/terraform-exec@v0.17.3/tfexec/cmd_default.go:66 +0x3c0 github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmdJSON(0x14032c50b60?, {0x1015e1e28, 0x1404a579bc0}, 0x140339998c0, {0x101540e60, 0x140326b6eb8}) github.com/hashicorp/terraform-exec@v0.17.3/tfexec/cmd.go:197 +0xc4 github.com/hashicorp/terraform-exec/tfexec.(*Terraform).ProvidersSchema(0x14032c6a680?, {0x1015e1e28, 0x1404a579bc0}) github.com/hashicorp/terraform-exec@v0.17.3/tfexec/providers_schema.go:15 +0xfc github.com/hashicorp/terraform-ls/internal/terraform/exec.(*Executor).ProviderSchemas(0x14032c6a680, {0x1015e1e60?, 0x14032c64e40?}) github.com/hashicorp/terraform-ls/internal/terraform/exec/exec.go:166 +0xc4 github.com/hashicorp/terraform-ls/internal/terraform/module.ObtainSchema({0x1015e1e60, 0x14032c64e40}, 0x10150b180?, 0x1407a0de930?, {0x1402a34fa47, 0x5d}) github.com/hashicorp/terraform-ls/internal/terraform/module/module_ops.go:153 +0x134 github.com/hashicorp/terraform-ls/internal/indexer.(*Indexer).WalkedModule.func8({0x1015e1e60, 0x14032c64e10}) github.com/hashicorp/terraform-ls/internal/indexer/walker.go:135 +0xc0 github.com/hashicorp/terraform-ls/internal/scheduler.(*Scheduler).eval(0x140001136e0, {0x1015e1db8?, 0x140001423c0?}) github.com/hashicorp/terraform-ls/internal/scheduler/scheduler.go:70 +0xf8 created by github.com/hashicorp/terraform-ls/internal/scheduler.(*Scheduler).Start github.com/hashicorp/terraform-ls/internal/scheduler/scheduler.go:48 +0x80 goroutine 52 [select]: github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:239 +0x4fc github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0x14000142340, {0x1015e1e60, 0x14014744030}, 0x0?) github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x584 created by github.com/hashicorp/terraform-ls/internal/scheduler.(*Scheduler).Start github.com/hashicorp/terraform-ls/internal/scheduler/scheduler.go:48 +0x80 goroutine 53 [select]: github.com/hashicorp/terraform-ls/internal/state.(*ModuleStore).AwaitNextChangeBatch(0x14000142380, {0x1015e1e60, 0x140001122d0}) github.com/hashicorp/terraform-ls/internal/state/module_changes.go:234 +0x2cc github.com/hashicorp/terraform-ls/internal/state.(*ModuleStore).AwaitNextChangeBatch(0x14000142380, {0x1015e1e60, 0x140001122d0}) github.com/hashicorp/terraform-ls/internal/state/module_changes.go:244 +0x3a4 github.com/hashicorp/terraform-ls/internal/state.(*ModuleStore).AwaitNextChangeBatch(0x14000142380, {0x1015e1e60, 0x140001122d0}) github.com/hashicorp/terraform-ls/internal/state/module_changes.go:244 +0x3a4 github.com/hashicorp/terraform-ls/internal/state.(*ModuleStore).AwaitNextChangeBatch(0x14000142380, {0x1015e1e60, 0x140001122d0}) github.com/hashicorp/terraform-ls/internal/state/module_changes.go:244 +0x3a4 github.com/hashicorp/terraform-ls/internal/state.(*ModuleStore).AwaitNextChangeBatch(0x14000142380, {0x1015e1e60, 0x140001122d0}) github.com/hashicorp/terraform-ls/internal/state/module_changes.go:244 +0x3a4 github.com/hashicorp/terraform-ls/internal/state.(*ModuleStore).AwaitNextChangeBatch(0x14000142380, {0x1015e1e60, 0x140001122d0}) github.com/hashicorp/terraform-ls/internal/state/module_changes.go:244 +0x3a4 github.com/hashicorp/terraform-ls/internal/state.(*ModuleStore).AwaitNextChangeBatch(0x14000142380, {0x1015e1e60, 0x140001122d0}) github.com/hashicorp/terraform-ls/internal/state/module_changes.go:244 +0x3a4 github.com/hashicorp/terraform-ls/internal/state.(*ModuleStore).AwaitNextChangeBatch(0x14000142380, {0x1015e1e60, 0x140001122d0}) github.com/hashicorp/terraform-ls/internal/state/module_changes.go:244 +0x3a4 github.com/hashicorp/terraform-ls/internal/state.(*ModuleStore).AwaitNextChangeBatch(0x14000142380, {0x1015e1e60, 0x140001122d0}) github.com/hashicorp/terraform-ls/internal/state/module_changes.go:244 +0x3a4 github.com/hashicorp/terraform-ls/internal/state.(*ModuleStore).AwaitNextChangeBatch(0x14000142380, {0x1015e1e60, 0x140001122d0}) github.com/hashicorp/terraform-ls/internal/state/module_changes.go:244 +0x3a4 github.com/hashicorp/terraform-ls/internal/state.(*ModuleStore).AwaitNextChangeBatch(0x14000142380, {0x1015e1e60, 0x140001122d0}) github.com/hashicorp/terraform-ls/internal/state/module_changes.go:244 +0x3a4 github.com/hashicorp/terraform-ls/internal/state.(*ModuleStore).AwaitNextChangeBatch(0x14000142380, {0x1015e1e60, 0x140001122d0}) github.com/hashicorp/terraform-ls/internal/state/module_changes.go:244 +0x3a4 github.com/hashicorp/terraform-ls/internal/state.(*ModuleStore).AwaitNextChangeBatch(0x14000142380, {0x1015e1e60, 0x140001122d0}) github.com/hashicorp/terraform-ls/internal/state/module_changes.go:208 +0x760 github.com/hashicorp/terraform-ls/internal/langserver/notifier.(*Notifier).notify(0x140001137d0, {0x1015e1e60, 0x140001122d0}) github.com/hashicorp/terraform-ls/internal/langserver/notifier/notifier.go:59 +0x40 github.com/hashicorp/terraform-ls/internal/langserver/notifier.(*Notifier).Start.func1() github.com/hashicorp/terraform-ls/internal/langserver/notifier/notifier.go:50 +0x64 created by github.com/hashicorp/terraform-ls/internal/langserver/notifier.(*Notifier).Start github.com/hashicorp/terraform-ls/internal/langserver/notifier/notifier.go:41 +0x88 goroutine 11 [select, 2 minutes]: github.com/hashicorp/terraform-ls/internal/state.(*WalkerPathStore).awaitNextDir(0x140001136b0, {0x1015e1db8, 0x1400c53a5c0}, 0x0) github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:214 +0x28c github.com/hashicorp/terraform-ls/internal/state.(*WalkerPathStore).AwaitNextDir(0x140001136b0, {0x1015e1db8, 0x1400c53a5c0}, 0x0) github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:152 +0x17c github.com/hashicorp/terraform-ls/internal/state.(*PathAwaiter).AwaitNextDir(0x140001448c0?, {0x1015e1db8?, 0x1400c53a5c0?}) github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:50 +0x30 github.com/hashicorp/terraform-ls/internal/walker.(*Walker).StartWalking.func1() github.com/hashicorp/terraform-ls/internal/walker/walker.go:105 +0x54 created by github.com/hashicorp/terraform-ls/internal/walker.(*Walker).StartWalking github.com/hashicorp/terraform-ls/internal/walker/walker.go:103 +0xd8 goroutine 12 [select, 2 minutes]: github.com/hashicorp/terraform-ls/internal/state.(*WalkerPathStore).awaitNextDir(0x140001136b0, {0x1015e1db8, 0x1400c53a600}, 0x1) github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:214 +0x28c github.com/hashicorp/terraform-ls/internal/state.(*WalkerPathStore).awaitNextDir(0x140001136b0, {0x1015e1db8, 0x1400c53a600}, 0x1) github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:220 +0x2cc github.com/hashicorp/terraform-ls/internal/state.(*WalkerPathStore).awaitNextDir(0x140001136b0, {0x1015e1db8, 0x1400c53a600}, 0x1) github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:220 +0x2cc github.com/hashicorp/terraform-ls/internal/state.(*WalkerPathStore).AwaitNextDir(0x140001136b0, {0x1015e1db8, 0x1400c53a600}, 0x1) github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:152 +0x17c github.com/hashicorp/terraform-ls/internal/state.(*PathAwaiter).AwaitNextDir(0x0?, {0x1015e1db8?, 0x1400c53a600?}) github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:50 +0x30 github.com/hashicorp/terraform-ls/internal/walker.(*Walker).StartWalking.func1() github.com/hashicorp/terraform-ls/internal/walker/walker.go:105 +0x54 created by github.com/hashicorp/terraform-ls/internal/walker.(*Walker).StartWalking github.com/hashicorp/terraform-ls/internal/walker/walker.go:103 +0xd8 goroutine 521 [select]: github.com/hashicorp/terraform-exec/tfexec.writeOutput.func1() github.com/hashicorp/terraform-exec@v0.17.3/tfexec/cmd.go:250 +0x90 created by github.com/hashicorp/terraform-exec/tfexec.writeOutput github.com/hashicorp/terraform-exec@v0.17.3/tfexec/cmd.go:249 +0x11c goroutine 569 [select]: github.com/hashicorp/terraform-exec/tfexec.writeOutput.func1() github.com/hashicorp/terraform-exec@v0.17.3/tfexec/cmd.go:250 +0x90 created by github.com/hashicorp/terraform-exec/tfexec.writeOutput github.com/hashicorp/terraform-exec@v0.17.3/tfexec/cmd.go:249 +0x11c goroutine 471 [runnable]: encoding/json.Marshal({0x10156c5c0, 0x140687a4de0}) encoding/json/encode.go:164 +0xa4 github.com/hashicorp/hcl-lang/schema.DependencyKeys.MarshalJSON({{0x1406867a2e8, 0x1, 0x1}, {0x0, 0x0, 0x0}}) github.com/hashicorp/hcl-lang@v0.0.0-20220823151539-1fce4f11c137/schema/dependent_schema.go:40 +0x114 github.com/hashicorp/hcl-lang/schema.NewSchemaKey({{0x1406867a2e8, 0x1, 0x1}, {0x0, 0x0, 0x0}}) github.com/hashicorp/hcl-lang@v0.0.0-20220823151539-1fce4f11c137/schema/dependent_schema.go:50 +0x3c github.com/hashicorp/terraform-schema/schema.variableDependentBody(0x1015379a0?) github.com/hashicorp/terraform-schema@v0.0.0-20220831151855-0778c5b26686/schema/schema_merge.go:339 +0x108 github.com/hashicorp/terraform-schema/schema.(*SchemaMerger).SchemaForModule(0x1407582dd28, 0x1407582dd58) github.com/hashicorp/terraform-schema@v0.0.0-20220831151855-0778c5b26686/schema/schema_merge.go:183 +0x3d4 github.com/hashicorp/terraform-ls/internal/decoder.schemaForModule(0x14031ac6b40, {0x1015dde20?, 0x1400088d740}, {0x12aad84c0?, 0x14000142380}) github.com/hashicorp/terraform-ls/internal/decoder/module_schema.go:27 +0x114 github.com/hashicorp/terraform-ls/internal/decoder.modulePathContext(0x14031ac6b40, {0x1015dde20, 0x1400088d740}, {0x1015e3160?, 0x14000142380}) github.com/hashicorp/terraform-ls/internal/decoder/decoder.go:19 +0x5c github.com/hashicorp/terraform-ls/internal/decoder.(*PathReader).PathContext(0x1400088d820, {{0x14029a32e07?, 0x2?}, {0x100e1b6b3?, 0x8?}}) github.com/hashicorp/terraform-ls/internal/decoder/path_reader.go:74 +0x118 github.com/hashicorp/terraform-ls/internal/codelens.ReferenceCount.func1({0x1015e1e60, 0x1406015e4b0}, {{0x14019ab8467?, 0x1019c66e8?}, {0x140183e5430?, 0x1400088d820?}}, {0x1400dca8471, 0x7}) github.com/hashicorp/terraform-ls/internal/codelens/reference_count.go:59 +0x65c github.com/hashicorp/hcl-lang/decoder.(*Decoder).CodeLensesForFile(0x140008945a0, {0x1015e1e60, 0x1405525e060}, {{0x14019ab8467?, 0x40?}, {0x140183e5430?, 0x1100a6?}}, {0x1400dca8471, 0x7}) github.com/hashicorp/hcl-lang@v0.0.0-20220823151539-1fce4f11c137/decoder/code_lens.go:27 +0x194 github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).TextDocumentCodeLens(0x14000818000, {0x1015e1e60, 0x1405525e060}, {{{0x140287dc000, 0x78}}, {{0x0, 0x0}}, {{0x0, 0x0}}}) github.com/hashicorp/terraform-ls/internal/langserver/handlers/code_lens.go:25 +0xf4 reflect.Value.call({0x101532a80?, 0x1407bce4060?, 0x1400daff4b8?}, {0x100e18ad6, 0x4}, {0x1405ea80330, 0x2, 0x100dfae38?}) reflect/value.go:584 +0x688 reflect.Value.Call({0x101532a80?, 0x1407bce4060?, 0x101575cc0?}, {0x1405ea80330?, 0x1407bce4060?, 0x14055268020?}) reflect/value.go:368 +0x90 github.com/creachadair/jrpc2/handler.(*FuncInfo).Wrap.func8({0x1015e1e60?, 0x1405525e060?}, 0x101c69878?) github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:236 +0x12c github.com/creachadair/jrpc2/handler.Func.Handle(...) github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:25 github.com/hashicorp/terraform-ls/internal/langserver/handlers.handle({0x1015e1e60, 0x1405525e060}, 0x10153cf00?, {0x101532a80?, 0x1407bce4060?}) github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:585 +0x58 github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).Assigner.func14({0x1015e1e60?, 0x1405525e000?}, 0x2?) github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:263 +0x104 reflect.Value.call({0x101553fc0?, 0x140008100c0?, 0x1400daffd28?}, {0x100e18ad6, 0x4}, {0x1405525e030, 0x2, 0xc8?}) reflect/value.go:584 +0x688 reflect.Value.Call({0x101553fc0?, 0x140008100c0?, 0x1405525e000?}, {0x1405525e030?, 0x10157d420?, 0x1405d3bc100?}) reflect/value.go:368 +0x90 github.com/creachadair/jrpc2/handler.(*FuncInfo).Wrap.func8({0x1015e1e60?, 0x1405525e000?}, 0x1015315e0?) github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:236 +0x12c github.com/creachadair/jrpc2/handler.Func.Handle(0x14000812000?, {0x1015e1e60?, 0x1405525e000?}, 0x1405d3bc100?) github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:25 +0x38 github.com/creachadair/jrpc2.(*Server).invoke(0x140000fe1c0, {0x1015e1db8?, 0x1405d3bc140?}, {0x1015deae0, 0x14000810260}, 0x1405d3bc100) github.com/creachadair/jrpc2@v0.41.1/server.go:355 +0x100 github.com/creachadair/jrpc2.(*Server).dispatch.func1() github.com/creachadair/jrpc2@v0.41.1/server.go:227 +0x16c github.com/creachadair/jrpc2.(*Server).serve.func1() github.com/creachadair/jrpc2@v0.41.1/server.go:149 +0x58 created by github.com/creachadair/jrpc2.(*Server).serve github.com/creachadair/jrpc2@v0.41.1/server.go:147 +0x24 goroutine 483 [runnable]: github.com/hashicorp/go-immutable-radix.(*Node).getEdge(0x1405d2362c0, 0x73) github.com/hashicorp/go-immutable-radix@v1.3.1/node.go:71 +0xc4 github.com/hashicorp/go-immutable-radix.(*Node).GetWatch(0x140686c08c0?, {0x140686ddf10?, 0x6?, 0x100e186c9?}) github.com/hashicorp/go-immutable-radix@v1.3.1/node.go:119 +0x68 github.com/hashicorp/go-immutable-radix.(*Txn).GetWatch(...) github.com/hashicorp/go-immutable-radix@v1.3.1/iradix.go:510 github.com/hashicorp/go-memdb.(*Txn).FirstWatch(0x14028f15c07?, {0x100e19b6e, 0x6}, {0x100e186c9, 0x2}, {0x1406824b530?, 0x70?, 0x1406824b520?}) github.com/hashicorp/go-memdb@v1.3.3/txn.go:543 +0xc8 github.com/hashicorp/go-memdb.(*Txn).First(...) github.com/hashicorp/go-memdb@v1.3.3/txn.go:603 github.com/hashicorp/terraform-ls/internal/state.moduleByPath(0x10?, {0x14028f15c07, 0x69}) github.com/hashicorp/terraform-ls/internal/state/module.go:532 +0x9c github.com/hashicorp/terraform-ls/internal/state.(*ProviderSchemaStore).ProviderSchema.func1({0x14028f15c07?, 0x100e19b6e?}) github.com/hashicorp/terraform-ls/internal/state/provider_schema.go:334 +0x30 github.com/hashicorp/terraform-ls/internal/state.sortableSchemas.rankBySource({{0x1406805a400, 0x3a, 0x40}, 0x1406824a180, {0x14028fee187, 0x6b}, {0x1019c66e8, 0x0, 0x0}}, {0x1015e0a70?, ...}) github.com/hashicorp/terraform-ls/internal/state/provider_schema.go:407 +0xdc github.com/hashicorp/terraform-ls/internal/state.sortableSchemas.Less({{0x1406805a400, 0x3a, 0x40}, 0x1406824a180, {0x14028fee187, 0x6b}, {0x1019c66e8, 0x0, 0x0}}, 0x29, ...) github.com/hashicorp/terraform-ls/internal/state/provider_schema.go:392 +0x100 sort.symMerge({0x1015e1980, 0x140686c0910}, 0x27, 0x0?, 0x0?) sort/zsortinterface.go:390 +0x240 sort.symMerge({0x1015e1980, 0x140686c0910}, 0x24, 0x28, 0x2b) sort/zsortinterface.go:456 +0x17c sort.symMerge({0x1015e1980, 0x140686c0910}, 0x1d, 0x28, 0x2b) sort/zsortinterface.go:456 +0x17c sort.symMerge({0x1015e1980, 0x140686c0910}, 0x1d, 0x28, 0x3a) sort/zsortinterface.go:453 +0x148 sort.symMerge({0x1015e1980, 0x140686c0910}, 0x0, 0x28, 0x3a) sort/zsortinterface.go:456 +0x17c sort.stable({0x1015e1980, 0x140686c0910}, 0x3a) sort/zsortinterface.go:353 +0xb8 sort.Stable({0x1015e1980, 0x140686c0910}) sort/sort.go:208 +0x3c github.com/hashicorp/terraform-ls/internal/state.(*ProviderSchemaStore).ProviderSchema(0x1400088d740, {0x14028fee187, 0x6b}, {{0x100e1b6b3, 0x9}, {0x100e1a20a, 0x7}, {0x100e1d4aa, 0xc}}, {0x1019c66e8, ...}) github.com/hashicorp/terraform-ls/internal/state/provider_schema.go:340 +0x994 github.com/hashicorp/terraform-ls/internal/state.(*ProviderSchemaStore).ProviderSchema(0x1400088d740, {0x14028fee187, 0x6b}, {{0x14012b76798, 0x9}, {0x100e18544, 0x1}, {0x100e23253, 0x15}}, {0x1019c66e8, ...}) github.com/hashicorp/terraform-ls/internal/state/provider_schema.go:293 +0x6c4 github.com/hashicorp/terraform-schema/schema.(*SchemaMerger).SchemaForModule(0x14070785d28, 0x14070785d58) github.com/hashicorp/terraform-schema@v0.0.0-20220831151855-0778c5b26686/schema/schema_merge.go:80 +0x10e0 github.com/hashicorp/terraform-ls/internal/decoder.schemaForModule(0x1402c916960, {0x1015dde20?, 0x1400088d740}, {0x12aad84c0?, 0x14000142380}) github.com/hashicorp/terraform-ls/internal/decoder/module_schema.go:27 +0x114 github.com/hashicorp/terraform-ls/internal/decoder.modulePathContext(0x1402c916960, {0x1015dde20, 0x1400088d740}, {0x1015e3160?, 0x14000142380}) github.com/hashicorp/terraform-ls/internal/decoder/decoder.go:19 +0x5c github.com/hashicorp/terraform-ls/internal/decoder.(*PathReader).PathContext(0x1400088d820, {{0x14028fee187?, 0x2?}, {0x100e1b6b3?, 0x8?}}) github.com/hashicorp/terraform-ls/internal/decoder/path_reader.go:74 +0x118 github.com/hashicorp/terraform-ls/internal/codelens.ReferenceCount.func1({0x1015e1e60, 0x140702cde30}, {{0x14019ab8467?, 0x1019c66e8?}, {0x140183e5430?, 0x1400088d820?}}, {0x1400dca8471, 0x7}) github.com/hashicorp/terraform-ls/internal/codelens/reference_count.go:59 +0x65c github.com/hashicorp/hcl-lang/decoder.(*Decoder).CodeLensesForFile(0x140008945a0, {0x1015e1e60, 0x1406f2d7d10}, {{0x14019ab8467?, 0x14032370ad8?}, {0x140183e5430?, 0x12?}}, {0x1400dca8471, 0x7}) github.com/hashicorp/hcl-lang@v0.0.0-20220823151539-1fce4f11c137/decoder/code_lens.go:27 +0x194 github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).TextDocumentCodeLens(0x14000818000, {0x1015e1e60, 0x1406f2d7d10}, {{{0x140602ac780, 0x78}}, {{0x0, 0x0}}, {{0x0, 0x0}}}) github.com/hashicorp/terraform-ls/internal/langserver/handlers/code_lens.go:25 +0xf4 reflect.Value.call({0x101532a80?, 0x1406f2c8b40?, 0x140323714b8?}, {0x100e18ad6, 0x4}, {0x1406f2d7dd0, 0x2, 0x100dfae38?}) reflect/value.go:584 +0x688 reflect.Value.Call({0x101532a80?, 0x1406f2c8b40?, 0x101575cc0?}, {0x1406f2d7dd0?, 0x1406f2c8b40?, 0x1406f2cade0?}) reflect/value.go:368 +0x90 github.com/creachadair/jrpc2/handler.(*FuncInfo).Wrap.func8({0x1015e1e60?, 0x1406f2d7d10?}, 0x101c68f18?) github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:236 +0x12c github.com/creachadair/jrpc2/handler.Func.Handle(...) github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:25 github.com/hashicorp/terraform-ls/internal/langserver/handlers.handle({0x1015e1e60, 0x1406f2d7d10}, 0x10153cf00?, {0x101532a80?, 0x1406f2c8b40?}) github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:585 +0x58 github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).Assigner.func14({0x1015e1e60?, 0x14043892f90?}, 0x2?) github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:263 +0x104 reflect.Value.call({0x101553fc0?, 0x140008100c0?, 0x1400dcc4d28?}, {0x100e18ad6, 0x4}, {0x1406f2d7ce0, 0x2, 0xc8?}) reflect/value.go:584 +0x688 reflect.Value.Call({0x101553fc0?, 0x140008100c0?, 0x14043892f90?}, {0x1406f2d7ce0?, 0x10157d420?, 0x1406e4ac000?}) reflect/value.go:368 +0x90 github.com/creachadair/jrpc2/handler.(*FuncInfo).Wrap.func8({0x1015e1e60?, 0x14043892f90?}, 0x1015315e0?) github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:236 +0x12c github.com/creachadair/jrpc2/handler.Func.Handle(0x14000812000?, {0x1015e1e60?, 0x14043892f90?}, 0x1406e4ac000?) github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:25 +0x38 github.com/creachadair/jrpc2.(*Server).invoke(0x140000fe1c0, {0x1015e1db8?, 0x1406e4ac040?}, {0x1015deae0, 0x14000810260}, 0x1406e4ac000) github.com/creachadair/jrpc2@v0.41.1/server.go:355 +0x100 github.com/creachadair/jrpc2.(*Server).dispatch.func1() github.com/creachadair/jrpc2@v0.41.1/server.go:227 +0x16c github.com/creachadair/jrpc2.(*Server).serve.func1() github.com/creachadair/jrpc2@v0.41.1/server.go:149 +0x58 created by github.com/creachadair/jrpc2.(*Server).serve github.com/creachadair/jrpc2@v0.41.1/server.go:147 +0x24 goroutine 486 [select]: os/exec.(*Cmd).watchCtx.func1() os/exec/exec.go:648 +0x78 created by os/exec.(*Cmd).watchCtx os/exec/exec.go:647 +0x90 goroutine 487 [IO wait]: internal/poll.runtime_pollWait(0x101d485f0, 0x72) runtime/netpoll.go:305 +0xa0 internal/poll.(*pollDesc).wait(0x1404a579c80?, 0x1409c507000?, 0x1) internal/poll/fd_poll_runtime.go:84 +0x28 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x1404a579c80, {0x1409c507000, 0x1000, 0x1000}) internal/poll/fd_unix.go:167 +0x1e0 os.(*File).read(...) os/file_posix.go:31 os.(*File).Read(0x140001bfe18, {0x1409c507000?, 0x14000248cd8?, 0x1008c18a8?}) os/file.go:118 +0x5c bufio.(*Reader).fill(0x1400dcc7ef8) bufio/bufio.go:106 +0xfc bufio.(*Reader).ReadSlice(0x1400dcc7ef8, 0xb8?) bufio/bufio.go:372 +0x30 bufio.(*Reader).collectFragments(0x1000000101018dd8?, 0xe0?) bufio/bufio.go:447 +0x5c bufio.(*Reader).ReadBytes(0x1015e1e28?, 0xc0?) bufio/bufio.go:475 +0x1c github.com/hashicorp/terraform-exec/tfexec.writeOutput({0x1015e1e28?, 0x1404a579bc0}, {0x1015e0660?, 0x140001bfe18}, {0x1015dd380, 0x14032c65260}) github.com/hashicorp/terraform-exec@v0.17.3/tfexec/cmd.go:260 +0x208 github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmd.func1() github.com/hashicorp/terraform-exec@v0.17.3/tfexec/cmd_default.go:55 +0x6c created by github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmd github.com/hashicorp/terraform-exec@v0.17.3/tfexec/cmd_default.go:53 +0x2d4 goroutine 488 [IO wait]: internal/poll.runtime_pollWait(0x101d486e0, 0x72) runtime/netpoll.go:305 +0xa0 internal/poll.(*pollDesc).wait(0x1404a579f80?, 0x1406f504000?, 0x1) internal/poll/fd_poll_runtime.go:84 +0x28 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x1404a579f80, {0x1406f504000, 0x1000, 0x1000}) internal/poll/fd_unix.go:167 +0x1e0 os.(*File).read(...) os/file_posix.go:31 os.(*File).Read(0x140001bfe28, {0x1406f504000?, 0x140002444d8?, 0x1008c18a8?}) os/file.go:118 +0x5c bufio.(*Reader).fill(0x14000825ef8) bufio/bufio.go:106 +0xfc bufio.(*Reader).ReadSlice(0x14000825ef8, 0xb8?) bufio/bufio.go:372 +0x30 bufio.(*Reader).collectFragments(0x10000001010145d8?, 0x70?) bufio/bufio.go:447 +0x5c bufio.(*Reader).ReadBytes(0x1015e1e28?, 0xc0?) bufio/bufio.go:475 +0x1c github.com/hashicorp/terraform-exec/tfexec.writeOutput({0x1015e1e28?, 0x1404a579bc0}, {0x1015e0660?, 0x140001bfe28}, {0x1015de4c0, 0x14032c6ade0}) github.com/hashicorp/terraform-exec@v0.17.3/tfexec/cmd.go:260 +0x208 github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmd.func2() github.com/hashicorp/terraform-exec@v0.17.3/tfexec/cmd_default.go:61 +0x6c created by github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmd github.com/hashicorp/terraform-exec@v0.17.3/tfexec/cmd_default.go:59 +0x3b8 Failure to start terraform-ls. Please check your configuration settings and reload this window [Error - 1:54:52 PM] Connection to server got closed. Server will not be restarted. [Error - 1:54:52 PM] Request textDocument/codeLens failed. Error: Connection got disposed. at Object.dispose (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:42:4070) at Object.dispose (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:47:9584) at _l.handleConnectionClosed (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:49:9075) at _l.handleConnectionClosed (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:52:12102) at r (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:49:8757) at Za.invoke (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:15:9648) at ni.fire (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:15:10413) at pe (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:16:10887) at Za.invoke (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:15:9648) at ni.fire (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:15:10413) at Go.fireClose (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:16:523) at Socket. (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:16:1297) at Socket.emit (node:events:526:28) at Socket.emit (node:domain:475:12) at Pipe. (node:net:687:12) [Error - 1:54:52 PM] Request textDocument/codeLens failed. Error: Connection got disposed. at Object.dispose (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:42:4070) at Object.dispose (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:47:9584) at _l.handleConnectionClosed (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:49:9075) at _l.handleConnectionClosed (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:52:12102) at r (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:49:8757) at Za.invoke (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:15:9648) at ni.fire (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:15:10413) at pe (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:16:10887) at Za.invoke (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:15:9648) at ni.fire (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:15:10413) at Go.fireClose (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:16:523) at Socket. (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:16:1297) at Socket.emit (node:events:526:28) at Socket.emit (node:domain:475:12) at Pipe. (node:net:687:12) [Error - 1:54:52 PM] Request textDocument/codeLens failed. Error: Connection got disposed. at Object.dispose (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:42:4070) at Object.dispose (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:47:9584) at _l.handleConnectionClosed (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:49:9075) at _l.handleConnectionClosed (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:52:12102) at r (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:49:8757) at Za.invoke (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:15:9648) at ni.fire (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:15:10413) at pe (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:16:10887) at Za.invoke (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:15:9648) at ni.fire (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:15:10413) at Go.fireClose (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:16:523) at Socket. (/Users/homedir/.vscode-insiders/extensions/hashicorp.terraform-2.24.2-darwin-arm64/out/extension.js:16:1297) at Socket.emit (node:events:526:28) at Socket.emit (node:domain:475:12) at Pipe. (node:net:687:12)