We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can recreate this by having multiple package names defined in a directory
Go build output:
go build ./... found packages pkg (package.go) and secondpkg (secondpkg.go) in repo/pkg
Encore output:
encore run ❌ Building Encore application graph... Failed: Error ⠒ Analyzing service topology... panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x2 addr=0x18 pc=0x100cefe98] goroutine 1 [running]: encr.dev/pkg/errinsrc/internal.SrcLocations.GroupByFile({0x14000274178, 0x1, 0x140005ad678?}) /Users/runner/work/encore/encore/encr.dev/pkg/errinsrc/internal/location.go:142 +0x98 encr.dev/pkg/errinsrc.(*ErrInSrc).Error(0x1400047e600) /Users/runner/work/encore/encore/encr.dev/pkg/errinsrc/errinsrc.go:189 +0x780 encr.dev/pkg/errlist.(*List).Error(0x140003604a0) /Users/runner/work/encore/encore/encr.dev/pkg/errlist/errlist.go:186 +0x10c encr.dev/cli/cmd/encore/cmdutil.DisplayError(0x140002e7b60?, {0x14000252f00, 0x4f0, 0x500}) /Users/runner/work/encore/encore/encr.dev/cli/cmd/encore/cmdutil/cmdutil.go:133 +0x140 main.displayError(...) /Users/runner/work/encore/encore/encr.dev/cli/cmd/encore/main.go:184 main.streamCommandOutput({0x12a3f1a38, 0x140002e7b60}, 0x140003b6460) /Users/runner/work/encore/encore/encr.dev/cli/cmd/encore/main.go:142 +0x5ec main.runApp({0x14000044004, 0x17}, {0x101fdcc30, 0x1}) /Users/runner/work/encore/encore/encr.dev/cli/cmd/encore/run.go:111 +0x4b0 main.init.12.func1(0x140001a7d00?, {0x103263060?, 0x4?, 0x101babd13?}) /Users/runner/work/encore/encore/encr.dev/cli/cmd/encore/run.go:45 +0x24 github.com/spf13/cobra.(*Command).execute(0x14000347200, {0x103263060, 0x0, 0x0}) /Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:920 +0x640 github.com/spf13/cobra.(*Command).ExecuteC(0x103201a40) /Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x320 github.com/spf13/cobra.(*Command).Execute(...) /Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968 main.main() /Users/runner/work/encore/encore/encr.dev/cli/cmd/encore/main.go:35 +0x180
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I can recreate this by having multiple package names defined in a directory
Go build output:
Encore output:
The text was updated successfully, but these errors were encountered: