[GH-ISSUE #325] [BUG] github.com/hibiken/asynq/tools v0.0.0-20210902125602-b3ef9e91a9ce build fails #1154

Closed
opened 2026-03-07 22:06:36 +03:00 by kerem · 6 comments
Owner

Originally created by @lufishggg on GitHub (Sep 14, 2021).
Original GitHub issue: https://github.com/hibiken/asynq/issues/325

Originally assigned to: @hibiken on GitHub.

Describe the bug
Build fails

To Reproduce
Steps to reproduce the behavior (Code snippets if applicable):

  1. go get github.com/hibiken/asynq/tools/asynq@b3ef9e91a9ce

Expected behavior
Build success and we can use cli tools.

Screenshots
image

Environment (please complete the following information):

  • OS: MacOS
  • go1.16.2
Originally created by @lufishggg on GitHub (Sep 14, 2021). Original GitHub issue: https://github.com/hibiken/asynq/issues/325 Originally assigned to: @hibiken on GitHub. **Describe the bug** Build fails **To Reproduce** Steps to reproduce the behavior (Code snippets if applicable): 1. go get github.com/hibiken/asynq/tools/asynq@b3ef9e91a9ce **Expected behavior** Build success and we can use cli tools. **Screenshots** ![image](https://user-images.githubusercontent.com/31639618/133191717-d4fa638e-50df-40d5-9153-35d99b8b1358.png) **Environment (please complete the following information):** - OS: MacOS - go1.16.2
kerem 2026-03-07 22:06:36 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@crossworth commented on GitHub (Sep 24, 2021):

Hello, sorry for the delay.

You seems to be using redis v7, there was a PR a few days ago that added support for redis v8, maybe updating your redis dependency (if possible), would solve this problem.

Otherwise try using the v0.18.4 version.

https://github.com/hibiken/asynq/pull/298

<!-- gh-comment-id:926585266 --> @crossworth commented on GitHub (Sep 24, 2021): Hello, sorry for the delay. You seems to be using redis v7, there was a PR a few days ago that added support for redis v8, maybe updating your redis dependency (if possible), would solve this problem. Otherwise try using the `v0.18.4` version. https://github.com/hibiken/asynq/pull/298
Author
Owner

@lufishggg commented on GitHub (Sep 26, 2021):

Try not to build in the repo. Just go to a new directory, init a new go module and go get github.com/hibiken/asynq/tools/asynq

<!-- gh-comment-id:927315667 --> @lufishggg commented on GitHub (Sep 26, 2021): Try not to build in the repo. Just go to a new directory, init a new go module and go get github.com/hibiken/asynq/tools/asynq
Author
Owner

@lufishggg commented on GitHub (Sep 26, 2021):

This might be a bug for go module. Try to update the version of github.com/hibiken/asynq from v0.17.1 to v1.18.5 in the go.mod file of module github.com/hibiken/asynq/tools.

https://github.com/hibiken/asynq/blob/master/tools/go.mod:

github.com/hibiken/asynq v0.17.1 => github.com/hibiken/asynq v0.18.5

<!-- gh-comment-id:927316784 --> @lufishggg commented on GitHub (Sep 26, 2021): This might be a bug for go module. Try to update the version of github.com/hibiken/asynq from v0.17.1 to v1.18.5 in the go.mod file of module github.com/hibiken/asynq/tools. https://github.com/hibiken/asynq/blob/master/tools/go.mod: github.com/hibiken/asynq v0.17.1 => github.com/hibiken/asynq v0.18.5
Author
Owner

@hibiken commented on GitHub (Sep 30, 2021):

@lufishggg Thank you for reporting this issue!
Yes, you're right. We should update that go.mod file you referenced, we should remove the replace directive and use the proper version of asynq.

<!-- gh-comment-id:931352345 --> @hibiken commented on GitHub (Sep 30, 2021): @lufishggg Thank you for reporting this issue! Yes, you're right. We should update that `go.mod` file you referenced, we should remove the `replace` directive and use the proper version of asynq.
Author
Owner

@hibiken commented on GitHub (Oct 3, 2021):

@lufishggg Should be able to download the CLI now since I release a new package version. Let me know if you still run into an issue.

<!-- gh-comment-id:932946425 --> @hibiken commented on GitHub (Oct 3, 2021): @lufishggg Should be able to download the CLI now since I release a new package version. Let me know if you still run into an issue.
Author
Owner

@lufishggg commented on GitHub (Oct 6, 2021):

The problem is solved. Thanks!

<!-- gh-comment-id:935256848 --> @lufishggg commented on GitHub (Oct 6, 2021): The problem is solved. Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#1154
No description provided.