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

try to add gfabase recipe #16

Closed
wants to merge 9 commits into from
Closed

try to add gfabase recipe #16

wants to merge 9 commits into from

Conversation

aryarm
Copy link
Owner

@aryarm aryarm commented Nov 15, 2024

No description provided.

@aryarm
Copy link
Owner Author

aryarm commented Nov 15, 2024

Here are the errors:

21:58:18 BIOCONDA INFO (ERR) error[E0308]: mismatched types
21:58:18 BIOCONDA INFO (ERR)   --> src/main.rs:99:64
21:58:18 BIOCONDA INFO (ERR)    |
21:58:18 BIOCONDA INFO (ERR) 99 |         SubCommand::AddMappings(subopts) => add_mappings::main(subopts),
21:58:18 BIOCONDA INFO (ERR)    |                                             ------------------ ^^^^^^^ expected `&Opts`, found `Opts`
21:58:18 BIOCONDA INFO (ERR)    |                                             |
21:58:18 BIOCONDA INFO (ERR)    |                                             arguments to this function are incorrect
21:58:18 BIOCONDA INFO (ERR)    |
21:58:18 BIOCONDA INFO (ERR) note: function defined here
21:58:18 BIOCONDA INFO (ERR)   --> src/add_mappings.rs:47:8
21:58:18 BIOCONDA INFO (ERR)    |
21:58:18 BIOCONDA INFO (ERR) 47 | pub fn main(opts: &Opts) -> Result<()> {
21:58:18 BIOCONDA INFO (ERR)    |        ^^^^ -----------
21:58:18 BIOCONDA INFO (ERR) help: consider borrowing here
21:58:18 BIOCONDA INFO (ERR)    |
21:58:18 BIOCONDA INFO (ERR) 99 |         SubCommand::AddMappings(subopts) => add_mappings::main(&subopts),
21:58:18 BIOCONDA INFO (ERR)    |                                                                +
21:58:18 BIOCONDA INFO (ERR) error[E0432]: unresolved import `clap::Clap`
21:58:18 BIOCONDA INFO (ERR)  --> src/main.rs:2:5
21:58:18 BIOCONDA INFO (ERR)   |
21:58:18 BIOCONDA INFO (ERR) 2 | use clap::Clap;
21:58:18 BIOCONDA INFO (ERR)   |     ^^^^^^^^^^ no `Clap` in the root
21:58:18 BIOCONDA INFO (ERR) error[E0599]: no function or associated item named `parse` found for struct `Opts` in the current scope
21:58:18 BIOCONDA INFO (ERR)   --> src/main.rs:50:26
21:58:18 BIOCONDA INFO (ERR)    |
21:58:18 BIOCONDA INFO (ERR) 18 | struct Opts {
21:58:18 BIOCONDA INFO (ERR)    | ----------- function or associated item `parse` not found for this struct
21:58:18 BIOCONDA INFO (ERR) ...
21:58:18 BIOCONDA INFO (ERR) 50 |     let mut opts = Opts::parse();
21:58:18 BIOCONDA INFO (ERR)    |                          ^^^^^ function or associated item not found in `Opts`
21:58:18 BIOCONDA INFO (ERR)    |
21:58:18 BIOCONDA INFO (ERR)    = help: items from traits can only be used if the trait is implemented and in scope
21:58:18 BIOCONDA INFO (ERR)    = note: the following traits define an item `parse`, perhaps you need to implement one of them:
21:58:18 BIOCONDA INFO (ERR)            candidate #1: `Parser`
21:58:18 BIOCONDA INFO (ERR)            candidate #2: `TypedValueParser`
21:58:18 BIOCONDA INFO (ERR)            candidate #3: `pest::parser::Parser`

@aryarm aryarm closed this Nov 15, 2024
@aryarm aryarm deleted the gfabase branch November 15, 2024 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant