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

运行报错 #88

Open
gratno opened this issue Dec 13, 2023 · 0 comments
Open

运行报错 #88

gratno opened this issue Dec 13, 2023 · 0 comments

Comments

@gratno
Copy link

gratno commented Dec 13, 2023

分支: master
安装方式:
git clone https://github.com/qax-os/goreporter.git
go install .
开发环境: windows10
go版本: go version go1.17.13 windows/amd64
goreporter -c 4 -v 4 -p . -r . -v 5 -log_dir ./logs/ -t /d/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/templates/template-v2.html

2023/12/13 13:27:48 There are no packages that are excepted, review all items of the package
2023/12/13 13:27:48 Linter:CountCode over,time consuming 0.3620053s
2023/12/13 13:27:48 Linter:Cyclo over,time consuming 0.4037772s
2023/12/13 13:27:48 Linter:Deadcode over,time consuming 0.4037772s
2023/12/13 13:27:49 Linter:DependGraph over,time consuming 0.8259769s
2023/12/13 13:27:49 Linter:Depth over,time consuming 0.8814874s
2023/12/13 13:28:07 Linter:ImportPackages over,time consuming 19.2411111s
panic: interface conversion: types.Type is nil, not *types.Signature

goroutine 6509 [running]:
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*builder).expr0(0xc17020, 0xc05bc46b40, {0xed55d0, 0xc02822c740}, {0x0, {0x0, 0x0}, {0x0, 0x0}})
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:679 +0x1fc5
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*builder).expr(0xc16360, 0xc05bc46b40, {0xed55d0, 0xc02822c740})
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:530 +0x19f
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*builder).expr0(0xc17020, 0xc05bc46b40, {0xed5840, 0xc0282182d0}, {0x2, {0xed4228, 0xc033b3c960}, {0x0, 0x0}})
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:697 +0x1ae5
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*builder).expr(0xc16360, 0xc05bc46b40, {0xed5840, 0xc0282182d0})
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:530 +0x19f
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*builder).setCallFunc(0x80, 0xc05bc46b40, 0xc02822a780, 0xc079c743c0)
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:881 +0x2ec
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*builder).setCall(0xc17020, 0xc05bc46b40, 0xc02822a780, 0xc079c743c0)
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:962 +0x31
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*builder).expr0(0xc17020, 0xc05bc46b40, {0xed52d0, 0xc02822a780}, {0x7, {0xed40e8, 0x1170500}, {0x0, 0x0}})
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:596 +0x1eee
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*builder).expr(0xc06043cf60, 0xc05bc46b40, {0xed52d0, 0xc02822a780})
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:530 +0x19f
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*builder).assign(0x89a214, 0xc05bc46b40, {0xed7b50, 0xc079c6b200}, {0xed52d0, 0xc02822a780}, 0x8, 0xc06043d040)
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:502 +0x438
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*builder).assignStmt(0xc05bc46b40, 0xc05bc46b40, {0xc0282229d0, 0x1, 0xc06043d158}, {0xc028222a00, 0x1, 0xedbf68}, 0x0)
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:1050 +0x24d
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*builder).stmt(0x0, 0xc05bc46b40, {0xed5150, 0xc02822a7c0})
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:2006 +0x1094
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*builder).stmtList(0x20, 0x20301e7, {0xc02822a700, 0x4, 0xed40e8})
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:790 +0x67
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*builder).stmt(0xc05bc46b40, 0xc05bc46b40, {0xed5270, 0xc0282271a0})
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:2102 +0x12d1
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*builder).forStmt(0xc05bc46b40, 0xc05bc46b40, 0xc02822a800, 0x0)
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:1670 +0x6b1
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*builder).stmt(0x80, 0xc05bc46b40, {0xed54b0, 0xc02822a800})
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:2137 +0xde5
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*builder).stmtList(0x0, 0x853aa9, {0xc0281def80, 0x7, 0x80})
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:790 +0x67
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*builder).stmt(0xc05bc46b40, 0xc05bc46b40, {0xed5270, 0xc0282271d0})
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:2102 +0x12d1
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*builder).buildFunction(0xc174a0, 0xc05bc46b40)
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:2195 +0x465
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*builder).buildFuncDecl(0xc174a0, 0xc05ba75860, 0xc028227200)
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:2225 +0x154
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*Package).build(0xc05ba75860)
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:2341 +0xd05
sync.(*Once).doSlow(0xb14720, 0xc029118a70)
C:/Go/src/sync/once.go:68 +0xd2
sync.(*Once).Do(...)
C:/Go/src/sync/once.go:59
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*Package).Build(...)
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:2260
github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*Program).Build.func1(0xc0320c73c0)
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:2244 +0x4c
created by github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa.(*Program).Build
D:/GOPATH/src/github.com/360EntSecGroup-Skylar/goreporter/vendor/golang.org/x/tools/go/ssa/builder.go:2243 +0x1a5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant