You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use sccache on Windows to build on our CI servers, and we really like it, as it sped up our builds by a factor of 2. However, sometimes (about once a month) it crashes mid-build with the following message:
sccache: error: failed to execute compile
sccache: caused by: error reading compile response from server
sccache: caused by: Failed to read response header
sccache: caused by: An existing connection was forcibly closed by the remote host. (os error 10054)
When we last ran into this issue, we set up some logging this way:
SCCACHE_LOG="debug,sccache::config=off" // we want to disable the "could not read config file" message, as it clutters up the output
SCCACHE_ERROR_LOG="C:/...snip..."
RUST_LOG_STYLE="never"
On the client side, it resulted in only one more line (printed for every sccache invocation, including the failing one):
[2022-01-15T04:14:10Z DEBUG sccache::commands] Server sent CompileStarted
At the end of the server's logfile, we can see this (I removed the actual argument lists as they may contain sensitive data):
@luser, it looks like mio-named-pipes was removed as a dependency in 144eb0f.
I'm also seeing this crash, much more regularly, when using sccache with Chromium. It looks like the last release was a year ago, are there plans to cut a new release any time soon? At least with mio-named-pipes no longer being present the crash will either be fixed, or shift into mio itself.
This Windows build finally failed again with logging enabled and it turns out to be mozilla/sccache#1098
This version removes the faulting dependency so it should hopefully fix the issue.
We use sccache on Windows to build on our CI servers, and we really like it, as it sped up our builds by a factor of 2. However, sometimes (about once a month) it crashes mid-build with the following message:
When we last ran into this issue, we set up some logging this way:
On the client side, it resulted in only one more line (printed for every
sccache
invocation, including the failing one):At the end of the server's logfile, we can see this (I removed the actual argument lists as they may contain sensitive data):
Any idea what may have caused these crashes, or what other logging we could turn on to gather more information?
The text was updated successfully, but these errors were encountered: