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

Bug: Compilation error #5003

Open
ThePsina opened this issue Apr 17, 2024 · 5 comments
Open

Bug: Compilation error #5003

ThePsina opened this issue Apr 17, 2024 · 5 comments
Labels
Bug Something isn't working Triage

Comments

@ThePsina
Copy link

Steps to reproduce the behavior

github.com/mattermost/mattermost-server/v6/shared/mlog

go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.7.2/shared/mlog/mlog.go:87:11: cannot use generic function logr.Int without instantiation
go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.7.2/shared/mlog/mlog.go:96:12: cannot use generic function logr.Uint without instantiation
go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.7.2/shared/mlog/mlog.go:105:14: cannot use generic function logr.String without instantiation
go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.7.2/shared/mlog/mlog.go:130:12: cannot use generic function logr.Bool without instantiation
go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.7.2/shared/mlog/mlog.go:143:13: cannot use generic function logr.Array without instantiation
go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.7.2/shared/mlog/mlog.go:146:11: cannot use generic function logr.Map without instantiation

Edition and Platform

  • Edition: Personal Desktop

Add any other context about the problem here, and any notes about the severity:

  • Sev 1: Affects critical functionality without a workaround
@ThePsina ThePsina added Bug Something isn't working Triage labels Apr 17, 2024
@ThePsina
Copy link
Author

go1.22

@ThePsina
Copy link
Author

go.mod:
github.com/mattermost/ldap v3.0.4+incompatible // indirect
github.com/mattermost/logr/v2 v2.0.21 // indirect
github.com/mattermost/mattermost-plugin-api v0.1.1 // indirect
github.com/mattermost/mattermost-server/v6 v6.7.2 // indirect

@ThePsina
Copy link
Author

same issue #4996 - not solved

@ThePsina
Copy link
Author

in what go version does it work?

@alexeyqu
Copy link

alexeyqu commented Jun 2, 2024

Compilation works for me on golang:1.18.3. Hope that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Triage
Projects
None yet
Development

No branches or pull requests

2 participants