rust-lang / docs.rs

crates.io documentation generator
https://docs.rs
MIT License
956 stars 193 forks source link

hyper-rustls 0.27.1 build failed #2513

Closed djc closed 1 month ago

djc commented 1 month ago

Crate name

hyper-rustls

Build failure link

https://docs.rs/crate/hyper-rustls/0.27.1/builds/1185949

Additional details

No response

syphar commented 1 month ago

Hi,

it looks like the issue is with aws-lc-fips-sys, which tries to write to the / root directory.

I'm on the jump and from the top of my head I'm not 100% certain which directories are writable in the container, apart from cargo's OUT_DIR, my guess is that /tmp is probably a better bet for caches than /.cache.

( I'll leave this issue open and try to find some time to test / research this for our documentation )

ctz commented 1 month ago

See https://github.com/rust-lang/docs.rs/issues/1303 & https://github.com/rustls/rustls/pull/1827

I think we have actually addressed this in https://github.com/rustls/hyper-rustls/pull/273 but not yet released a 0.27.2

djc commented 1 month ago

We published 0.27.2, and the build completed okay. Impressive how fast the build got done!