New comment by 0323pin on void-packages repository https://github.com/void-linux/void-packages/pull/33600#issuecomment-1017500838 Comment: @ram02z Yes but, I can confirm that the patch provide, https://github.com/hrkfdn/ncspot/issues/714#issuecomment-1016409615 allows the build to succeed with rust-1.57.0 I've merged the package on NetBSD yesterday, https://mail-index.netbsd.org/pkgsrc-changes/2022/01/19/msg247190.html **EDIT:** ``` $NetBSD: patch-src_ui_listview.rs,v 1.1 2022/01/19 14:04:45 pin Exp $ Fix build with rust =< 1.58.0 Patch provided by upstream --- src/ui/listview.rs.orig 2022-01-18 21:10:09.000000000 +0000 +++ src/ui/listview.rs @@ -85,7 +85,7 @@ impl ListView { pub fn content_height_with_paginator(&self) -> usize { let content_len = self.content.read().unwrap().len(); - log::info!("content len: {content_len}"); + log::info!("content len: {}", content_len); // add 1 more row for paginator if we can paginate if self.can_paginate() { @@ -97,7 +97,7 @@ impl ListView { fn can_paginate(&self) -> bool { let loaded = self.get_pagination().loaded_content(); - log::info!("can paginate: {loaded}"); + log::info!("can paginate: {}", loaded); self.get_pagination().max_content().unwrap_or(0) > self.get_pagination().loaded_content() } ```