magnusmanske / magnusmanske/gff_diff

Issue installing

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Tried to install for looking at the reconciliation of some GFF structural changes but getting errors in the cargo build --release

Compiling gff_diff v0.1.0 (/Users/gff_diff)
error[E0308]: mismatched types
--> src/lib.rs:353:62
|
353 | self.compare_attributes(&id, key, value, r2a, CompareMode::Forward, &result);
| ^^^ expected struct `multimap::MultiMap`, found a different struct `multimap::MultiMap`
|
= note: expected type `&multimap::MultiMap` (struct `multimap::MultiMap`)
found type `&multimap::MultiMap` (struct `multimap::MultiMap`)
note: Perhaps two different versions of crate `multimap` are being used?
--> src/lib.rs:353:62
|
353 | self.compare_attributes(&id, key, value, r2a, CompareMode::Forward, &result);
| ^^^

error[E0308]: mismatched types
--> src/lib.rs:357:62
|
357 | self.compare_attributes(&id, key, value, r1a, CompareMode::Reverse, &result);
| ^^^ expected struct `multimap::MultiMap`, found a different struct `multimap::MultiMap`
|
= note: expected type `&multimap::MultiMap` (struct `multimap::MultiMap`)
found type `&multimap::MultiMap` (struct `multimap::MultiMap`)
note: Perhaps two different versions of crate `multimap` are being used?
--> src/lib.rs:357:62
|
357 | self.compare_attributes(&id, key, value, r1a, CompareMode::Reverse, &result);
| ^^^

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0308`.
error: Could not compile `gff_diff`.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running cargo build --release and inspect the dependency resolution related to the multimap mismatch reported at src/lib.rs:353 and src/lib.rs:357. Done means the project builds successfully without the E0308 errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.