You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
attempting to install the tool with cargo, I'm getting the following error:
Compiling haddock-restraints v0.7.0
error[E0308]: mismatched types
--> /home/edik/.cargo/registry/src/index.crates.io-6f17d22bba15001f/haddock-restraints-0.7.0/src/sasa.rs:123:38
|
123 | let result = calculate_rust_sasa(&pdbtbx_struct, None, None, SASALevel::Atom).unwrap();
| ------------------- ^^^^^^^^^^^^^^ expected `pdbtbx::structs::pdb::PDB`, found `PDB`
| |
| arguments to this function are incorrect
|
= note: `PDB` and `pdbtbx::structs::pdb::PDB` have similar names, but are actually distinct types
note: `PDB` is defined in crate `pdbtbx`
--> /home/edik/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pdbtbx-0.11.0/src/structs/pdb.rs:35:1
|
35 | pub struct PDB {
| ^^^^^^^^^^^^^^
note: `pdbtbx::structs::pdb::PDB` is defined in crate `pdbtbx`
--> /home/edik/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pdbtbx-0.12.0/src/structs/pdb.rs:37:1
|
37 | pub struct PDB {
| ^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `pdbtbx` are being used?
note: function defined here
--> /home/edik/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rust-sasa-0.2.4/src/lib.rs:236:8
|
236 | pub fn calculate_sasa(
| ^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0308`.
error: could not compile `haddock-restraints` (bin "haddock-restraints") due to 1 previous error
error: failed to compile `haddock-restraints v0.7.0`, intermediate artifacts can be found at `/tmp/cargo-installV32ICh`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
The text was updated successfully, but these errors were encountered:
Hi,
attempting to install the tool with
cargo
, I'm getting the following error:The text was updated successfully, but these errors were encountered: