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

FTBFS: *GitRepo does not implement ClockedRepo (missing method AllClocks) #1149

Open
mcepl opened this issue Apr 17, 2024 · 2 comments
Open

Comments

@mcepl
Copy link
Contributor

mcepl commented Apr 17, 2024

tumbleweed-pkg~/r/git-bug (master *)$ go clean -modcache
tumbleweed-pkg~/r/git-bug (master *)$ go mod tidy
tumbleweed-pkg~/r/git-bug (master *)$ git diff >/tmp/git-diff.patch
tumbleweed-pkg~/r/git-bug (master *)$ go install
# github.com/MichaelMure/git-bug/repository
repository/gogit.go:30:7: clockPath redeclared in this block
	repository/git.go:20:2: other declaration of clockPath
repository/keyring.go:53:6: replaceKeyring redeclared in this block
	repository/git_testing.go:65:6: other declaration of replaceKeyring
repository/keyring.go:58:26: method replaceKeyring.Keyring already declared at repository/git_testing.go:70:26
repository/git.go:23:21: cannot use &GitRepo{} (value of type *GitRepo) as ClockedRepo value in variable declaration: *GitRepo does not implement ClockedRepo (missing method AllClocks)
repository/git.go:24:20: cannot use &GitRepo{} (value of type *GitRepo) as TestedRepo value in variable declaration: *GitRepo does not implement TestedRepo (missing method AllClocks)
repository/git.go:79:27: cannot use repo (variable of type *GitRepo) as ClockedRepo value in argument to loader.Witnesser: *GitRepo does not implement ClockedRepo (missing method AllClocks)
repository/git_testing.go:41:15: cannot use repo (variable of type *GitRepo) as TestedRepo value in struct literal: *GitRepo does not implement TestedRepo (missing method AllClocks)
repository/git_testing.go:47:30: not enough arguments in call to CreateGoGitTestRepo
	have (bool)
	want (testing.TB, bool)
repository/git_testing.go:48:30: not enough arguments in call to CreateGoGitTestRepo
	have (bool)
	want (testing.TB, bool)
repository/git_testing.go:49:31: not enough arguments in call to CreateGoGitTestRepo
	have (bool)
	want (testing.TB, bool)
repository/git_testing.go:49:31: too many errors
tumbleweed-pkg~/r/git-bug (master *)$ 

git-diff.patch.txt

@mcepl mcepl changed the title FTBFS: FTBFS: *GitRepo does not implement ClockedRepo (missing method AllClocks) Apr 17, 2024
@MichaelMure
Copy link
Owner

I suspect you have an outdated golang version, which one are you using?

@mcepl
Copy link
Contributor Author

mcepl commented Apr 17, 2024 via email

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

2 participants