-
Notifications
You must be signed in to change notification settings - Fork 212
Streampager build failure due to flaky dependency failure #1247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
SIGKILL most likely means your crate ran out of memory when compiling. How much memory does it take to compile |
Max RSS from The failure actually happens before it even gets to the I suspect some noisy neighbour caused the build to fail (perhaps by exhausting host memory), and if you tried the build again it would work fine. I don't know if you can kick off another build. It seems the only way I could do it myself would be to release 0.9.3. |
I tested building locally and saw the same spike and SIGKILL happen. The crate which I saw spike the most was |
Ok. So it looks like it's a bit non-deterministic depending on what happens in parallel. For example 0.9.1 (https://docs.rs/crate/streampager/0.9.1/builds) built fine despite being essentially the same code. I noticed that wezterm has a 5GB limit rather than the default 3GB. Maybe streampager needs a higher limit, too? Can that be changed? Alternatively we could build fewer things in parallel. Is there a setting I can change for that? |
I would rather fix this upstream in rustc rather than having to special case every crate that depends on wezterm. I opened rust-lang/rust#81124. |
docs.rs currently always uses -j2; since |
Requeued and rebuilt: https://docs.rs/streampager/0.9.2/streampager/ I guess the memory improvements are working :) |
Crate name: streampager
Build failure link: https://docs.rs/crate/streampager/0.9.2/builds/336810
Additional details:
Version 0.9.2 failed to build, despite this being a minor cfg-attribute change over 0.9.1 which built fine.
It looks like the problem was during building of the
pest_meta
2.1.3 dependency, which built fine in the previous version, and also built fine itself.The text was updated successfully, but these errors were encountered: