I am trying to install Pijul on a Raspberry Pi via “cargo”. This fails, as the “line” crate does not build:
Compiling line v0.1.2
Running `rustc --crate-name line /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/line-0.1.2/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=6bb7bdd0175c5ad6 -C extra-filename=-6bb7bdd0175c5ad6 --out-dir /tmp/cargo-install.uMKISrATkB5v/release/deps -L dependency=/tmp/cargo-install.uMKISrATkB5v/release/deps --extern libc=/tmp/cargo-install.uMKISrATkB5v/release/deps/liblibc-ad61a5f1c544ff16.rlib --extern utf8parse=/tmp/cargo-install.uMKISrATkB5v/release/deps/libutf8parse-bc66f75cd17075c3.rlib --cap-lints allow`
error[E0308]: mismatched types
--> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/line-0.1.2/src/unix.rs:9:27
|
9 | if libc::ioctl(1, libc::TIOCGWINSZ as u64, &mut size) == 0 {
| ^^^^^^^^^^^^^^^^^^^^^^^ expected u32, found u64
error: aborting due to previous error
error: failed to compile `pijul v0.10.1`, intermediate artifacts can be found at `/tmp/cargo-install.uMKISrATkB5v`
Caused by:
Could not compile `line`.
Caused by:
process didn't exit successfully: `rustc --crate-name line /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/line-0.1.2/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=6bb7bdd0175c5ad6 -C extra-filename=-6bb7bdd0175c5ad6 --out-dir /tmp/cargo-install.uMKISrATkB5v/release/deps -L dependency=/tmp/cargo-install.uMKISrATkB5v/release/deps --extern libc=/tmp/cargo-install.uMKISrATkB5v/release/deps/liblibc-ad61a5f1c544ff16.rlib --extern utf8parse=/tmp/cargo-install.uMKISrATkB5v/release/deps/libutf8parse-bc66f75cd17075c3.rlib --cap-lints allow` (exit code: 101)