[Pkg-rust-maintainers] Bug#997321: rust-compiler-builtins: FTBFS: error: unknown token in expression

Lucas Nussbaum lucas at debian.org
Sat Oct 23 20:31:50 BST 2021


Source: rust-compiler-builtins
Version: 0.1.26-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

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=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'],) {}
>    Compiling compiler_builtins v0.1.26 (/<<PKGBUILDDIR>>)
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Jorge Aparicio <japaricious at 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.26 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=26 CARGO_PKG_VERSION_PRE='' 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 -Cembed-bitcode=no -C debuginfo=2 --cfg 'feature="compiler-builtins"' --cfg 'feature="default"' -C metadata=d0d6c1b058be433b -C extra-filename=-d0d6c1b058be433b --out-dir /<<PKGBUILDDIR>>/target/debug/build/compiler_builtins-d0d6c1b058be433b -C incremental=/<<PKGBUILDDIR>>/target/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/debug/deps`
>      Running `/<<PKGBUILDDIR>>/target/debug/build/compiler_builtins-d0d6c1b058be433b/build-script-build`
> [compiler_builtins 0.1.26] cargo:rerun-if-changed=build.rs
> [compiler_builtins 0.1.26] cargo:compiler-rt=/<<PKGBUILDDIR>>/compiler-rt
> [compiler_builtins 0.1.26] cargo:rustc-cfg=feature="unstable"
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=compiler_builtins CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Jorge Aparicio <japaricious at 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.26 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=26 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/compiler_builtins-7cb426b56b160ff9/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 -Cembed-bitcode=no -C debuginfo=2 --cfg 'feature="compiler-builtins"' --cfg 'feature="default"' -C metadata=1a16ffbe8bc5b9ba -C extra-filename=-1a16ffbe8bc5b9ba --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.26 --cfg 'feature="unstable"'`
> warning: unnecessary `unsafe` block
>   --> src/lib.rs:34:5
>    |
> 34 |     unsafe { core::intrinsics::abort() }
>    |     ^^^^^^ unnecessary `unsafe` block
>    |
>    = note: `#[warn(unused_unsafe)]` on by default
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>    --> src/float/conv.rs:115:38
>     |
> 115 |     pub extern "C" fn __floattisf(i: i128) -> f32 {
>     |                                      ^^^^ not FFI-safe
>     |
>     = note: `#[warn(improper_ctypes_definitions)]` on by default
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>    --> src/float/conv.rs:120:38
>     |
> 120 |     pub extern "C" fn __floattidf(i: i128) -> f64 {
>     |                                      ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/float/conv.rs:147:40
>     |
> 147 |     pub extern "C" fn __floatuntisf(i: u128) -> f32 {
>     |                                        ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/float/conv.rs:152:40
>     |
> 152 |     pub extern "C" fn __floatuntidf(i: u128) -> f64 {
>     |                                        ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>    --> src/float/conv.rs:239:44
>     |
> 239 |     pub extern "C" fn __fixsfti(f: f32) -> i128 {
>     |                                            ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>    --> src/float/conv.rs:254:44
>     |
> 254 |     pub extern "C" fn __fixdfti(f: f64) -> i128 {
>     |                                            ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/float/conv.rs:269:47
>     |
> 269 |     pub extern "C" fn __fixunssfti(f: f32) -> u128 {
>     |                                               ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/float/conv.rs:284:47
>     |
> 284 |     pub extern "C" fn __fixunsdfti(f: f64) -> u128 {
>     |                                               ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>   --> src/int/addsub.rs:94:42
>    |
> 94 |     pub extern "C" fn __rust_i128_add(a: i128, b: i128) -> i128 {
>    |                                          ^^^^ not FFI-safe
>    |
>    = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>   --> src/int/addsub.rs:94:51
>    |
> 94 |     pub extern "C" fn __rust_i128_add(a: i128, b: i128) -> i128 {
>    |                                                   ^^^^ not FFI-safe
>    |
>    = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>   --> src/int/addsub.rs:94:60
>    |
> 94 |     pub extern "C" fn __rust_i128_add(a: i128, b: i128) -> i128 {
>    |                                                            ^^^^ not FFI-safe
>    |
>    = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>   --> src/int/addsub.rs:98:43
>    |
> 98 |     pub extern "C" fn __rust_i128_addo(a: i128, b: i128) -> (i128, bool) {
>    |                                           ^^^^ not FFI-safe
>    |
>    = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>   --> src/int/addsub.rs:98:52
>    |
> 98 |     pub extern "C" fn __rust_i128_addo(a: i128, b: i128) -> (i128, bool) {
>    |                                                    ^^^^ not FFI-safe
>    |
>    = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `(i128, bool)`, which is not FFI-safe
>   --> src/int/addsub.rs:98:61
>    |
> 98 |     pub extern "C" fn __rust_i128_addo(a: i128, b: i128) -> (i128, bool) {
>    |                                                             ^^^^^^^^^^^^ not FFI-safe
>    |
>    = help: consider using a struct instead
>    = note: tuples have unspecified layout
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/addsub.rs:104:42
>     |
> 104 |     pub extern "C" fn __rust_u128_add(a: u128, b: u128) -> u128 {
>     |                                          ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/addsub.rs:104:51
>     |
> 104 |     pub extern "C" fn __rust_u128_add(a: u128, b: u128) -> u128 {
>     |                                                   ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/addsub.rs:104:60
>     |
> 104 |     pub extern "C" fn __rust_u128_add(a: u128, b: u128) -> u128 {
>     |                                                            ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/addsub.rs:108:43
>     |
> 108 |     pub extern "C" fn __rust_u128_addo(a: u128, b: u128) -> (u128, bool) {
>     |                                           ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/addsub.rs:108:52
>     |
> 108 |     pub extern "C" fn __rust_u128_addo(a: u128, b: u128) -> (u128, bool) {
>     |                                                    ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `(u128, bool)`, which is not FFI-safe
>    --> src/int/addsub.rs:108:61
>     |
> 108 |     pub extern "C" fn __rust_u128_addo(a: u128, b: u128) -> (u128, bool) {
>     |                                                             ^^^^^^^^^^^^ not FFI-safe
>     |
>     = help: consider using a struct instead
>     = note: tuples have unspecified layout
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>    --> src/int/addsub.rs:115:42
>     |
> 115 |     pub extern "C" fn __rust_i128_sub(a: i128, b: i128) -> i128 {
>     |                                          ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>    --> src/int/addsub.rs:115:51
>     |
> 115 |     pub extern "C" fn __rust_i128_sub(a: i128, b: i128) -> i128 {
>     |                                                   ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>    --> src/int/addsub.rs:115:60
>     |
> 115 |     pub extern "C" fn __rust_i128_sub(a: i128, b: i128) -> i128 {
>     |                                                            ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>    --> src/int/addsub.rs:119:43
>     |
> 119 |     pub extern "C" fn __rust_i128_subo(a: i128, b: i128) -> (i128, bool) {
>     |                                           ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>    --> src/int/addsub.rs:119:52
>     |
> 119 |     pub extern "C" fn __rust_i128_subo(a: i128, b: i128) -> (i128, bool) {
>     |                                                    ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `(i128, bool)`, which is not FFI-safe
>    --> src/int/addsub.rs:119:61
>     |
> 119 |     pub extern "C" fn __rust_i128_subo(a: i128, b: i128) -> (i128, bool) {
>     |                                                             ^^^^^^^^^^^^ not FFI-safe
>     |
>     = help: consider using a struct instead
>     = note: tuples have unspecified layout
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/addsub.rs:125:42
>     |
> 125 |     pub extern "C" fn __rust_u128_sub(a: u128, b: u128) -> u128 {
>     |                                          ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/addsub.rs:125:51
>     |
> 125 |     pub extern "C" fn __rust_u128_sub(a: u128, b: u128) -> u128 {
>     |                                                   ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/addsub.rs:125:60
>     |
> 125 |     pub extern "C" fn __rust_u128_sub(a: u128, b: u128) -> u128 {
>     |                                                            ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/addsub.rs:129:43
>     |
> 129 |     pub extern "C" fn __rust_u128_subo(a: u128, b: u128) -> (u128, bool) {
>     |                                           ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/addsub.rs:129:52
>     |
> 129 |     pub extern "C" fn __rust_u128_subo(a: u128, b: u128) -> (u128, bool) {
>     |                                                    ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `(u128, bool)`, which is not FFI-safe
>    --> src/int/addsub.rs:129:61
>     |
> 129 |     pub extern "C" fn __rust_u128_subo(a: u128, b: u128) -> (u128, bool) {
>     |                                                             ^^^^^^^^^^^^ not FFI-safe
>     |
>     = help: consider using a struct instead
>     = note: tuples have unspecified layout
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>   --> src/int/mul.rs:94:35
>    |
> 94 |     pub extern "C" fn __multi3(a: i128, b: i128) -> i128 {
>    |                                   ^^^^ not FFI-safe
>    |
>    = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>   --> src/int/mul.rs:94:44
>    |
> 94 |     pub extern "C" fn __multi3(a: i128, b: i128) -> i128 {
>    |                                            ^^^^ not FFI-safe
>    |
>    = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>   --> src/int/mul.rs:94:53
>    |
> 94 |     pub extern "C" fn __multi3(a: i128, b: i128) -> i128 {
>    |                                                     ^^^^ not FFI-safe
>    |
>    = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>    --> src/int/mul.rs:107:36
>     |
> 107 |     pub extern "C" fn __muloti4(a: i128, b: i128, oflow: &mut i32) -> i128 {
>     |                                    ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>    --> src/int/mul.rs:107:45
>     |
> 107 |     pub extern "C" fn __muloti4(a: i128, b: i128, oflow: &mut i32) -> i128 {
>     |                                             ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>    --> src/int/mul.rs:107:71
>     |
> 107 |     pub extern "C" fn __muloti4(a: i128, b: i128, oflow: &mut i32) -> i128 {
>     |                                                                       ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>    --> src/int/mul.rs:111:43
>     |
> 111 |     pub extern "C" fn __rust_i128_mulo(a: i128, b: i128) -> (i128, bool) {
>     |                                           ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>    --> src/int/mul.rs:111:52
>     |
> 111 |     pub extern "C" fn __rust_i128_mulo(a: i128, b: i128) -> (i128, bool) {
>     |                                                    ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `(i128, bool)`, which is not FFI-safe
>    --> src/int/mul.rs:111:61
>     |
> 111 |     pub extern "C" fn __rust_i128_mulo(a: i128, b: i128) -> (i128, bool) {
>     |                                                             ^^^^^^^^^^^^ not FFI-safe
>     |
>     = help: consider using a struct instead
>     = note: tuples have unspecified layout
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/mul.rs:117:43
>     |
> 117 |     pub extern "C" fn __rust_u128_mulo(a: u128, b: u128) -> (u128, bool) {
>     |                                           ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/mul.rs:117:52
>     |
> 117 |     pub extern "C" fn __rust_u128_mulo(a: u128, b: u128) -> (u128, bool) {
>     |                                                    ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `(u128, bool)`, which is not FFI-safe
>    --> src/int/mul.rs:117:61
>     |
> 117 |     pub extern "C" fn __rust_u128_mulo(a: u128, b: u128) -> (u128, bool) {
>     |                                                             ^^^^^^^^^^^^ not FFI-safe
>     |
>     = help: consider using a struct instead
>     = note: tuples have unspecified layout
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>   --> src/int/sdiv.rs:73:35
>    |
> 73 |     pub extern "C" fn __divti3(a: i128, b: i128) -> i128 {
>    |                                   ^^^^ not FFI-safe
>    |
>    = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>   --> src/int/sdiv.rs:73:44
>    |
> 73 |     pub extern "C" fn __divti3(a: i128, b: i128) -> i128 {
>    |                                            ^^^^ not FFI-safe
>    |
>    = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>   --> src/int/sdiv.rs:73:53
>    |
> 73 |     pub extern "C" fn __divti3(a: i128, b: i128) -> i128 {
>    |                                                     ^^^^ not FFI-safe
>    |
>    = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>   --> src/int/sdiv.rs:88:35
>    |
> 88 |     pub extern "C" fn __modti3(a: i128, b: i128) -> i128 {
>    |                                   ^^^^ not FFI-safe
>    |
>    = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>   --> src/int/sdiv.rs:88:44
>    |
> 88 |     pub extern "C" fn __modti3(a: i128, b: i128) -> i128 {
>    |                                            ^^^^ not FFI-safe
>    |
>    = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>   --> src/int/sdiv.rs:88:53
>    |
> 88 |     pub extern "C" fn __modti3(a: i128, b: i128) -> i128 {
>    |                                                     ^^^^ not FFI-safe
>    |
>    = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>   --> src/int/shift.rs:83:36
>    |
> 83 |     pub extern "C" fn __ashlti3(a: u128, b: u32) -> u128 {
>    |                                    ^^^^ not FFI-safe
>    |
>    = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>   --> src/int/shift.rs:83:53
>    |
> 83 |     pub extern "C" fn __ashlti3(a: u128, b: u32) -> u128 {
>    |                                                     ^^^^ not FFI-safe
>    |
>    = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>   --> src/int/shift.rs:93:36
>    |
> 93 |     pub extern "C" fn __ashrti3(a: i128, b: u32) -> i128 {
>    |                                    ^^^^ not FFI-safe
>    |
>    = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>   --> src/int/shift.rs:93:53
>    |
> 93 |     pub extern "C" fn __ashrti3(a: i128, b: u32) -> i128 {
>    |                                                     ^^^^ not FFI-safe
>    |
>    = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/shift.rs:103:36
>     |
> 103 |     pub extern "C" fn __lshrti3(a: u128, b: u32) -> u128 {
>     |                                    ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/shift.rs:103:53
>     |
> 103 |     pub extern "C" fn __lshrti3(a: u128, b: u32) -> u128 {
>     |                                                     ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>    --> src/int/shift.rs:107:43
>     |
> 107 |     pub extern "C" fn __rust_i128_shlo(a: i128, b: u128) -> (i128, bool) {
>     |                                           ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/shift.rs:107:52
>     |
> 107 |     pub extern "C" fn __rust_i128_shlo(a: i128, b: u128) -> (i128, bool) {
>     |                                                    ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `(i128, bool)`, which is not FFI-safe
>    --> src/int/shift.rs:107:61
>     |
> 107 |     pub extern "C" fn __rust_i128_shlo(a: i128, b: u128) -> (i128, bool) {
>     |                                                             ^^^^^^^^^^^^ not FFI-safe
>     |
>     = help: consider using a struct instead
>     = note: tuples have unspecified layout
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/shift.rs:111:43
>     |
> 111 |     pub extern "C" fn __rust_u128_shlo(a: u128, b: u128) -> (u128, bool) {
>     |                                           ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/shift.rs:111:52
>     |
> 111 |     pub extern "C" fn __rust_u128_shlo(a: u128, b: u128) -> (u128, bool) {
>     |                                                    ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `(u128, bool)`, which is not FFI-safe
>    --> src/int/shift.rs:111:61
>     |
> 111 |     pub extern "C" fn __rust_u128_shlo(a: u128, b: u128) -> (u128, bool) {
>     |                                                             ^^^^^^^^^^^^ not FFI-safe
>     |
>     = help: consider using a struct instead
>     = note: tuples have unspecified layout
> 
> warning: `extern` fn uses type `i128`, which is not FFI-safe
>    --> src/int/shift.rs:115:43
>     |
> 115 |     pub extern "C" fn __rust_i128_shro(a: i128, b: u128) -> (i128, bool) {
>     |                                           ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/shift.rs:115:52
>     |
> 115 |     pub extern "C" fn __rust_i128_shro(a: i128, b: u128) -> (i128, bool) {
>     |                                                    ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `(i128, bool)`, which is not FFI-safe
>    --> src/int/shift.rs:115:61
>     |
> 115 |     pub extern "C" fn __rust_i128_shro(a: i128, b: u128) -> (i128, bool) {
>     |                                                             ^^^^^^^^^^^^ not FFI-safe
>     |
>     = help: consider using a struct instead
>     = note: tuples have unspecified layout
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/shift.rs:119:43
>     |
> 119 |     pub extern "C" fn __rust_u128_shro(a: u128, b: u128) -> (u128, bool) {
>     |                                           ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/shift.rs:119:52
>     |
> 119 |     pub extern "C" fn __rust_u128_shro(a: u128, b: u128) -> (u128, bool) {
>     |                                                    ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `(u128, bool)`, which is not FFI-safe
>    --> src/int/shift.rs:119:61
>     |
> 119 |     pub extern "C" fn __rust_u128_shro(a: u128, b: u128) -> (u128, bool) {
>     |                                                             ^^^^^^^^^^^^ not FFI-safe
>     |
>     = help: consider using a struct instead
>     = note: tuples have unspecified layout
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/udiv.rs:246:36
>     |
> 246 |     pub extern "C" fn __udivti3(n: u128, d: u128) -> u128 {
>     |                                    ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/udiv.rs:246:45
>     |
> 246 |     pub extern "C" fn __udivti3(n: u128, d: u128) -> u128 {
>     |                                             ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/udiv.rs:246:54
>     |
> 246 |     pub extern "C" fn __udivti3(n: u128, d: u128) -> u128 {
>     |                                                      ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/udiv.rs:252:36
>     |
> 252 |     pub extern "C" fn __umodti3(n: u128, d: u128) -> u128 {
>     |                                    ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/udiv.rs:252:45
>     |
> 252 |     pub extern "C" fn __umodti3(n: u128, d: u128) -> u128 {
>     |                                             ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/udiv.rs:252:54
>     |
> 252 |     pub extern "C" fn __umodti3(n: u128, d: u128) -> u128 {
>     |                                                      ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/udiv.rs:265:39
>     |
> 265 |     pub extern "C" fn __udivmodti4(n: u128,
>     |                                       ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/udiv.rs:266:39
>     |
> 266 | ...                   d: u128,
>     |                          ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> warning: `extern` fn uses type `u128`, which is not FFI-safe
>    --> src/int/udiv.rs:267:63
>     |
> 267 | ...                   rem: Option<&mut u128>) -> u128 {
>     |                                                  ^^^^ not FFI-safe
>     |
>     = note: 128-bit integers don't currently have a known stable ABI
> 
> error: unknown token in expression
>    |
> note: instantiated into assembly here
>   --> <inline asm>:10:12
>    |
> 10 |     pushq  %rbp
>    |            ^
> 
> error: unknown token in expression
>    |
> note: instantiated into assembly here
>   --> <inline asm>:13:12
>    |
> 13 |     movq   %rsp, %rbp
>    |            ^
> 
> error: unknown token in expression
>    |
> note: instantiated into assembly here
>   --> <inline asm>:16:12
>    |
> 16 |     mov    %rax,%r11        // duplicate %rax as we're clobbering %r11
>    |            ^
> 
> error: unknown token in expression
>    |
> note: instantiated into assembly here
>   --> <inline asm>:32:12
>    |
> 32 |     cmp    $0x1000,%r11
>    |            ^
> 
> error: unknown token in expression
>    |
> note: instantiated into assembly here
>   --> <inline asm>:35:12
>    |
> 35 |     sub    $0x1000,%rsp
>    |            ^
> 
> error: unknown token in expression
>    |
> note: instantiated into assembly here
>   --> <inline asm>:36:12
>    |
> 36 |     test   %rsp,8(%rsp)
>    |            ^
> 
> error: unknown token in expression
>    |
> note: instantiated into assembly here
>   --> <inline asm>:37:12
>    |
> 37 |     sub    $0x1000,%r11
>    |            ^
> 
> error: unknown token in expression
>    |
> note: instantiated into assembly here
>   --> <inline asm>:38:12
>    |
> 38 |     cmp    $0x1000,%r11
>    |            ^
> 
> error: unknown token in expression
>    |
> note: instantiated into assembly here
>   --> <inline asm>:44:12
>    |
> 44 |     sub    %r11,%rsp
>    |            ^
> 
> error: unknown token in expression
>    |
> note: instantiated into assembly here
>   --> <inline asm>:45:12
>    |
> 45 |     test   %rsp,8(%rsp)
>    |            ^
> 
> error: unknown token in expression
>    |
> note: instantiated into assembly here
>   --> <inline asm>:50:12
>    |
> 50 |     add    %rax,%rsp
>    |            ^
> 
> error: aborting due to 11 previous errors; 78 warnings emitted
> 
> error: could not compile `compiler_builtins`.
> 
> 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 <japaricious at 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.26 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=26 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/compiler_builtins-7cb426b56b160ff9/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 -Cembed-bitcode=no -C debuginfo=2 --cfg 'feature="compiler-builtins"' --cfg 'feature="default"' -C metadata=1a16ffbe8bc5b9ba -C extra-filename=-1a16ffbe8bc5b9ba --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.26 --cfg 'feature="unstable"'` (exit code: 1)
> dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101
> make[1]: *** [debian/rules:8: override_dh_auto_test] Error 25


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/rust-compiler-builtins_0.1.26-3_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.



More information about the Pkg-rust-maintainers mailing list