[Bug 273579] games/veloren-weekly: fails to build with rust 1.72
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Sep 2023 11:39:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273579 Bug ID: 273579 Summary: games/veloren-weekly: fails to build with rust 1.72 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: jbeich@FreeBSD.org Reporter: mikael@FreeBSD.org Assignee: jbeich@FreeBSD.org Flags: maintainer-feedback?(jbeich@FreeBSD.org) Created attachment 244658 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=244658&action=edit v0 veloren uses 2 unstables features that were removed in rust 1.72, drain_filter [1] and array_zip [2]. drain_filter is easy to patch as it's just a rename but I can't fix array_zip: error[E0599]: `[f32; 3]` is not an iterator --> voxygen/src/render/pipelines/trail.rs:42:27 | 42 | pos: self.pos.zip(other.pos).map(|(a, b)| a + b), | ^^^ `[f32; 3]` is not an iterator; try calling `.into_iter()` or `.iter()` ... Upstream hasn't fixed this error yet. [1] https://github.com/rust-lang/rfcs/issues/2140 [2] https://github.com/rust-lang/rust/pull/112096 -- You are receiving this mail because: You are the assignee for the bug.