Skip to content

Build failure while running Golang testing #7750

@satyanandak

Description

@satyanandak

Description of the bug:

While Running Binary for go/main.go during manual testing throwing build failure error in console

INFO: Elapsed time: 0.314s, Critical Path: 0.04s
INFO: 2 processes: 2 internal.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

Which category does this issue belong to?

No response

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

Open go/main.go, make sure you can see a green run icon next to the main function.
When clicked, you can see 3 options: Run, Debug and Modify configuration.
Click the “Run …” option from this list and make sure that the binary is run and a console opens. In the console, confirm that the program outputs “AddToTwo(3) = 5”

Which Intellij IDE are you using? Please provide the specific version.

2024.3 — 2024.3.6 & 2025.1 — 2025.1.2

What programming languages and tools are you using? Please provide specific versions.

golang

What Bazel plugin version are you using?

2025.06.10.0.1-api-version-243 & 2025.06.10.0.1-api-version-251

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

Image

Metadata

Metadata

Type

Projects

Status

Untriaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions