Source: rust-redox-termios Version: 0.1.1-2 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20200926 ftbfs-bullseye
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; \ > case x86_64-unknown-linux-gnu in \ > arm-*|x86-*|x86_64-*) \ > dh_auto_test;; \ > *) \ > dh_auto_test || true;; \ > esac > 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 redox_syscall v0.1.40 > Running `CARGO_PKG_VERSION=0.1.40 CARGO_PKG_VERSION_MAJOR=0 > CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/redox_syscall-0.1.40 > CARGO_PKG_NAME=redox_syscall CARGO_PKG_HOMEPAGE= CARGO_PKG_AUTHORS='Jeremy > Soller <jackpo...@gmail.com>' > CARGO_PKG_REPOSITORY='https://github.com/redox-os/syscall' > CARGO_PKG_VERSION_PATCH=40 CARGO_PKG_VERSION_PRE= CARGO=/usr/bin/cargo > CARGO_PKG_DESCRIPTION='A Rust library to access raw Redox system calls' > CARGO_PKG_VERSION_MINOR=1 > LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc > --crate-name syscall > /<<PKGBUILDDIR>>/debian/cargo_registry/redox_syscall-0.1.40/src/lib.rs > --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type > lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=29de329c21ef7345 > -C extra-filename=-29de329c21ef7345 --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/redox-termios-0.1.1` > error: the legacy LLVM-style asm! syntax is no longer supported > --> > /usr/share/cargo/registry/redox-termios-0.1.1/debian/cargo_registry/redox_syscall-0.1.40/src/arch/x86_64.rs:4:5 > | > 4 | asm!("int 0x80" > | ^--- > | | > | _____help: replace with: `llvm_asm!` > | | > 5 | | : "={rax}"(a) > 6 | | : "{rax}"(a) > 7 | | : "memory" > 8 | | : "intel", "volatile"); > | |_______________________________^ > | > = note: consider migrating to the new asm! syntax specified in RFC 2873 > = note: alternatively, switch to llvm_asm! to keep your code working as it > is > > error: the legacy LLVM-style asm! syntax is no longer supported > --> > /usr/share/cargo/registry/redox-termios-0.1.1/debian/cargo_registry/redox_syscall-0.1.40/src/arch/x86_64.rs:14:5 > | > 14 | asm!("int 0x80" > | ^--- > | | > | _____help: replace with: `llvm_asm!` > | | > 15 | | : "={rax}"(a) > 16 | | : "{rax}"(a), "{rbx}"(b) > 17 | | : "memory" > 18 | | : "intel", "volatile"); > | |_______________________________^ > | > = note: consider migrating to the new asm! syntax specified in RFC 2873 > = note: alternatively, switch to llvm_asm! to keep your code working as it > is > > error: the legacy LLVM-style asm! syntax is no longer supported > --> > /usr/share/cargo/registry/redox-termios-0.1.1/debian/cargo_registry/redox_syscall-0.1.40/src/arch/x86_64.rs:25:5 > | > 25 | asm!("int 0x80" > | ^--- > | | > | _____help: replace with: `llvm_asm!` > | | > 26 | | : "={rax}"(a) > 27 | | : "{rax}"(a), "{rbx}"(b) > 28 | | : "memory", "rbx", "rcx", "rdx", "rsi", "rdi", "r8", > 29 | | "r9", "r10", "r11", "r12", "r13", "r14", "r15" > 30 | | : "intel", "volatile"); > | |_______________________________^ > | > = note: consider migrating to the new asm! syntax specified in RFC 2873 > = note: alternatively, switch to llvm_asm! to keep your code working as it > is > > error: the legacy LLVM-style asm! syntax is no longer supported > --> > /usr/share/cargo/registry/redox-termios-0.1.1/debian/cargo_registry/redox_syscall-0.1.40/src/arch/x86_64.rs:36:5 > | > 36 | asm!("int 0x80" > | ^--- > | | > | _____help: replace with: `llvm_asm!` > | | > 37 | | : "={rax}"(a) > 38 | | : "{rax}"(a), "{rbx}"(b), "{rcx}"(c) > 39 | | : "memory" > 40 | | : "intel", "volatile"); > | |_______________________________^ > | > = note: consider migrating to the new asm! syntax specified in RFC 2873 > = note: alternatively, switch to llvm_asm! to keep your code working as it > is > > error: the legacy LLVM-style asm! syntax is no longer supported > --> > /usr/share/cargo/registry/redox-termios-0.1.1/debian/cargo_registry/redox_syscall-0.1.40/src/arch/x86_64.rs:46:5 > | > 46 | asm!("int 0x80" > | ^--- > | | > | _____help: replace with: `llvm_asm!` > | | > 47 | | : "={rax}"(a) > 48 | | : "{rax}"(a), "{rbx}"(b), "{rcx}"(c), "{rdx}"(d) > 49 | | : "memory" > 50 | | : "intel", "volatile"); > | |_______________________________^ > | > = note: consider migrating to the new asm! syntax specified in RFC 2873 > = note: alternatively, switch to llvm_asm! to keep your code working as it > is > > error: the legacy LLVM-style asm! syntax is no longer supported > --> > /usr/share/cargo/registry/redox-termios-0.1.1/debian/cargo_registry/redox_syscall-0.1.40/src/arch/x86_64.rs:56:5 > | > 56 | asm!("int 0x80" > | ^--- > | | > | _____help: replace with: `llvm_asm!` > | | > 57 | | : "={rax}"(a) > 58 | | : "{rax}"(a), "{rbx}"(b), "{rcx}"(c), "{rdx}"(d), "{rsi}"(e) > 59 | | : "memory" > 60 | | : "intel", "volatile"); > | |_______________________________^ > | > = note: consider migrating to the new asm! syntax specified in RFC 2873 > = note: alternatively, switch to llvm_asm! to keep your code working as it > is > > error: the legacy LLVM-style asm! syntax is no longer supported > --> > /usr/share/cargo/registry/redox-termios-0.1.1/debian/cargo_registry/redox_syscall-0.1.40/src/arch/x86_64.rs:67:5 > | > 67 | asm!("int 0x80" > | ^--- > | | > | _____help: replace with: `llvm_asm!` > | | > 68 | | : "={rax}"(a) > 69 | | : "{rax}"(a), "{rbx}"(b), "{rcx}"(c), "{rdx}"(d), "{rsi}"(e), > "{rdi}"(f) > 70 | | : "memory" > 71 | | : "intel", "volatile"); > | |_______________________________^ > | > = note: consider migrating to the new asm! syntax specified in RFC 2873 > = note: alternatively, switch to llvm_asm! to keep your code working as it > is > > error: the legacy LLVM-style asm! syntax is no longer supported > --> > /usr/share/cargo/registry/redox-termios-0.1.1/debian/cargo_registry/redox_syscall-0.1.40/src/io/pio.rs:31:13 > | > 31 | asm!("in $0, $1" : "={al}"(value) : "{dx}"(self.port) : > "memory" : "intel", "volatile"); > | > ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | | > | help: replace with: `llvm_asm!` > | > = note: consider migrating to the new asm! syntax specified in RFC 2873 > = note: alternatively, switch to llvm_asm! to keep your code working as it > is > > error: the legacy LLVM-style asm! syntax is no longer supported > --> > /usr/share/cargo/registry/redox-termios-0.1.1/debian/cargo_registry/redox_syscall-0.1.40/src/io/pio.rs:40:13 > | > 40 | asm!("out $1, $0" : : "{al}"(value), "{dx}"(self.port) : > "memory" : "intel", "volatile"); > | > ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | | > | help: replace with: `llvm_asm!` > | > = note: consider migrating to the new asm! syntax specified in RFC 2873 > = note: alternatively, switch to llvm_asm! to keep your code working as it > is > > error: the legacy LLVM-style asm! syntax is no longer supported > --> > /usr/share/cargo/registry/redox-termios-0.1.1/debian/cargo_registry/redox_syscall-0.1.40/src/io/pio.rs:54:13 > | > 54 | asm!("in $0, $1" : "={ax}"(value) : "{dx}"(self.port) : > "memory" : "intel", "volatile"); > | > ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | | > | help: replace with: `llvm_asm!` > | > = note: consider migrating to the new asm! syntax specified in RFC 2873 > = note: alternatively, switch to llvm_asm! to keep your code working as it > is > > error: the legacy LLVM-style asm! syntax is no longer supported > --> > /usr/share/cargo/registry/redox-termios-0.1.1/debian/cargo_registry/redox_syscall-0.1.40/src/io/pio.rs:63:13 > | > 63 | asm!("out $1, $0" : : "{ax}"(value), "{dx}"(self.port) : > "memory" : "intel", "volatile"); > | > ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | | > | help: replace with: `llvm_asm!` > | > = note: consider migrating to the new asm! syntax specified in RFC 2873 > = note: alternatively, switch to llvm_asm! to keep your code working as it > is > > error: the legacy LLVM-style asm! syntax is no longer supported > --> > /usr/share/cargo/registry/redox-termios-0.1.1/debian/cargo_registry/redox_syscall-0.1.40/src/io/pio.rs:77:13 > | > 77 | asm!("in $0, $1" : "={eax}"(value) : "{dx}"(self.port) : > "memory" : "intel", "volatile"); > | > ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | | > | help: replace with: `llvm_asm!` > | > = note: consider migrating to the new asm! syntax specified in RFC 2873 > = note: alternatively, switch to llvm_asm! to keep your code working as it > is > > error: the legacy LLVM-style asm! syntax is no longer supported > --> > /usr/share/cargo/registry/redox-termios-0.1.1/debian/cargo_registry/redox_syscall-0.1.40/src/io/pio.rs:86:13 > | > 86 | asm!("out $1, $0" : : "{eax}"(value), "{dx}"(self.port) : > "memory" : "intel", "volatile"); > | > ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | | > | help: replace with: `llvm_asm!` > | > = note: consider migrating to the new asm! syntax specified in RFC 2873 > = note: alternatively, switch to llvm_asm! to keep your code working as it > is > > warning: use of deprecated item 'core::mem::uninitialized': use > `mem::MaybeUninit` instead > --> > /usr/share/cargo/registry/redox-termios-0.1.1/debian/cargo_registry/redox_syscall-0.1.40/src/io/mmio.rs:2:5 > | > 2 | use core::mem::uninitialized; > | ^^^^^^^^^^^^^^^^^^^^^^^^ > | > note: the lint level is defined here > --> > /usr/share/cargo/registry/redox-termios-0.1.1/debian/cargo_registry/redox_syscall-0.1.40/src/lib.rs:1:9 > | > 1 | #![deny(warnings)] > | ^^^^^^^^ > = note: `#[warn(deprecated)]` implied by `#[warn(warnings)]` > > warning: use of deprecated item 'core::mem::uninitialized': use > `mem::MaybeUninit` instead > --> > /usr/share/cargo/registry/redox-termios-0.1.1/debian/cargo_registry/redox_syscall-0.1.40/src/io/mmio.rs:16:29 > | > 16 | value: unsafe { uninitialized() } > | ^^^^^^^^^^^^^ > > error: aborting due to 13 previous errors; 2 warnings emitted > > error: could not compile `redox_syscall`. > > Caused by: > process didn't exit successfully: `CARGO_PKG_VERSION=0.1.40 > CARGO_PKG_VERSION_MAJOR=0 > CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/redox_syscall-0.1.40 > CARGO_PKG_NAME=redox_syscall CARGO_PKG_HOMEPAGE= CARGO_PKG_AUTHORS='Jeremy > Soller <jackpo...@gmail.com>' > CARGO_PKG_REPOSITORY='https://github.com/redox-os/syscall' > CARGO_PKG_VERSION_PATCH=40 CARGO_PKG_VERSION_PRE= CARGO=/usr/bin/cargo > CARGO_PKG_DESCRIPTION='A Rust library to access raw Redox system calls' > CARGO_PKG_VERSION_MINOR=1 > LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc > --crate-name syscall > /<<PKGBUILDDIR>>/debian/cargo_registry/redox_syscall-0.1.40/src/lib.rs > --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type > lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=29de329c21ef7345 > -C extra-filename=-29de329c21ef7345 --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/redox-termios-0.1.1` (exit code: 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/2020/09/26/rust-redox-termios_0.1.1-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! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.