Source: rust-cbindgen
Version: 0.6.7-1
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/package.php?p=rust-cbindgen&suite=sid
...
Compiling cbindgen v0.6.7 (/<<PKGBUILDDIR>>)
Running `rustc --crate-name cbindgen src/lib.rs --color never --crate-type
lib --emit=dep-info,link -C debuginfo=2 -C metadata=957c334fa4d9b1e5 -C
extra-filename=-957c334fa4d9b1e5 --out-dir
/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target
x86_64-unknown-linux-gnu -C
incremental=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/incremental
-L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L
dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern
clap=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libclap-72727f6e266f4efd.rlib
--extern
log=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/liblog-1db24efd55deb73f.rlib
--extern
serde=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libserde-ee27fd985dcf4aeb.rlib
--extern
serde_derive=/<<PKGBUILDDIR>>/target/debug/deps/libserde_derive-65443369b791243e.so
--extern
serde_json=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libserde_json-3018054f2ce7a8a8.rlib
--extern
syn=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libsyn-2ed2a35b5bd90da4.rlib
--extern
tempfile=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libtempfile-915e1c7ae4a3fd9f.rlib
--extern
toml=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libtoml-44787d338df8c300.rlib
-C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C
link-arg=-Wl,-z,relro --remap-path-prefix
/<<PKGBUILDDIR>>=/usr/share/cargo/registry/cbindgen-0.6.7`
error[E0432]: unresolved import `syn::synom`
--> src/bindgen/error.rs:10:14
|
10 | pub use syn::synom::ParseError;
| ^^^^^ Could not find `synom` in `syn`
error[E0609]: no field `is_sugared_doc` on type `&syn::Attribute`
--> src/bindgen/ir/cfg.rs:111:21
|
111 | if attr.is_sugared_doc {
| ^^^^^^^^^^^^^^
error[E0609]: no field `is_sugared_doc` on type `&syn::Attribute`
--> src/bindgen/ir/documentation.rs:39:44
|
39 | let line = if attr.is_sugared_doc {
| ^^^^^^^^^^^^^^
error[E0609]: no field `is_sugared_doc` on type `&syn::Attribute`
--> src/bindgen/ir/repr.rs:58:25
|
58 | if attr.is_sugared_doc || attr.style !=
syn::AttrStyle::Outer {
| ^^^^^^^^^^^^^^
error[E0609]: no field `is_sugared_doc` on type `&syn::Attribute`
--> src/bindgen/parser.rs:345:41
|
345 | if attr.is_sugared_doc {
| ^^^^^^^^^^^^^^
error: aborting due to 5 previous errors
Some errors occurred: E0432, E0609.
For more information about an error, try `rustc --explain E0432`.
error: Could not compile `cbindgen`.
Caused by:
process didn't exit successfully: `rustc --crate-name cbindgen src/lib.rs
--color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C
metadata=957c334fa4d9b1e5 -C extra-filename=-957c334fa4d9b1e5 --out-dir
/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target
x86_64-unknown-linux-gnu -C
incremental=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/incremental
-L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L
dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern
clap=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libclap-72727f6e266f4efd.rlib
--extern
log=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/liblog-1db24efd55deb73f.rlib
--extern
serde=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libserde-ee27fd985dcf4aeb.rlib
--extern
serde_derive=/<<PKGBUILDDIR>>/target/debug/deps/libserde_derive-65443369b791243e.so
--extern
serde_json=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libserde_json-3018054f2ce7a8a8.rlib
--extern
syn=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libsyn-2ed2a35b5bd90da4.rlib
--extern
tempfile=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libtempfile-915e1c7ae4a3fd9f.rlib
--extern
toml=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libtoml-44787d338df8c300.rlib
-C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C
link-arg=-Wl,-z,relro --remap-path-prefix
/<<PKGBUILDDIR>>=/usr/share/cargo/registry/cbindgen-0.6.7` (exit code: 1)
debian cargo wrapper: options, profiles, parallel: ['parallel=4'] [] ['-j4']
debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu,
x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1',
'/usr/bin/cargo', '-Zavoid-dev-deps', 'build', '--verbose', '--verbose', '-j4',
'--target', 'x86_64-unknown-linux-gnu'],) {}
dh_auto_test: /usr/share/cargo/bin/cargo build returned exit code 101
make: *** [debian/rules:3: build-arch] Error 25