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

move-package-manager panicked in spectest command #3229

Closed
zhutoulala opened this issue Feb 20, 2022 · 1 comment · Fixed by #3334
Closed

move-package-manager panicked in spectest command #3229

zhutoulala opened this issue Feb 20, 2022 · 1 comment · Fixed by #3334
Assignees
Labels
bug Something isn't working

Comments

@zhutoulala
Copy link
Contributor

It's seen on both Mac and Linux. Perhaps coming from

test_opts: datatest_stable::TestOpts,

thread 'main' panicked at 'Argument long must be unique

        --test is already in use', /home/peter/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/clap-2.34.0/src/app/parser.rs:183:13
stack backtrace:
   0: rust_begin_unwind
             at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:517:5
   1: std::panicking::begin_panic_fmt
             at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:460:5
   2: clap::app::parser::Parser::debug_asserts
             at /home/peter/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/clap-2.34.0/src/app/parser.rs:183:13
   3: clap::app::parser::Parser::add_arg_ref
             at /home/peter/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/clap-2.34.0/src/app/parser.rs:324:23
   4: clap::app::parser::Parser::propagate_globals
             at /home/peter/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/clap-2.34.0/src/app/parser.rs:677:21
   5: clap::app::App::get_matches_from_safe_borrow
             at /home/peter/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/clap-2.34.0/src/app/mod.rs:1611:13
   6: clap::app::App::get_matches_from
             at /home/peter/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/clap-2.34.0/src/app/mod.rs:1522:9
   7: clap::app::App::get_matches
             at /home/peter/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/clap-2.34.0/src/app/mod.rs:1463:9
   8: structopt::StructOpt::from_args
             at /home/peter/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/structopt-0.3.26/src/lib.rs:1147:26
   9: mpm::main
             at /mnt/c/Users/peter/bash/starcoin/vm/move-package-manager/src/main.rs:70:28
  10: core::ops::function::FnOnce::call_once
             at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ops/function.rs:227:5```
@zhutoulala zhutoulala added the bug Something isn't working label Feb 20, 2022
@jolestar
Copy link
Member

--test option is repeat in move_args.build_config.test_mode cmd.transactionalTest.test_opts.test, should we keep which one? @lerencao

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
Development

Successfully merging a pull request may close this issue.

3 participants