# Go Build Fails \[Redis Challenge\]

**URL:** <https://forum.codecrafters.io/t/go-build-fails-redis-challenge/916>\
**Category:** Challenges\
**Tags:** challenge:redis\
**Created:** [July 2, 2024, 8:05pm UTC](https://forum.codecrafters.io/t/go-build-fails-redis-challenge/916 "2024-07-02T20:05:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![elordeiro](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/elordeiro/32/730_2.png) [@elordeiro](https://forum.codecrafters.io/u/elordeiro)\
**Post date:** [July 2, 2024, 8:05pm UTC](https://forum.codecrafters.io/t/go-build-fails-redis-challenge/916/1 "2024-07-02T20:05:21Z")

</div>

My programs fails to build when using the tester. I can build and run it fine locally.

I did run go mod tidy locally and it made some changes to the go mod file that says to not edit, but I don’t think that’s the reason.

 ![Screenshot 2024-07-02 at 3.02.31 PM](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/1X/1a429628d779d529497787eb72d809d449124346.png)

---

<div class="post-metadata">

**Author:** ![elordeiro](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/elordeiro/32/730_2.png) [@elordeiro](https://forum.codecrafters.io/u/elordeiro)\
**Post date:** [July 3, 2024, 1:59am UTC](https://forum.codecrafters.io/t/go-build-fails-redis-challenge/916/2 "2024-07-03T01:59:19Z")

</div>

Issue seems to be related to importing other packages. Right now I’m importing

`golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8`

I don’t know if the issue is with this package especifically or with just importing in general. I’ve been using this package for a while now while solving this problem and the last update to the package was in mid June, so I’m thinking this might be an issue with the tester.

---

<div class="post-metadata">

**Author:** ![elordeiro](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/elordeiro/32/730_2.png) [@elordeiro](https://forum.codecrafters.io/u/elordeiro)\
**Post date:** [July 3, 2024, 8:43am UTC](https://forum.codecrafters.io/t/go-build-fails-redis-challenge/916/3 "2024-07-03T08:43:34Z")

</div>

I did notice that go 1.22.5 was just released today and some people were having problems with containerized apps.

Maybe this is related to that?

---

<div class="post-metadata">

**Author:** ![rohitpaulk](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/rohitpaulk/32/6_2.png) [@rohitpaulk](https://forum.codecrafters.io/u/rohitpaulk)\
**Post date:** [July 3, 2024, 1:01pm UTC](https://forum.codecrafters.io/t/go-build-fails-redis-challenge/916/4 "2024-07-03T13:01:36Z")

</div>

@elordeiro thanks for reporting this! Yep, does seem like a transient error. I searched for the error string and I see occurrences from 8PM Jul 2 to 3AM Jul 3 (UTC):

 ![Screenshot 2024-07-03 at 13.59.47](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/1X/3cf21a54f725228d8c469be42e7a1b8e75df9c7b.png)

No occurrences since then though, so I’m guessing whatever this was is resolved now. I’ve added an alert for the text “updating go.mod requires go” so that I’ll be notified if this happens again.

---

<div class="post-metadata">

**Author:** ![rohitpaulk](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/rohitpaulk/32/6_2.png) [@rohitpaulk](https://forum.codecrafters.io/u/rohitpaulk)\
**Post date:** [July 3, 2024, 1:02pm UTC](https://forum.codecrafters.io/t/go-build-fails-redis-challenge/916/5 "2024-07-03T13:02:07Z")

</div>

Gonna mark this as closed until I’m alerted of other occurrences. @elordeiro I’m guessing all’s good and you aren’t still running into this, please let me know if that’s not the case!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/3X/7/0/700657133935c15703e22c7c8870394f6e6dc27d.svg) [@system](https://forum.codecrafters.io/u/system)\
**Post date:** [July 8, 2024, 1:02pm UTC](https://forum.codecrafters.io/t/go-build-fails-redis-challenge/916/6 "2024-07-08T13:02:44Z")

</div>

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.
