Cant downgrade to alpha.34 too:
Compiling reqwest v0.11.0
Compiling pijul v1.0.0-alpha.34
error[E0308]: mismatched types
--> /home/mpech/.cargo/registry/src/github.com-1ecc6299db9ec823/pijul-1.0.0-alpha.34/src/commands/pushpull.rs:313:46
|
313 | if txn.channel_has_state(&channel.borrow(), m)?.is_some() {
| ^^^^^^^^^^^^^^^^^ expected struct `sanakirja::Db`, found struct `std::cell::Ref`
|
= note: expected reference `&sanakirja::Db<Merkle, u64>`
found reference `&std::cell::Ref<'_, libpijul::pristine::sanakirja::Channel>`
error[E0308]: mismatched types
--> /home/mpech/.cargo/registry/src/github.com-1ecc6299db9ec823/pijul-1.0.0-alpha.34/src/commands/pushpull.rs:340:50
|
340 | if txn.channel_has_state(&channel.borrow(), m)?.is_some() {
| ^^^^^^^^^^^^^^^^^ expected struct `sanakirja::Db`, found struct `std::cell::Ref`
|
= note: expected reference `&sanakirja::Db<Merkle, u64>`
found reference `&std::cell::Ref<'_, libpijul::pristine::sanakirja::Channel>`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0308`.
error: failed to compile `pijul v1.0.0-alpha.34`, intermediate artifacts can be found at `/tmp/cargo-installhx1Am1`
Caused by:
could not compile `pijul`
To learn more, run the command again with --verbose.
HR3WK6A7KKILCHI2CD2BZSZQJUS44MJIT2K3WPKJBHUXGRKAQDRQC
SN7AGY6SLIWVKLBHQQ2MZ7VYY4BBFKROC5F3M6FVVFIGT25QNX7AC
HSVGP2G4D2F56DS3YKZLSYPS4A5BNGH4NTAXAOZ57OCXFM3E5AYAC
Fixed, thanks!
This bug was due to a timeout in pijul lock
, which would clean things up if the command that called pijul lock
crashed. But this turned into “always exit after one second”.
Fixed.
pijul alpha.35 from crates cant clone no matter HTTPS or SSH