[Pkg-rust-maintainers] Bug#1026853: rust-svgdom: (build-)depends on old version of rust-roxmltree

Peter Green plugwash at debian.org
Thu Dec 22 16:23:11 GMT 2022


Package: rust-svgdom
Version: 0.18.0-2
Severity: serious

svgdom depends on version 0.7 of the roxmltree crate. Debian sid now has version
0.16.

I tried bumping the dependency but it fails to build with the following errors.

> 
> error[E0599]: no method named `write_buf` found for struct `Document` in the cur                                    rent scope                                                                                                           
>   --> benches/parser.rs:45:21                                                                                        
>    |                                                                                            
> 45 |                 doc.write_buf(&mut ouput_data);                                                                 
>    |                     ^^^^^^^^^ method not found in `Document`                                                    
> ...
> 52 | do_write!(write_small, "benches/small.svg");
>    | ------------------------------------------- in this macro invocation
>    |
>    = note: this error originates in the macro `do_write` (in Nightly builds, run with -Z macro-backtrace for more info)
> 
> error[E0599]: no method named `write_buf` found for struct `Document` in the current scope
>   --> benches/parser.rs:45:21
>    |
> 45 |                 doc.write_buf(&mut ouput_data);
>    |                     ^^^^^^^^^ method not found in `Document`
> ...
> 53 | do_write!(write_medium, "benches/medium.svg");
>    | --------------------------------------------- in this macro invocation
>    |
>    = note: this error originates in the macro `do_write` (in Nightly builds, run with -Z macro-backtrace for more info)
> 
> error[E0599]: no method named `write_buf` found for struct `Document` in the current scope
>   --> benches/parser.rs:45:21
>    |
> 45 |                 doc.write_buf(&mut ouput_data);
>    |                     ^^^^^^^^^ method not found in `Document`
> ...
> 54 | do_write!(write_large, "benches/large.svg");
>    | ------------------------------------------- in this macro invocation
>    |
>    = note: this error originates in the macro `do_write` (in Nightly builds, run with -Z macro-backtrace for more info)



More information about the Pkg-rust-maintainers mailing list