-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Run e2e test for release build and fix it by switching back to stable #818
Conversation
Hmmm, I suspect the error is not caused by #817 since macos and windows CI also failed. |
It seems like a dns issue of https://crates.io since we have been using trust-dns-resolver v0.22.0 for a long time and the failure is all related to dns failure. But then I don't understand why the debug build succeeded. On MacOS it failed with:
On Linux it failed with:
On Windows, it has been stuck for 1h. |
Could it be that #774 is responsible for this? On MacOS there's a "failed to load certificate error". But then I'm still not sure why Linux and Windows release build failed. |
hmm we shouldn't really be checking extension, I believe der has a magic number, we can see that. or just try der then fallback to pem |
I've found one crate |
Sure, or we could check the first two bytes, and if they're |
But then we still need to determine whether it's pem or reject it. |
f90e389
to
a7434fb
Compare
The mysterious error is still there: macos:
linux:
and then windows is stuck forever. Since they all happened when downloading from https://crates.io, I suspect this to be an upstream bug in crates_io_api. |
a7434fb
to
b87ed1e
Compare
I am unable to reproduce this on my M1 Macbook air. @passcod If you are free, can you try reproducing the error in the CI using please:
|
My
I will try to update it and see if it causes the release build to fail. |
Upgrading to:
cause the release build to fail, can confirm this is a regression in rustc nightly now, though I don't know what caused the regression. I would probably open a channel in zulip. |
I know it's a bit slower and doesn't have the buildstd etc but using stable to build would probably save us a chunk of time spent debugging this stuff. |
I can't even build the current |
It's actually miropt level 4 that causes the mis-compilation here and I've disabled it. |
Now blocked on upstream rust-cross/cargo-zigbuild#94 |
Looks like this is another regression on rustc nightly. @passcod I really want to remove all |
I opened rust-lang/rust#108392 at upstream for this. |
Yeah I think I was mistaken on the build-std x debuginfo stuff, I'll investigate that. |
🏅 ! |
This warning is also interesting. |
05f25d9
to
fbca3ce
Compare
To reproduce error in CI:
|
Turns out that build-std is not required and I've now trying to switch back to stable. |
Signed-off-by: Jiahao XU <[email protected]>
Signed-off-by: Jiahao XU <[email protected]>
Signed-off-by: Jiahao XU <[email protected]>
Signed-off-by: Jiahao XU <[email protected]>
Signed-off-by: Jiahao XU <[email protected]>
Signed-off-by: Jiahao XU <[email protected]>
Signed-off-by: Jiahao XU <[email protected]>
Signed-off-by: Jiahao XU <[email protected]>
a247848
to
56d8977
Compare
Plus printing
RUSTFLAGS
for justfile target build & checkSigned-off-by: Jiahao XU [email protected]