Skip to content
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

General: build.rs fails to download DestinyInventoryItemDefinition due to TimedOut #126

Open
2 of 3 tasks
CrazyByDefault opened this issue Jun 28, 2024 · 0 comments
Open
2 of 3 tasks
Labels
bug Something isn't working

Comments

@CrazyByDefault
Copy link

CrazyByDefault commented Jun 28, 2024

Purpose: feature/bug/etc

bug/build failure

Description: give a full description of what your issue entails.

trying to build oracle_engine for the first time, build.rs panicked with -

error: failed to run custom build command for `oracle_engine v8.0.0 (/mydestiny2dir/oracle_engine)`

Caused by:
  process didn't exit successfully: `/mydestiny2dir/oracle_engine/target/debug/build/oracle_engine-4e7040a7d2de012e/build-script-build` (exit status: 101)
  --- stdout
  cargo:warning=downloaded new manifest

  --- stderr
  thread 'main' panicked at build.rs:485:73:
  called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Decode, source: TimedOut }
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Current behavior:

build.rs panics if internet is too slow to download DestinyInventoryItemDefinition from bungie.net

New/Expected behavior:

A timeout larger than 30s would be nice, eh?

Additional and/or supporting info

Issue Progress Checklist:

  • cargo build succeeds
  • PR linked (draft if code is still in progress!)
  • Changes verified by Foundry contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant