rustyscreeps / cargo-screeps

Build tool for deploying Rust WASM code to Screeps game servers
MIT License
25 stars 13 forks source link

Cannot specify config file on command line #47

Closed smessmer closed 6 months ago

smessmer commented 7 months ago

cargo screeps-screeps 0.5.2

$ RUST_BACKTRACE=1 cargo screeps -c ./screeps.toml deploy                                                                                                             120ms thread 'main' panicked at /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.5.1/src/parser/error.rs:32:9:
Mismatch between definition and access of `config`. Could not downcast to TypeId { t: 81906334817959367255345077967996862935 }, need to downcast to TypeId { t: 42966343538335219590177265727833432740 }

stack backtrace:
   0: rust_begin_unwind
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
   1: core::panicking::panic_fmt
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
   2: cargo_screeps::setup::setup_cli
   3: cargo_screeps::run::run
   4: cargo_screeps::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.