=> 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 nora-0.2.0 Compiling version_check v0.9.2 Compiling proc-macro2 v1.0.20 Compiling unicode-xid v0.2.1 Compiling libc v0.2.76 Compiling pkg-config v0.3.18 Compiling syn v1.0.40 Compiling bitflags v1.2.1 Compiling unicode-segmentation v1.6.0 Compiling unicode-width v0.1.8 Compiling ansi_term v0.11.0 Compiling anyhow v1.0.32 Compiling vec_map v0.8.2 Compiling strsim v0.8.0 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` | | | arguments to this function are incorrect | note: function defined here --> /usr/pkgsrc/misc/nora/work/vendor/x11-2.19.1/src/xlib.rs:160:10 | 160 | pub fn XCreateGC (_4: *mut Display, _3: c_ulong, _2: c_ulong, _1: *mut XGCValues) -> GC, | ^^^^^^^^^ 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` | | | arguments to this function are incorrect | note: function defined here --> /usr/pkgsrc/misc/nora/work/vendor/x11-2.19.1/src/xlib.rs:163:10 | 163 | pub fn XCreatePixmap (_5: *mut Display, _4: c_ulong, _3: c_uint, _2: c_uint, _1: c_uint) -> c_ulong, | ^^^^^^^^^^^^^ 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 | 78 | XCreateWindow( | ------------- arguments to this function are incorrect 79 | self.ptr, 80 | parent as u64, | ^^^^^^^^^^^^^ expected `u32`, found `u64` | note: function defined here --> /usr/pkgsrc/misc/nora/work/vendor/x11-2.19.1/src/xlib.rs:168:10 | 168 | pub fn XCreateWindow (_12: *mut Display, _11: c_ulong, _10: c_int, _9: c_int, _8: c_uint, _7: c_uint, _6: c_uint, _5: c_int, _4: c_uint... | ^^^^^^^^^^^^^ 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]: arguments to this function are incorrect --> src/ffi.rs:173:13 | 173 | XGetImage( | ^^^^^^^^^ 174 | self.ptr, 175 | drawable as u64, | --------------- expected `u32`, found `u64` ... 180 | mask as u64, | ----------- expected `u32`, found `u64` | note: function defined here --> /usr/pkgsrc/misc/nora/work/vendor/x11-2.19.1/src/xlib.rs:293:10 | 293 | pub fn XGetImage (_8: *mut Display, _7: c_ulong, _6: c_int, _5: c_int, _4: c_uint, _3: c_uint, _2: c_ulong, _1: c_int) -> *mut XImage, | ^^^^^^^^^ 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(), | + +++++++++++++++++++++ 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` | | | arguments to this function are incorrect | note: associated function defined here --> src/ffi.rs:43:12 | 43 | pub fn create_pixmap(&self, drawable: u64, width: u32, height: u32, depth: u32) -> Pixmap { | ^^^^^^^^^^^^^ ----- ------------- ---------- ----------- ---------- 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` | | | arguments to this function are incorrect | note: associated function defined here --> src/ffi.rs:162:12 | 162 | pub fn get_image( | ^^^^^^^^^ 163 | &self, | ----- 164 | drawable: u64, | ------------- 165 | x: i16, | ------ 166 | y: i16, | ------ 167 | width: i32, | ---------- 168 | height: i32, | ----------- 169 | mask: u32, | --------- 170 | format: i32, | ----------- 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` | | | arguments to this function are incorrect | note: associated function defined here --> src/ffi.rs:39:12 | 39 | pub fn create_gc(&self, drawable: u64) -> GC { | ^^^^^^^^^ ----- ------------- 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 7 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