Skip to content

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

Open
@CrazyByDefault

Description

@CrazyByDefault

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions