src/selection.rs:214:20 | 214 | if let Some(first_ref) = self.first.clone() | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #53667 https://github.com/rust-lang/rust/issues/53667 for more information For more information about this error, try `rustc --explain E0658`. error: could not compile `godot-rust-utils` (lib) due to 1 previous error error: Recipe `build-debug` failed on line 7 with exit code 101 jotalea ~ λ vi src/selection.rs jotalea ~ λ sed -n "202,232p" src/selection.rs # i did these changes #[func] /// Like [method Selection.map_generic], but returns another [Selection]. /// This implies `method` needs to return a [Node2D]. fn map(&self, method: Callable) -> Gd { let mut first: Option = None; let inner: HashSet = self .inner .clone() .iter() .flat_map(|path_ref| { let node_ref = path_ref.clone().into_ref(); let new_node_ref = method.call(vslice![node_ref]).to::>(); if self.first .as_ref() .and_then(|node_ref| node_ref.clone().into_ref()) .map_or(false, |orig_first| Some(orig_first) == node_ref) { first = Some(PathRef::from_ref(new_node_ref.clone())); } Some(PathRef::from_ref(new_node_ref)) /* let node_ref = path_ref.clone().into_ref(); let new_node_ref = method.call(vslice![node_ref]).to::>(); if let Some(first_ref) = self.first.clone() && first_ref.clone().into_ref() == node_ref { first = Some(PathRef::from_ref(new_node_ref.clone())); } Some(PathRef::from_ref(new_node_ref)) */ jotalea ~ λ vi justfile # i disabled Android crosscompilation because i won't use it jotalea ~ λ just build-debug # Clear previous build dir rm -r bin/debug/ 2> /dev/null || true # Setup artifact dir mkdir --parents bin/debug/{linux,windows,android} # Linux build cargo build --target x86_64-unknown-linux-gnu Compiling godot-bindings v0.4.4 ... Compiling godot-cell v0.4.4 Compiling godot-ffi v0.4.4 Compiling godot-core v0.4.4 Compiling godot v0.4.4 Compiling godot-rust-utils v0.1.0 (/home/jotalea/Descargas/godot-dash/rust) Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.48s mv target/x86_64-unknown-linux-gnu/debug/libgodot_rust_utils.so bin/debug/linux/ ... # Cleanup cargo clean Removed 2637 files, 1.3GiB total ``` --->

fixing something

16/03/2026 18:07