error: failed to run custom build command for `feather-datapacks v0.1.0 (/home/lukas/rust/feather/feather/datapacks)`
Caused by:
process didn't exit successfully: `/home/lukas/rust/feather/target/debug/build/feather-datapacks-1cf8e9c030678bb2/build-script-build` (exit status: 1)
--- stderr
Error: please make sure you have an Internet connection.
Caused by:
0: failed to download vanilla server JAR
1: timed out reading response
warning: build failed, waiting for other jobs to finish...
error: build failed
Description
When I build feather I got this error:
Well my internet works fine. It looks like the function timeout also sets the time limit in which the file has to be downloaded. After changing https://github.com/feather-rs/feather/blob/df3a3a4ae42b0717dd0c50ec3bf3804aed0936c6/feather/datapacks/vanilla_assets/src/lib.rs#L36 the duration to 60, it builds fine. That means the file has to be downloaded in max 10 seconds.
Reproduction Steps
What You Expected to Happen
Successful build.
Your Environment