Source: rust-compiler-builtins
Version: 0.1.52-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220525 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>>'
> export RUSTC_BOOTSTRAP=1; \
> dh_auto_test
> debian cargo wrapper: options, profiles, parallel: ['parallel=8'] [] ['-j8']
> 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', 
> '-j8', '--target', 'x86_64-unknown-linux-gnu'],) {}
>    Compiling compiler_builtins v0.1.52 (/<<PKGBUILDDIR>>)
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build 
> CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Jorge Aparicio 
> <japarici...@gmail.com>' CARGO_PKG_DESCRIPTION='Compiler intrinsics used by 
> the Rust compiler. Also available for other targets
> if necessary'\!'
> ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/compiler-builtins' 
> CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' 
> CARGO_PKG_NAME=compiler_builtins 
> CARGO_PKG_REPOSITORY='https://github.com/rust-lang/compiler-builtins' 
> CARGO_PKG_VERSION=0.1.52 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 
> CARGO_PKG_VERSION_PATCH=52 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 --cfg 'feature="compiler-builtins"' --cfg 
> 'feature="default"' -C metadata=8edcd6ce0a677f8c -C 
> extra-filename=-8edcd6ce0a677f8c --out-dir 
> /<<PKGBUILDDIR>>/target/debug/build/compiler_builtins-8edcd6ce0a677f8c -C 
> incremental=/<<PKGBUILDDIR>>/target/debug/incremental -L 
> dependency=/<<PKGBUILDDIR>>/target/debug/deps`
>      Running 
> `/<<PKGBUILDDIR>>/target/debug/build/compiler_builtins-8edcd6ce0a677f8c/build-script-build`
> [compiler_builtins 0.1.52] cargo:rerun-if-changed=build.rs
> [compiler_builtins 0.1.52] cargo:compiler-rt=/<<PKGBUILDDIR>>/compiler-rt
> [compiler_builtins 0.1.52] cargo:rustc-cfg=feature="unstable"
> [compiler_builtins 0.1.52] cargo:rustc-cfg=feature="mem-unaligned"
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=compiler_builtins 
> CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Jorge Aparicio 
> <japarici...@gmail.com>' CARGO_PKG_DESCRIPTION='Compiler intrinsics used by 
> the Rust compiler. Also available for other targets
> if necessary'\!'
> ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/compiler-builtins' 
> CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' 
> CARGO_PKG_NAME=compiler_builtins 
> CARGO_PKG_REPOSITORY='https://github.com/rust-lang/compiler-builtins' 
> CARGO_PKG_VERSION=0.1.52 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 
> CARGO_PKG_VERSION_PATCH=52 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 
> LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' 
> OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/compiler_builtins-db2cae2e3ff6555c/out
>  rustc --crate-name compiler_builtins src/lib.rs --error-format=json 
> --json=diagnostic-rendered-ansi --crate-type lib 
> --emit=dep-info,metadata,link -C panic=abort -C embed-bitcode=no -C 
> debuginfo=2 --cfg 'feature="compiler-builtins"' --cfg 'feature="default"' -C 
> metadata=8537f4da4e8a7096 -C extra-filename=-8537f4da4e8a7096 --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 -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/compiler-builtins-0.1.52 --cfg 
> 'feature="unstable"' --cfg 'feature="mem-unaligned"'`
> error: cannot find macro `asm` in this scope
>    --> src/int/specialized_div_rem/mod.rs:187:9
>     |
> 187 |         asm!(
>     |         ^^^
>     |
>     = note: consider importing this macro:
>             core::arch::asm
> 
> error: cannot find macro `asm` in this scope
>   --> src/mem/x86_64.rs:38:5
>    |
> 38 |     asm!(
>    |     ^^^
>    |
>    = note: consider importing this macro:
>            core::arch::asm
> 
> error: cannot find macro `asm` in this scope
>   --> src/mem/x86_64.rs:55:5
>    |
> 55 |     asm!(
>    |     ^^^
>    |
>    = note: consider importing this macro:
>            core::arch::asm
> 
> error: cannot find macro `asm` in this scope
>   --> src/mem/x86_64.rs:90:5
>    |
> 90 |     asm!(
>    |     ^^^
>    |
>    = note: consider importing this macro:
>            core::arch::asm
> 
> error: cannot find macro `global_asm` in this scope
>    --> src/probestack.rs:140:1
>     |
> 140 | global_asm!(define_rust_probestack!(
>     | ^^^^^^^^^^
>     |
>     = note: consider importing this macro:
>             core::arch::global_asm
> 
> warning: unused macro definition: `define_rust_probestack`
>   --> src/probestack.rs:64:14
>    |
> 64 | macro_rules! define_rust_probestack {
>    |              ^^^^^^^^^^^^^^^^^^^^^^
>    |
>    = note: `#[warn(unused_macros)]` on by default
> 
> warning: an associated function with this name may be added to the standard 
> library in the future
>  --> src/float/pow.rs:8:19
>   |
> 8 |     let mut pow = i32::abs_diff(b, 0);
>   |                   ^^^^^^^^^^^^^
>   |
>   = note: `#[warn(unstable_name_collisions)]` on by default
>   = warning: once this associated item is added to the standard library, the 
> ambiguity may cause an error or change in behavior!
>   = note: for more information, see issue #48919 
> <https://github.com/rust-lang/rust/issues/48919>
>   = help: call with fully qualified syntax `Int::abs_diff(...)` to keep using 
> the current method
>   = help: add `#![feature(int_abs_diff)]` to the crate attributes to enable 
> `num::<impl i32>::abs_diff`
> 
> warning: `compiler_builtins` (lib) generated 2 warnings
> error: could not compile `compiler_builtins` due to 5 previous errors; 2 
> warnings emitted
> 
> Caused by:
>   process didn't exit successfully: `CARGO=/usr/bin/cargo 
> CARGO_CRATE_NAME=compiler_builtins CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> 
> CARGO_PKG_AUTHORS='Jorge Aparicio <japarici...@gmail.com>' 
> CARGO_PKG_DESCRIPTION='Compiler intrinsics used by the Rust compiler. Also 
> available for other targets
>   if necessary'\!'
>   ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/compiler-builtins' 
> CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' 
> CARGO_PKG_NAME=compiler_builtins 
> CARGO_PKG_REPOSITORY='https://github.com/rust-lang/compiler-builtins' 
> CARGO_PKG_VERSION=0.1.52 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 
> CARGO_PKG_VERSION_PATCH=52 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 
> LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' 
> OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/compiler_builtins-db2cae2e3ff6555c/out
>  rustc --crate-name compiler_builtins src/lib.rs --error-format=json 
> --json=diagnostic-rendered-ansi --crate-type lib 
> --emit=dep-info,metadata,link -C panic=abort -C embed-bitcode=no -C 
> debuginfo=2 --cfg 'feature="compiler-builtins"' --cfg 'feature="default"' -C 
> metadata=8537f4da4e8a7096 -C extra-filename=-8537f4da4e8a7096 --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 -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/compiler-builtins-0.1.52 --cfg 
> 'feature="unstable"' --cfg 'feature="mem-unaligned"'` (exit status: 1)
> dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101


The full build log is available from:
http://qa-logs.debian.net/2022/05/25/rust-compiler-builtins_0.1.52-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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