=> 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 nora-0.2.0 Compiling proc-macro2 v1.0.20 Compiling version_check v0.9.2 Compiling unicode-xid v0.2.1 Compiling libc v0.2.76 Compiling syn v1.0.40 Compiling pkg-config v0.3.18 Compiling bitflags v1.2.1 Compiling unicode-segmentation v1.6.0 Compiling unicode-width v0.1.8 Compiling strsim v0.8.0 Compiling vec_map v0.8.2 Compiling ansi_term v0.11.0 Compiling anyhow v1.0.32 Compiling lazy_static v1.4.0 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling x11 v2.19.1 Compiling nora v0.2.0 (/usr/pkgsrc/misc/nora/work/nora-0.2.0) Compiling heck v0.3.1 Compiling textwrap v0.11.0 Compiling quote v1.0.7 Compiling atty v0.2.14 Compiling clap v2.33.3 Compiling structopt-derive v0.4.10 Compiling structopt v0.3.17 error[E0308]: mismatched types --> src/ffi.rs:40:38 | 40 | unsafe { XCreateGC(self.ptr, drawable, 0, (&mut []).as_mut_ptr()) } | ^^^^^^^^ expected `u32`, found `u64` | help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit | 40 | unsafe { XCreateGC(self.ptr, drawable.try_into().unwrap(), 0, (&mut []).as_mut_ptr()) } | ++++++++++++++++++++ error[E0308]: mismatched types --> src/ffi.rs:44:42 | 44 | unsafe { XCreatePixmap(self.ptr, drawable, width, height, depth) } | ^^^^^^^^ expected `u32`, found `u64` | help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit | 44 | unsafe { XCreatePixmap(self.ptr, drawable.try_into().unwrap(), width, height, depth) } | ++++++++++++++++++++ error[E0308]: mismatched types --> src/ffi.rs:80:17 | 80 | parent as u64, | ^^^^^^^^^^^^^ expected `u32`, found `u64` | help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit | 80 | (parent as u64).try_into().unwrap(), | + +++++++++++++++++++++ error[E0308]: mismatched types --> src/ffi.rs:175:17 | 175 | drawable as u64, | ^^^^^^^^^^^^^^^ expected `u32`, found `u64` | help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit | 175 | (drawable as u64).try_into().unwrap(), | + +++++++++++++++++++++ error[E0308]: mismatched types --> src/ffi.rs:180:17 | 180 | mask as u64, | ^^^^^^^^^^^ expected `u32`, found `u64` | help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit | 180 | (mask as u64).try_into().unwrap(), | + +++++++++++++++++++++ error[E0308]: mismatched types --> src/main.rs:51:31 | 51 | display.create_pixmap(root, width as u32, height as u32, screen.root_depth as u32); | ^^^^ expected `u64`, found `u32` | help: you can convert a `u32` to a `u64` | 51 | display.create_pixmap(root.into(), width as u32, height as u32, screen.root_depth as u32); | +++++++ error[E0308]: mismatched types --> src/main.rs:53:39 | 53 | let mut image = display.get_image(root, 0, 0, width, height, ALL_PLANES, ZPixmap); | ^^^^ expected `u64`, found `u32` | help: you can convert a `u32` to a `u64` | 53 | let mut image = display.get_image(root.into(), 0, 0, width, height, ALL_PLANES, ZPixmap); | +++++++ error[E0308]: mismatched types --> src/main.rs:88:39 | 88 | let gc_handle = display.create_gc(pixmap_handle); | ^^^^^^^^^^^^^ expected `u64`, found `u32` | help: you can convert a `u32` to a `u64` | 88 | let gc_handle = display.create_gc(pixmap_handle.into()); | +++++++ For more information about this error, try `rustc --explain E0308`. error: could not compile `nora` due to 8 previous errors *** Error code 101 Stop. make[1]: stopped in /usr/pkgsrc/misc/nora *** Error code 1 Stop. make: stopped in /usr/pkgsrc/misc/nora