Description
When I build feather I got this error:
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
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
|
.timeout(Duration::from_secs(10)) |
the duration to 60, it builds fine. That means the file has to be downloaded in max 10 seconds.
Reproduction Steps
- Have a slow internet
- Build feather
What You Expected to Happen
Successful build.
Your Environment
- Operating System: Debian
- Operating System Version: Debian GNU/Linux 10 (buster)
- Feather Version: latest commit: df3a3a4
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
feather/feather/datapacks/vanilla_assets/src/lib.rs
Line 36 in df3a3a4
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