=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb 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 autocfg v1.0.1 Compiling unicode-xid v0.2.2 Compiling bitflags v1.2.1 Compiling cfg-if v1.0.0 Compiling rterm v0.0.6 (/usr/pkgsrc/x11/rterm/work/rterm-0.0.6) Compiling utf8parse v0.2.0 Compiling arrayvec v0.5.2 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 expat-sys v2.1.6 Compiling freetype-sys v0.13.1 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` | | | arguments to this function are incorrect | note: function defined here --> src/x11_wrapper.rs:434:8 | 434 | pub fn XChangeWindowAttributes( | ^^^^^^^^^^^^^^^^^^^^^^^ 435 | dpy: Display, | ------------ 436 | win: Window, | ----------- 437 | event_mask: u64, | --------------- 438 | mut attributes: XSetWindowAttributes, | ------------------------------------ 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` = help: the following other types implement trait `Mul`: <&'a f32 as Mul> <&'a f64 as Mul> <&'a i128 as Mul> <&'a i16 as Mul> <&'a i32 as Mul> <&'a i64 as Mul> <&'a i8 as Mul> <&'a isize as Mul> and 49 others 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` = help: the following other types implement trait `Mul`: <&'a f32 as Mul> <&'a f64 as Mul> <&'a i128 as Mul> <&'a i16 as Mul> <&'a i32 as Mul> <&'a i64 as Mul> <&'a i8 as Mul> <&'a isize as Mul> and 49 others 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` = help: the following other types implement trait `AddAssign`: > > > > and 20 others error[E0308]: mismatched types --> src/x11_wrapper.rs:444:13 | 441 | xlib::XChangeWindowAttributes( | ----------------------------- arguments to this function are incorrect ... 444 | event_mask, | ^^^^^^^^^^ expected `u32`, found `u64` | note: function defined here --> /usr/pkgsrc/x11/rterm/work/vendor/x11-2.18.2/src/xlib.rs:78:10 | 78 | pub fn XChangeWindowAttributes (_4: *mut Display, _3: c_ulong, _2: c_ulong, _1: *mut XSetWindowAttributes) -> c_int, | ^^^^^^^^^^^^^^^^^^^^^^^ 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