remote: [build] Error: process "/bin/sh -c apk add --no-cache 'git>=2.40'" did not complete successfully: stat /var/lib/buildkit/runc-stargz/executor/resolv.conf: structure needs cleaning.
remote: [build] Build failed. Check the logs above for the reason.
remote: [build] If you think this is a CodeCrafters error, please contact us at hello@codecrafters.io
I’m stuck on Stage #Respond to multiple PINGs #WY1
I’ve tried reset git log, copy correct answers.
Here are my logs:
This test run was cancelled because it was waiting on a build that failed.
The build failed with the following error:
[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 10 complete.
[build] Step 11 complete.
[build] Error: process "/bin/sh -c npm ci" did not complete successfully: stat /var/lib/buildkit/runc-stargz/executor/resolv.conf: structure needs cleaning.
[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.
And here’s a snippet of my code:
const net = require("net");
console.log("Logs from your program will appear here!");
const PORT = 6379;
const server = net.createServer((connection) => {
connection.on("data", (data) => {
const dataStrSpl = data.toString().split("\r\n");
const command = dataStrSpl[2];
if (command === "PING") {
connection.write("+PONG\r\n");
} else {
connection.end();
}
});
connection.on("end", () => {
console.log("Client disconnected");
});
});
server.listen(PORT, "127.0.0.1", () => {
console.log(`Server running at ${PORT}`);
});
[build] Error: process "/bin/sh -c bun install --frozen-lockfile" did not complete successfully: stat /var/lib/buildkit/runc-stargz/executor/resolv.conf: structure needs cleaning.
It was all working fine yesterday, I changed nothing that can affect the build. Hope the guys are aware of it and working on a fix.
Hi, I’m currently working on part 4 for git project in rust. When I pushed the changes, it shows the following error, and I don’t think it is related to my code? Thanks.
[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 5 complete.
[build] Step 4 complete.
[build] Step 6 complete.
[build] Step 7 complete.
[build] Error: process "/bin/sh -c apt-get update && apt-get install --no-install-recommends -y git=1:2.* && apt-get clean && rm -rf /var/lib/apt/lists/*" did not complete successfully: stat /var/lib/buildkit/runc-stargz/executor/resolv.conf: structure needs cleaning.
[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.
remote: Streaming build logs...
remote:
remote: [build] Starting build...
remote: [build] If you don't see logs for 60s+, please contact us at hello@codecrafters.io
remote: [build] Step 1 complete.
remote: [build] Step 2 complete.
remote: [build] Step 3 complete.
remote: [build] Step 4 complete.
remote: [build] Step 5 complete.
remote: [build] Step 6 complete.
remote: [build] Step 7 complete.
remote: [build] Error: process "/bin/sh -c apt-get update && apt-get install -y --no-install-recommends golang-go=2:* && rm -rf /var/lib/apt/lists/*" did not complete successfully: stat /var/lib/buildkit/runc-stargz/executor/resolv.conf: structure needs cleaning.
remote: [build] Build failed. Check the logs above for the reason.
remote: [build] If you think this is a CodeCrafters error, please contact us at hello@codecrafters.io.
remote:
remote:
remote: Looks like your codebase failed to build.
remote: If you think this is a CodeCrafters error, please let us know at hello@codecrafters.io.
Hey everyone, sorry about this - looks like a widespread downtime issue, and we didn’t have the proper monitoring for this because it got classified as “build errors” (which could be caused by user error and not a platform bug).
We’ve temporarily patched this so errors shouldn’t be happening anymore. We’ll look into how we can be alerted of these errors better. Thanks to everyone who wrote in and highlighted this!
I’ll leave an update once we’ve added better monitoring for these cases.
We now have better alerting in place. We added an alert specific to the string “structure needs cleaning” + we added alerts for when first-time builds fail.