Source: rust-librespot-protocol
Version: 0.1.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- test --all
> 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', 'test', '--verbose', '--verbose', 
> '-j4', '--target', 'x86_64-unknown-linux-gnu', '--all'],) {}
>    Compiling protobuf v2.25.2
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build 
> CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/protobuf-2.25.2 
> CARGO_PKG_AUTHORS='Stepan Koltsov <[email protected]>' 
> CARGO_PKG_DESCRIPTION='Rust implementation of Google protocol buffers
> ' CARGO_PKG_HOMEPAGE='https://github.com/stepancheg/rust-protobuf/' 
> CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=protobuf 
> CARGO_PKG_REPOSITORY='https://github.com/stepancheg/rust-protobuf/' 
> CARGO_PKG_VERSION=2.25.2 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=25 
> CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' 
> LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc 
> --crate-name build_script_build --edition=2018 
> /<<PKGBUILDDIR>>/debian/cargo_registry/protobuf-2.25.2/build.rs 
> --error-format=json --json=diagnostic-rendered-ansi --crate-type bin 
> --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C 
> metadata=5b12a544d204fee3 -C extra-filename=-5b12a544d204fee3 --out-dir 
> /<<PKGBUILDDIR>>/target/debug/build/protobuf-5b12a544d204fee3 -L 
> dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
>      Running 
> `/<<PKGBUILDDIR>>/target/debug/build/protobuf-5b12a544d204fee3/build-script-build`
>      Running 
> `/<<PKGBUILDDIR>>/target/debug/build/protobuf-5b12a544d204fee3/build-script-build`
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=protobuf 
> CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/protobuf-2.25.2 
> CARGO_PKG_AUTHORS='Stepan Koltsov <[email protected]>' 
> CARGO_PKG_DESCRIPTION='Rust implementation of Google protocol buffers
> ' CARGO_PKG_HOMEPAGE='https://github.com/stepancheg/rust-protobuf/' 
> CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=protobuf 
> CARGO_PKG_REPOSITORY='https://github.com/stepancheg/rust-protobuf/' 
> CARGO_PKG_VERSION=2.25.2 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=25 
> CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' 
> LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' 
> OUT_DIR=/<<PKGBUILDDIR>>/target/debug/build/protobuf-a26fb650cfc52aff/out 
> rustc --crate-name protobuf --edition=2018 
> /<<PKGBUILDDIR>>/debian/cargo_registry/protobuf-2.25.2/src/lib.rs 
> --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type 
> lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C 
> metadata=6187479b6dea9a81 -C extra-filename=-6187479b6dea9a81 --out-dir 
> /<<PKGBUILDDIR>>/target/debug/deps -L 
> dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=protobuf 
> CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/protobuf-2.25.2 
> CARGO_PKG_AUTHORS='Stepan Koltsov <[email protected]>' 
> CARGO_PKG_DESCRIPTION='Rust implementation of Google protocol buffers
> ' CARGO_PKG_HOMEPAGE='https://github.com/stepancheg/rust-protobuf/' 
> CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=protobuf 
> CARGO_PKG_REPOSITORY='https://github.com/stepancheg/rust-protobuf/' 
> CARGO_PKG_VERSION=2.25.2 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=25 
> CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' 
> LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' 
> OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/protobuf-bc90f0d72949c7b1/out
>  rustc --crate-name protobuf --edition=2018 
> /<<PKGBUILDDIR>>/debian/cargo_registry/protobuf-2.25.2/src/lib.rs 
> --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type 
> lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C 
> metadata=50ccedd6e7f8db93 -C extra-filename=-50ccedd6e7f8db93 --out-dir 
> /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target 
> x86_64-unknown-linux-gnu -L 
> dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L 
> dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn -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/librespot-protocol-0.1.0`
>    Compiling protobuf-codegen v2.25.2
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=protobuf_codegen 
> CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/protobuf-codegen-2.25.2
>  CARGO_PKG_AUTHORS='Stepan Koltsov <[email protected]>' 
> CARGO_PKG_DESCRIPTION='Code generator for rust-protobuf.
> 
> Includes a library and `protoc-gen-rust` binary.
> 
> See `protoc-rust` and `protobuf-codegen-pure` crates.
> ' CARGO_PKG_HOMEPAGE='https://github.com/stepancheg/rust-protobuf/' 
> CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' 
> CARGO_PKG_NAME=protobuf-codegen 
> CARGO_PKG_REPOSITORY='https://github.com/stepancheg/rust-protobuf/' 
> CARGO_PKG_VERSION=2.25.2 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=25 
> CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' 
> LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc 
> --crate-name protobuf_codegen 
> /<<PKGBUILDDIR>>/debian/cargo_registry/protobuf-codegen-2.25.2/src/lib.rs 
> --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type 
> lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C 
> metadata=13045b4753cf39d5 -C extra-filename=-13045b4753cf39d5 --out-dir 
> /<<PKGBUILDDIR>>/target/debug/deps -L 
> dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern 
> protobuf=/<<PKGBUILDDIR>>/target/debug/deps/libprotobuf-6187479b6dea9a81.rmeta
>  --cap-lints warn`
>    Compiling protobuf-codegen-pure v2.25.2
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=protobuf_codegen_pure 
> CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/protobuf-codegen-pure-2.25.2
>  CARGO_PKG_AUTHORS='Stepan Koltsov <[email protected]>' 
> CARGO_PKG_DESCRIPTION='Pure-rust codegen for protobuf using protobuf-parser 
> crate
> 
> WIP
> ' 
> CARGO_PKG_HOMEPAGE='https://github.com/stepancheg/rust-protobuf/tree/master/protobuf-codegen-pure/'
>  CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' 
> CARGO_PKG_NAME=protobuf-codegen-pure 
> CARGO_PKG_REPOSITORY='https://github.com/stepancheg/rust-protobuf/tree/master/protobuf-codegen-pure/'
>  CARGO_PKG_VERSION=2.25.2 CARGO_PKG_VERSION_MAJOR=2 
> CARGO_PKG_VERSION_MINOR=25 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' 
> LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc 
> --crate-name protobuf_codegen_pure 
> /<<PKGBUILDDIR>>/debian/cargo_registry/protobuf-codegen-pure-2.25.2/src/lib.rs
>  --error-format=json --json=diagnostic-rendered-ansi --crate-type lib 
> --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C 
> metadata=3fd49e961cc10b1c -C extra-filename=-3fd49e961cc10b1c --out-dir 
> /<<PKGBUILDDIR>>/target/debug/deps -L 
> dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern 
> protobuf=/<<PKGBUILDDIR>>/target/debug/deps/libprotobuf-6187479b6dea9a81.rmeta
>  --extern 
> protobuf_codegen=/<<PKGBUILDDIR>>/target/debug/deps/libprotobuf_codegen-13045b4753cf39d5.rmeta
>  --cap-lints warn`
>    Compiling librespot-protocol v0.1.0 (/<<PKGBUILDDIR>>)
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build 
> CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Paul Liétar 
> <[email protected]>' CARGO_PKG_DESCRIPTION='The protobuf logic for 
> communicating with Spotify servers' CARGO_PKG_HOMEPAGE='' 
> CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' 
> CARGO_PKG_NAME=librespot-protocol CARGO_PKG_REPOSITORY='' 
> CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 
> CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 
> LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc 
> --crate-name build_script_build build.rs --error-format=json 
> --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C 
> embed-bitcode=no -C debuginfo=2 -C metadata=baa7d71499e77b22 -C 
> extra-filename=-baa7d71499e77b22 --out-dir 
> /<<PKGBUILDDIR>>/target/debug/build/librespot-protocol-baa7d71499e77b22 -C 
> incremental=/<<PKGBUILDDIR>>/target/debug/incremental -L 
> dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern 
> protobuf_codegen=/<<PKGBUILDDIR>>/target/debug/deps/libprotobuf_codegen-13045b4753cf39d5.rlib
>  --extern 
> protobuf_codegen_pure=/<<PKGBUILDDIR>>/target/debug/deps/libprotobuf_codegen_pure-3fd49e961cc10b1c.rlib`
> error[E0308]: mismatched types
>   --> build.rs:37:39
>    |
> 37 |         let p = parse_and_typecheck(&["proto"], &[src]).expect("protoc");
>    |                                       ^^^^^^^ expected struct `Path`, 
> found `str`
>    |
>    = note: expected reference `&Path`
>               found reference `&'static str`
> 
> error[E0308]: mismatched types
>   --> build.rs:37:51
>    |
> 37 |         let p = parse_and_typecheck(&["proto"], &[src]).expect("protoc");
>    |                                                   ^^^ expected struct 
> `Path`, found struct `String`
>    |
>    = note: expected reference `&Path`
>               found reference `&String`
> 
> For more information about this error, try `rustc --explain E0308`.
> error: could not compile `librespot-protocol` due to 2 previous errors
> 
> Caused by:
>   process didn't exit successfully: `CARGO=/usr/bin/cargo 
> CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> 
> CARGO_PKG_AUTHORS='Paul Liétar <[email protected]>' CARGO_PKG_DESCRIPTION='The 
> protobuf logic for communicating with Spotify servers' CARGO_PKG_HOMEPAGE='' 
> CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' 
> CARGO_PKG_NAME=librespot-protocol CARGO_PKG_REPOSITORY='' 
> CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 
> CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 
> LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc 
> --crate-name build_script_build build.rs --error-format=json 
> --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C 
> embed-bitcode=no -C debuginfo=2 -C metadata=baa7d71499e77b22 -C 
> extra-filename=-baa7d71499e77b22 --out-dir 
> /<<PKGBUILDDIR>>/target/debug/build/librespot-protocol-baa7d71499e77b22 -C 
> incremental=/<<PKGBUILDDIR>>/target/debug/incremental -L 
> dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern 
> protobuf_codegen=/<<PKGBUILDDIR>>/target/debug/deps/libprotobuf_codegen-13045b4753cf39d5.rlib
>  --extern 
> protobuf_codegen_pure=/<<PKGBUILDDIR>>/target/debug/deps/libprotobuf_codegen_pure-3fd49e961cc10b1c.rlib`
>  (exit status: 1)
> dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 
> 101


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/rust-librespot-protocol_0.1.0-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to