panic when run without subcommand in most obvious way
Without any config file. Repro'd with ef374c92. Reported by @beth.
zealot:arti> nailing-cargo run --bin arti
nailing-cargo: out-of-tree, git, building in: `/home/ian/Rustup/Arti/Build/arti'
nailing-cargo: using really to run as user `rustcargo'
nailing-cargo: *WARNING* cwd is not in Cargo.nail thbough it has Cargo.toml!
nailing-cargo: nailed (2 manifests, 2 packages)
nailing-cargo: invoking: cargo run --locked --offline --bin arti
Finished dev [unoptimized + debuginfo] target(s) in 0.48s
Running `target/debug/arti`
thread 'main' panicked at crates/arti/src/lib.rs:602:9:
Subcommand added to clap subcommand list, but not yet implemented
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2024-03-04T16:03:02Z ERROR arti::logging: Panic at crates/arti/src/lib.rs:602:9: Subcommand added to clap subcommand list, but not yet implemented
0: arti::logging::install_panic_handler::{{closure}}
at crates/arti/src/logging.rs:286:25
1: <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call
at /rustc/f2043422f7b161a2fc1a00589a8c4956db963450/library/alloc/src/boxed.rs:2029:9
std::panicking::rust_panic_with_hook
at /rustc/f2043422f7b161a2fc1a00589a8c4956db963450/library/std/src/panicking.rs:785:13
2: std::panicking::begin_panic_handler::{{closure}}
at /rustc/f2043422f7b161a2fc1a00589a8c4956db963450/library/std/src/panicking.rs:651:13
3: std::sys_common::backtrace::__rust_end_short_backtrace
at /rustc/f2043422f7b161a2fc1a00589a8c4956db963450/library/std/src/sys_common/backtrace.rs:171:18
4: rust_begin_unwind
at /rustc/f2043422f7b161a2fc1a00589a8c4956db963450/library/std/src/panicking.rs:647:5
5: core::panicking::panic_fmt
at /rustc/f2043422f7b161a2fc1a00589a8c4956db963450/library/core/src/panicking.rs:72:14
6: arti::main_main
at crates/arti/src/lib.rs:602:9
7: arti::main
at crates/arti/src/lib.rs:632:11
8: arti::main
at crates/arti/src/main.rs:46:5
9: core::ops::function::FnOnce::call_once
at /rustc/f2043422f7b161a2fc1a00589a8c4956db963450/library/core/src/ops/function.rs:250:5
10: std::sys_common::backtrace::__rust_begin_short_backtrace
at /rustc/f2043422f7b161a2fc1a00589a8c4956db963450/library/std/src/sys_common/backtrace.rs:155:18
11: std::rt::lang_start::{{closure}}
at /rustc/f2043422f7b161a2fc1a00589a8c4956db963450/library/std/src/rt.rs:166:18
12: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
at /rustc/f2043422f7b161a2fc1a00589a8c4956db963450/library/core/src/ops/function.rs:284:13
std::panicking::try::do_call
at /rustc/f2043422f7b161a2fc1a00589a8c4956db963450/library/std/src/panicking.rs:554:40
std::panicking::try
at /rustc/f2043422f7b161a2fc1a00589a8c4956db963450/library/std/src/panicking.rs:518:19
std::panic::catch_unwind
at /rustc/f2043422f7b161a2fc1a00589a8c4956db963450/library/std/src/panic.rs:142:14
std::rt::lang_start_internal::{{closure}}
at /rustc/f2043422f7b161a2fc1a00589a8c4956db963450/library/std/src/rt.rs:148:48
std::panicking::try::do_call
at /rustc/f2043422f7b161a2fc1a00589a8c4956db963450/library/std/src/panicking.rs:554:40
std::panicking::try
at /rustc/f2043422f7b161a2fc1a00589a8c4956db963450/library/std/src/panicking.rs:518:19
std::panic::catch_unwind
at /rustc/f2043422f7b161a2fc1a00589a8c4956db963450/library/std/src/panic.rs:142:14
std::rt::lang_start_internal
at /rustc/f2043422f7b161a2fc1a00589a8c4956db963450/library/std/src/rt.rs:148:20
13: std::rt::lang_start
at /rustc/f2043422f7b161a2fc1a00589a8c4956db963450/library/std/src/rt.rs:165:17
14: main
15: __libc_start_main
at /build/glibc-6iIyft/glibc-2.28/csu/../csu/libc-start.c:308:16
16: _start
nailing-cargo: really failed (exit status 25856)
nailing-cargo: unnailed. status 101.
zealot:arti>