[Rust - redis] Problem with building rust version 1.76

Recently I saw the new additions to the redis challenge and decided to continue my year-old challenge repo. After pushing some code to build though I encountered an exception that seems caused by debian shutting down their repositories and since the docker image used for rust 1.76 is debian based that sounds like a reasonable issue, I tried just changing the rust version in the codecrafters.yml file but the test runners prohibit it. To double check that the problem was connected to the dockerfile I also restarded (v.1.88)the challenge, pushed the same code and it build without issue.Could I ask anyone to look into it, update the dockerfile debian versions and save me having to repush the same code 44 times just to get to the same spot?Thanks, following you’ll find the build error logs.

[build] Starting build…
[build] If you don’t see logs for 60s+, please contact us at ``hello@codecrafters.io
[build] Step 1 complete.
[build] Step 2 complete.
[build] Step 3 complete.
[build] Step 4 complete.
[build] Step 5 complete.
[build] Step 6 complete.
[build] Step 7 complete.
[build] Step 8 complete.
[build] Step 9 complete.
[build] Step 8 complete.
[build] Step 9 complete.
[build] > Ign:1 http://deb.debian.org/debian` buster InRelease [build] > Ign:2 http://deb.debian.org/debian-security buster/updates InRelease [build] > Ign:3 http://deb.debian.org/debian buster-updates InRelease [build] > Err:4 http://deb.debian.org/debian buster Release [build] > 404 Not Found [IP: 146.75.34.132 80] [build] > Err:5 http://deb.debian.org/debian-security buster/updates Release [build] > 404 Not Found [IP: 146.75.34.132 80] [build] > Err:6 http://deb.debian.org/debian buster-updates Release [build] > 404 Not Found [IP: 146.75.34.132 80] [build] > Reading package lists… [build] > E: The repository ā€˜ http://deb.debian.org/debian buster Release’ does not have a Release file. [build] > E: The repository ā€˜ http://deb.debian.org/debian-security buster/updates Release’ does not have a Release file. [build] > E: The repository ā€˜ http://deb.debian.org/debian buster-updates Release’ does not have a Release file. [build] Error: process ā€œ/bin/sh -c apt-get update && apt-get install -y git curlā€ did not complete successfully: exit code: 100. [build] > Err:4 http://deb.debian.org/debian buster Release [build] > 404 Not Found [IP: 146.75.34.132 80] [build] > Err:5 http://deb.debian.org/debian-security buster/updates Release [build] > 404 Not Found [IP: 146.75.34.132 80] [build] > Err:6 http://deb.debian.org/debian buster-updates Release [build] > 404 Not Found [IP: 146.75.34.132 80] [build] > Reading package lists… [build] > E: The repository ā€˜ http://deb.debian.org/debian buster Release’ does not have a Release file. [build] > E: The repository ā€˜ http://deb.debian.org/debian-security buster/updates Release’ does not have a Release file. [build] > E: The repository ā€˜ http://deb.debian.org/debian buster-updates Release’ does not have a Release file. [build] Build failed. Check the logs above for the reason. [build] If you think this is a CodeCrafters error, please contact us at hello@codecrafters.io.`

Hey @Sibo9436, I’ve upgraded the buildpack to v1.88 and pushed a few commits to your repo. You can run git pull to sync the changes.

Let me know if you hit any issues after pulling.

Yes everything works perfectly now than you!

1 Like