=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for rterm-0.0.6 Compiling pkg-config v0.3.19 Compiling cc v1.0.69 Compiling libc v0.2.98 Compiling proc-macro2 v1.0.28 Compiling unicode-xid v0.2.2 Compiling autocfg v1.0.1 Compiling bitflags v1.2.1 Compiling rterm v0.0.6 (/usr/pkgsrc/x11/rterm/work/rterm-0.0.6) Compiling cfg-if v1.0.0 Compiling arrayvec v0.5.2 Compiling utf8parse v0.2.0 Compiling unicode-width v0.1.8 Compiling servo-fontconfig-sys v5.1.0 Compiling x11 v2.18.2 Compiling cmake v0.1.45 Compiling memoffset v0.6.4 Compiling freetype-sys v0.13.1 Compiling expat-sys v2.1.6 Compiling quote v1.0.9 Compiling vte_generate_state_changes v0.1.1 Compiling nix v0.22.0 Compiling vte v0.10.1 Compiling servo-fontconfig v0.5.1 error[E0308]: mismatched types --> src/win.rs:238:58 | 238 | x11::XChangeWindowAttributes(self.dpy, self.win, x11::CW_EVENT_MASK, self.attributes); | ^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` | help: you can convert a `u32` to a `u64` | 238 | x11::XChangeWindowAttributes(self.dpy, self.win, x11::CW_EVENT_MASK.into(), self.attributes); | +++++++ error[E0308]: mismatched types --> src/win.rs:696:33 | 696 | let len = (nitems * (format as u64) / 8) as usize; | ^^^^^^^^^^^^^^^ expected `u32`, found `u64` error[E0277]: cannot multiply `u32` by `u64` --> src/win.rs:696:31 | 696 | let len = (nitems * (format as u64) / 8) as usize; | ^ no implementation for `u32 * u64` | = help: the trait `Mul` is not implemented for `u32` error[E0308]: mismatched types --> src/win.rs:704:34 | 704 | ofs += (nitems * (format as u64) / 32) as i64; | ^^^^^^^^^^^^^^^ expected `u32`, found `u64` error[E0277]: cannot multiply `u32` by `u64` --> src/win.rs:704:32 | 704 | ofs += (nitems * (format as u64) / 32) as i64; | ^ no implementation for `u32 * u64` | = help: the trait `Mul` is not implemented for `u32` error[E0308]: mismatched types --> src/win.rs:704:24 | 704 | ofs += (nitems * (format as u64) / 32) as i64; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `i64` error[E0277]: cannot add-assign `i64` to `i32` --> src/win.rs:704:21 | 704 | ofs += (nitems * (format as u64) / 32) as i64; | ^^ no implementation for `i32 += i64` | = help: the trait `AddAssign` is not implemented for `i32` error[E0308]: mismatched types --> src/x11_wrapper.rs:444:13 | 444 | event_mask, | ^^^^^^^^^^ expected `u32`, found `u64` | help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit | 444 | event_mask.try_into().unwrap(), | ++++++++++++++++++++ Some errors have detailed explanations: E0277, E0308. For more information about an error, try `rustc --explain E0277`. error: could not compile `rterm` due to 8 previous errors *** Error code 101 Stop. make[1]: stopped in /usr/pkgsrc/x11/rterm *** Error code 1 Stop. make: stopped in /usr/pkgsrc/x11/rterm