Skip to content

Instantly share code, notes, and snippets.

@ShadowNinja
Created January 29, 2017 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ShadowNinja/ed1b58d88867e8dce9951a5af6744cfc to your computer and use it in GitHub Desktop.
Save ShadowNinja/ed1b58d88867e8dce9951a5af6744cfc to your computer and use it in GitHub Desktop.
DEBUG:clap:Parser::propogate_settings;
DEBUG:clap:Parser::get_matches_with;
DEBUG:clap:Parser::create_help_and_version;
DEBUG:clap:Parser::create_help_and_version: Building --help
DEBUG:clap:Parser::create_help_and_version: Building --version
DEBUG:clap:Parser::get_matches_with: Begin parsing '"-o"' ([45, 111])
DEBUG:clap:Parser::is_new_arg: arg="-o", Needs Val of=None
DEBUG:clap:Parser::is_new_arg: Does arg allow leading hyphen...false
DEBUG:clap:Parser::is_new_arg: Starts new arg...-
DEBUG:clap:Parser::is_new_arg: Starts new arg...true
DEBUG:clap:Parser::possible_subcommand: arg="-o"
DEBUG:clap:Parser::parse_short_arg;
DEBUG:clap:Parser::parse_short_arg:iter: short=o
DEBUG:clap:Parser::parse_short_arg:iter: Found valid short opt -o in 'o'
DEBUG:clap:Parser::parse_short_arg:iter: arg: "o", arg_os: "o", full_arg: "-o"
DEBUG:clap:Parser::parse_short_arg:iter: p[0]: [], p[1]: []
DEBUG:clap:Parser::parse_opt;
DEBUG:clap:validate_multiples!;
DEBUG:clap:Parser::parse_optChecking for val...None
DEBUG:clap:ArgMatcher::inc_occurrence_of: arg=out
DEBUG:clap:ArgMatcher::inc_occurrence_of: first instance
DEBUG:clap:Parser::groups_for_arg: name=out
DEBUG:clap:Parser::groups_for_arg: Searching through groups...
Found 'output'
DEBUG:clap:ArgMatcher::inc_occurrences_of: args=["output"]
DEBUG:clap:ArgMatcher::inc_occurrence_of: arg=output
DEBUG:clap:ArgMatcher::inc_occurrence_of: first instance
DEBUG:clap:Parser::parse_opt: More arg vals required...
DEBUG:clap:arg_post_processing!;
DEBUG:clap:OptBuilder::fmt
DEBUG:clap:arg_post_processing!: Is '--out <PATH>' in overrides...No
DEBUG:clap:OptBuilder::fmt
DEBUG:clap:arg_post_processing!: Does '--out <PATH>' have overrides...No
DEBUG:clap:OptBuilder::fmt
DEBUG:clap:arg_post_processing!: Does '--out <PATH>' have conflicts...No
DEBUG:clap:OptBuilder::fmt
DEBUG:clap:arg_post_processing!: Does '--out <PATH>' have requirements... Yes 'media_transfer'
DEBUG:clap:_handle_group_reqs!;
DEBUG:clap:vec_remove!: to_rem="out"
DEBUG:clap:_handle_group_reqs!:iter: grp=output, found=true
thread 'main' panicked at 'index out of bounds: the len is 2 but the index is 3', ../src/libcollections/vec.rs:1362
stack backtrace:
1: 0x55c66b626a7a - std::sys::imp::backtrace::tracing::imp::write::h917062bce4ff48c3
at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/obj/../src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:42
2: 0x55c66b62a8cf - std::panicking::default_hook::{{closure}}::h0bacac31b5ed1870
at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/obj/../src/libstd/panicking.rs:247
3: 0x55c66b628c46 - std::panicking::default_hook::h5897799da33ece67
at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/obj/../src/libstd/panicking.rs:263
4: 0x55c66b629297 - std::panicking::rust_panic_with_hook::h109e116a3a861224
at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/obj/../src/libstd/panicking.rs:451
5: 0x55c66b629124 - std::panicking::begin_panic::hbb38be1379e09df0
at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/obj/../src/libstd/panicking.rs:413
6: 0x55c66b629049 - std::panicking::begin_panic_fmt::h26713cea9bce3ab0
at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/obj/../src/libstd/panicking.rs:397
7: 0x55c66b628fd7 - rust_begin_unwind
at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/obj/../src/libstd/panicking.rs:373
8: 0x55c66b66231d - core::panicking::panic_fmt::hcfbb59eeb7f27f75
at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/obj/../src/libcore/panicking.rs:69
9: 0x55c66b6622c8 - core::panicking::panic_bounds_check::h155238769b791565
at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/obj/../src/libcore/panicking.rs:56
10: 0x55c66b559e75 - <collections::vec::Vec<T> as core::ops::Index<usize>>::index::ha71559342f59f16b
at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/obj/../src/libcollections/vec.rs:1362
11: 0x55c66b5a4cd0 - clap::app::parser::Parser::parse_short_arg::hbd3166a7c4582452
at /home/.../.cargo/registry/src/github.com-1ecc6299db9ec823/clap-2.20.0/src/app/parser.rs:1448
12: 0x55c66b584efc - clap::app::parser::Parser::get_matches_with::hcb244d653217a469
at /home/.../.cargo/registry/src/github.com-1ecc6299db9ec823/clap-2.20.0/src/app/parser.rs:844
13: 0x55c66b5ec37d - clap::app::App::get_matches_from_safe_borrow::h07e1f1cb4d89304f
at /home/.../.cargo/registry/src/github.com-1ecc6299db9ec823/clap-2.20.0/src/app/mod.rs:1365
14: 0x55c66b5ebe79 - clap::app::App::get_matches_from::h04197ea4a35e21ed
at /home/.../.cargo/registry/src/github.com-1ecc6299db9ec823/clap-2.20.0/src/app/mod.rs:1264
15: 0x55c66b5ebd6c - clap::app::App::get_matches::h4477006903809119
at /home/.../.cargo/registry/src/github.com-1ecc6299db9ec823/clap-2.20.0/src/app/mod.rs:1207
16: 0x55c66b48a735 - mt_media_collector::main::hfda3d8475b9e04a9
at /home/.../clap_example_app/src/main.rs:4
17: 0x55c66b6323aa - __rust_maybe_catch_panic
at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/obj/../src/libpanic_unwind/lib.rs:97
18: 0x55c66b629cb5 - std::rt::lang_start::hd661476ce2fc2931
at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/obj/../src/libstd/panicking.rs:332
at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/obj/../src/libstd/panic.rs:351
at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/obj/../src/libstd/rt.rs:57
19: 0x55c66b48a912 - main
20: 0x7fcac45772b0 - __libc_start_main
21: 0x55c66b481d39 - _start
22: 0x0 - <unknown>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment