[mpech@lambda pijul]$ cargo test
...
...
warning: unused variable: `interaction_type`
--> pijul/tests/common/mod.rs:79:17
|
79 | let interaction_type = second_attempt.input;
| ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interaction_type`
|
= note: `#[warn(unused_variables)]` on by default
warning: unused variable: `interaction_type`
--> pijul/tests/common/mod.rs:80:39
|
80 | if !matches!(&self.input, interaction_type) {
| ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interaction_type`
Compiling libpijul v1.0.0-beta.9 (/home/mpech/pijul/libpijul)
warning: `pijul` (test "identity") generated 2 warnings (run `cargo fix --test "identity"` to apply 2 suggestions)
error[E0061]: this function takes 4 arguments but 3 arguments were supplied
--> libpijul/src/tests/diff.rs:71:23
|
71 | let mut ret = retrieve(&*txn.read(), txn.read().graph(&*channel.read()), vertex)?;
| ^^^^^^^^---------------------------------------------------------- an argument of type `bool` is missing
|
note: function defined here
--> libpijul/src/alive/retrieve.rs:6:8
|
6 | pub fn retrieve<T: GraphTxnT>(
| ^^^^^^^^
7 | txn: &T,
| -------
8 | channel: &T::Graph,
| ------------------
9 | pos0: Position<ChangeId>,
| ------------------------
10 | include_deleted: bool,
| ---------------------
help: provide the argument
|
71 | let mut ret = retrieve(&*txn.read(), txn.read().graph(&*channel.read()), vertex, /* bool */)?;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For more information about this error, try `rustc --explain E0061`.
error: could not compile `libpijul` (lib test) due to previous error
[mpech@lambda pijul]$