jirust
jirust copied to clipboard
error: the linked panic runtime `panic_unwind` is not compiled with this crate's panic strategy `abort`
Build fails:
warning: call to `.borrow()` on a reference in this situation does nothing
--> /wrkdirs/usr/ports/misc/jirust/work/jirust-1.2.1/cargo-crates/html2md-0.2.14/src/lib.rs:193:19
|
193 | walk(child.borrow(), result, custom);
| ^^^^^^^^^
|
= note: the type `Rc<Node>` does not implement `Borrow`, so calling `borrow` on `&Rc<Node>` copies the reference, which does not do anything and can be removed
= note: `#[warn(noop_method_call)]` on by default
help: remove this redundant call
|
193 - walk(child.borrow(), result, custom);
193 + walk(child, result, custom);
|
help: if you meant to clone `Rc<Node>`, implement `Clone` for it
--> /usr/local/lib/rustlib/src/rust/library/alloc/src/rc.rs:317:1
|
317 + #[derive(Clone)]
318 | pub struct Rc<
|
error: the linked panic runtime `panic_unwind` is not compiled with this crate's panic strategy `abort`
warning: `html2md` (lib) generated 1 warning
error: could not compile `html2md` (lib) due to 1 previous error; 1 warning emitted
Caused by:
process didn't exit successfully: `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=html2md
Version: 1.2.1 rust-1.79.0 FreeBSD 14.1