Skip to content
New issue

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

x/tools/go/ssa: Example_buildPackage failures #67721

Open
gopherbot opened this issue May 30, 2024 · 1 comment
Open

x/tools/go/ssa: Example_buildPackage failures #67721

gopherbot opened this issue May 30, 2024 · 1 comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@gopherbot
Copy link
Contributor

#!watchflakes
default <- pkg == "golang.org/x/tools/go/ssa" && test == "Example_buildPackage"

Issue created automatically to collect these failures.

Example (log):

=== RUN   Example_buildPackage
--- FAIL: Example_buildPackage (0.15s)
got:
hello.go:4:8: could not import fmt (can't find import: "fmt")
want:
package hello:
  func  init       func()
  var   init$guard bool
  func  main       func()
  const message    message = "Hello, World!":untyped string
...
# Location: hello.go:8:6
func main():
0:                                                                entry P:0 S:0
	t0 = new [1]any (varargs)                                       *[1]any
	t1 = &t0[0:int]                                                    *any
	t2 = make any <- string ("Hello, World!":string)                    any
	*t1 = t2
	t3 = slice t0[:]                                                  []any
	t4 = fmt.Println(t3...)                              (n int, err error)
	return

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label May 30, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/go/ssa" && test == "Example_buildPackage"
2024-05-24 14:37 x_tools-go1.21-windows-arm64 tools@e1b14a19 release-branch.go1.21@54c4745d x/tools/go/ssa.Example_buildPackage (log)
=== RUN   Example_buildPackage
--- FAIL: Example_buildPackage (0.15s)
got:
hello.go:4:8: could not import fmt (can't find import: "fmt")
want:
package hello:
  func  init       func()
  var   init$guard bool
  func  main       func()
  const message    message = "Hello, World!":untyped string
...
# Location: hello.go:8:6
func main():
0:                                                                entry P:0 S:0
	t0 = new [1]any (varargs)                                       *[1]any
	t1 = &t0[0:int]                                                    *any
	t2 = make any <- string ("Hello, World!":string)                    any
	*t1 = t2
	t3 = slice t0[:]                                                  []any
	t4 = fmt.Println(t3...)                              (n int, err error)
	return

watchflakes

@gopherbot gopherbot added the Tools This label describes issues relating to any tools in the x/tools repository. label May 30, 2024
@gopherbot gopherbot added this to the Unreleased milestone May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
Status: No status
Development

No branches or pull requests

1 participant