Fetching git dependency crashes build
# help
g
When I try to redeploy my serenity bot, the Shuttle builder crashes when it tries to fetch the serenity repo.
Copy code
2023-05-26T23:26:56.666730297Z  INFO Entering building state
2023-05-26T23:26:59.879154060Z  INFO     Updating `shuttle-crates-io-mirror` index
2023-05-26T23:26:59.994664332Z  INFO     Updating git repository `https://github.com/Brendonovich/prisma-client-rust`
2023-05-26T23:27:01.059305833Z  INFO     Updating git repository `https://github.com/serenity-rs/serenity`

2023-05-26T23:27:04.091984054Z  INFO Entering crashed state
2023-05-26T23:27:04.092030797Z ERROR {error="Build error: failed to get `serenity` as a dependency of package `wallace-minion v0.10.8 (/opt/shuttle/shuttle-builds/wallace-minion)`"} shuttle_deployer::deployment::queue: service build encountered an error
a
was serenity updated recently?
g
I depend on their
next
branch, but I didn't update the commit hash since the last deploy.
So this is a repetition of what has worked previously
a
Might be worth checking the commit hash just in case maybe?
g
Yeah, looks like they rebased it. Yep, that was it. Updated the branch and it works.