==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done ==> Making package: cargo-asm 0.1.16-2 (Thu Jul 11 21:17:56 2024) ==> Retrieving sources... -> Cloning cargo-asm git repo... Cloning into bare repository '/home/leming/work/cargo-asm/cargo-asm'... ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha512sums... cargo-asm ... Skipped ==> Making package: cargo-asm 0.1.16-2 (Thu Jul 11 21:18:04 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25l:: There are 2 providers available for cargo: :: Repository extra 1) rust 2) rustup Enter a number (default=1): resolving dependencies... looking for conflicting packages... Packages (3) libedit-20240517_3.1-1 llvm-libs-18.1.8-3 rust-1:1.79.0-3 Total Download Size: 78.49 MiB Total Installed Size: 338.20 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... rust-1:1.79.0-3-aarch64 downloading... llvm-libs-18.1.8-3-aarch64 downloading... libedit-20240517_3.1-1-aarch64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing libedit... installing llvm-libs... installing rust... Optional dependencies for rust gdb: rust-gdb script lldb: rust-lldb script [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Packages (4) perl-error-0.17029-5 perl-mailtools-2.21-7 perl-timedate-2.33-5 git-2.45.2-1 Total Download Size: 7.51 MiB Total Installed Size: 43.91 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... git-2.45.2-1-aarch64 downloading... perl-mailtools-2.21-7-any downloading... perl-timedate-2.33-5-any downloading... perl-error-0.17029-5-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui openssh: ssh transport and crypto perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 [installed] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] :: Running post-transaction hooks... (1/1) Warn about old perl modules [?25h==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of cargo-asm git repo... Cloning into 'cargo-asm'... done. Switched to a new branch 'makepkg' ==> Starting build()... warning: file `/build/cargo-asm/src/cargo-asm/src/main.rs` found to be present in multiple build targets: * `bin` target `cargo-asm` * `bin` target `cargo-llvm-ir` Updating crates.io index Fetch [=================> ] 26 complete; 19 pending Fetch [=================> ] 42 complete; 3 pending Fetch [====================> ] 52 complete; 1 pending Fetch [=======================> ] 56 complete; 1 pending Fetch [==========================> ] 60 complete; 1 pending Downloading 1 crate Downloading 2 crates Downloading 3 crates Downloading 4 crates Downloading 5 crates Downloading 6 crates Downloading 7 crates Downloading 8 crates Downloading 9 crates Downloading 10 crates Downloading 11 crates Downloading 12 crates Downloading 13 crates Downloading 14 crates Downloading 15 crates Downloading 16 crates Downloading 17 crates Downloading 18 crates Downloading 19 crates Downloading 20 crates Downloading 21 crates Downloading 22 crates Downloading 23 crates Downloading 24 crates Downloading 25 crates Downloading 26 crates Downloading 27 crates Downloading 28 crates Downloading 29 crates Downloading 30 crates Downloading 31 crates Downloading 32 crates Downloading 33 crates Downloading 34 crates Downloaded ansi_term v0.11.0 Downloading 33 crates Downloaded strsim v0.7.0 Downloading 32 crates Downloaded parking_lot_core v0.2.14 Downloading 31 crates, remaining bytes: 68.0 KB Downloaded owning_ref v0.3.3 Downloading 30 crates, remaining bytes: 39.3 KB Downloaded rand v0.4.2 Downloading 29 crates Downloaded unicode-xid v0.1.0 Downloading 28 crates Downloaded vec_map v0.8.1 Downloading 27 crates Downloaded termcolor v0.3.6 Downloading 26 crates Downloaded atty v0.2.10 Downloading 25 crates, remaining bytes: 15.3 KB Downloaded unicode-width v0.1.5 Downloading 24 crates Downloaded same-file v1.0.2 Downloading 23 crates Downloaded edit-distance v2.0.1 Downloading 22 crates Downloaded parking_lot v0.5.5 Downloading 21 crates, remaining bytes: 10.3 KB Downloaded textwrap v0.9.0 Downloading 20 crates, remaining bytes: 24.5 KB Downloaded dtoa v0.4.2 Downloading 19 crates, remaining bytes: 24.5 KB Downloaded stable_deref_trait v1.0.0 Downloading 18 crates, remaining bytes: 24.5 KB Downloaded rustc-demangle v0.1.8 Downloading 17 crates, remaining bytes: 37.6 KB Downloaded quote v0.6.3 Downloading 16 crates, remaining bytes: 37.6 KB Downloaded lazy_static v1.0.1 Downloading 15 crates, remaining bytes: 37.6 KB Downloaded itoa v0.4.1 Downloading 14 crates, remaining bytes: 37.6 KB Downloaded bitflags v1.0.3 Downloading 13 crates, remaining bytes: 37.6 KB Downloaded smallvec v0.6.1 Downloading 12 crates, remaining bytes: 27.3 KB Downloaded proc-macro2 v0.4.6 Downloading 11 crates, remaining bytes: 40.3 KB Downloaded walkdir v2.1.4 Downloading 10 crates, remaining bytes: 26.0 KB Downloaded structopt-derive v0.2.10 Downloading 9 crates, remaining bytes: 74.0 KB Downloaded cfg-if v0.1.3 Downloading 8 crates, remaining bytes: 74.0 KB Downloaded log v0.4.2 Downloading 7 crates, remaining bytes: 239.1 KB Downloaded serde_derive v1.0.66 Downloading 6 crates, remaining bytes: 573.2 KB Downloaded structopt v0.2.10 Downloading 5 crates, remaining bytes: 560.2 KB Downloaded serde_json v1.0.20 Downloading 4 crates, remaining bytes: 511.1 KB Downloaded syn v0.14.2 Downloading 3 crates, remaining bytes: 315.4 KB Downloaded serde v1.0.66 Downloading 2 crates, remaining bytes: 305.9 KB Downloaded clap v2.31.2 Downloading 1 crate Downloading 1 crate, remaining bytes: 57.6 KB Downloaded libc v0.2.42 Downloading 0 crates Downloaded 34 crates (1.3 MB) in 0.61s Compiling libc v0.2.42 Compiling unicode-xid v0.1.0 Compiling serde v1.0.66 Compiling unicode-width v0.1.5 Compiling bitflags v1.0.3 Compiling ansi_term v0.11.0 Compiling stable_deref_trait v1.0.0 Compiling smallvec v0.6.1 Building [ ] 0/38: serde(build.rs), stable_d... Compiling strsim v0.7.0 Building [ ] 1/38: serde(build.rs), stable_d... Compiling vec_map v0.8.1 Building [> ] 2/38: serde(build.rs), vec_map,... Compiling proc-macro2 v0.4.6 Building [=> ] 3/38: serde(build.rs), vec_map,... Compiling textwrap v0.9.0 Building [=> ] 4/38: serde(build.rs), vec_map,... Compiling owning_ref v0.3.3 Building [==> ] 5/38: serde(build.rs), proc-mac... Building [===> ] 6/38: proc-macro2, strsim, libc... Compiling dtoa v0.4.2 Building [====> ] 7/38: dtoa, proc-macro2, strsim... Building [====> ] 8/38: dtoa, serde, proc-macro2,... Compiling cfg-if v0.1.3 Building [=====> ] 9/38: dtoa, serde, proc-macro2,... Compiling same-file v1.0.2 Building [======> ] 10/38: dtoa, serde, same-file, p... Compiling itoa v0.4.1 Building [======> ] 11/38: serde, same-file, itoa, p... Compiling log v0.4.2 Building [=======> ] 12/38: serde, same-file, itoa, p... Compiling quote v0.6.3 Building [========> ] 13/38: serde, itoa, proc-macro2,... Compiling walkdir v2.1.4 Building [========> ] 14/38: serde, proc-macro2, strsi... Compiling atty v0.2.10 Building [=========> ] 15/38: serde, proc-macro2, strsi... Compiling syn v0.14.2 Compiling rand v0.4.2 Building [===========> ] 17/38: serde, syn, proc-macro2, ... Compiling clap v2.31.2 Building [===========> ] 18/38: serde, clap, syn, proc-ma... Compiling edit-distance v2.0.1 Building [============> ] 19/38: edit-distance, serde, cla... Compiling rustc-demangle v0.1.8 Building [=============> ] 20/38: edit-distance, serde, cla... Compiling termcolor v0.3.6 Building [=============> ] 21/38: termcolor, serde, clap, s... Compiling lazy_static v1.0.1 Building [==============> ] 22/38: termcolor, lazy_static, s... Building [===============> ] 23/38: termcolor, serde, clap, s... Building [================> ] 24/38: termcolor, serde, clap, s... Building [================> ] 25/38: termcolor, serde, clap, s... Compiling parking_lot_core v0.2.14 Building [================> ] 25/38: termcolor, serde, parking... Compiling parking_lot v0.5.5 Building [================> ] 25/38: termcolor, serde, parking... Building [=================> ] 26/38: serde, parking_lot_core, ... Building [==================> ] 27/38: serde, parking_lot_core, ... Building [==================> ] 28/38: serde, clap, syn, parking... Building [===================> ] 29/38: serde, clap, syn Compiling structopt-derive v0.2.10 Compiling serde_derive v1.0.66 Building [====================> ] 30/38: serde, structopt-derive, ... Building [=====================> ] 31/38: serde, clap, serde_derive Compiling structopt v0.2.10 Building [=====================> ] 31/38: serde, structopt, clap, s... Building [=====================> ] 32/38: serde, clap, serde_derive Compiling serde_json v1.0.20 Building [======================> ] 33/38: clap, serde_json, serde_d... Building [=======================> ] 34/38: clap, serde_json Building [=======================> ] 35/38: clap Compiling cargo-asm v0.1.16 (/build/cargo-asm/src/cargo-asm) Building [========================> ] 36/38: cargo-llvm-ir(bin), cargo... warning: unused `#[macro_use]` import --> src/main.rs:20:1 | 20 | #[macro_use] | ^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default Building [========================> ] 36/38: cargo-llvm-ir(bin), cargo... warning: unnecessary trailing semicolons --> src/main.rs:1:1 | 1 | / //! cargo-asm driver 2 | | #![allow(non_snake_case, non_upper_case_globals)] 3 | | #![cfg_attr( 4 | | feature = "cargo-clippy", 5 | | allow( 6 | | missing_docs_in_private_items, option_unwrap_used, result_unwra... 7 | | ) | |__________________________________________^ help: remove these semicolons | = note: `#[warn(redundant_semicolons)]` on by default Building [========================> ] 36/38: cargo-llvm-ir(bin), cargo... warning: unnecessary braces around block return value --> src/options.rs:11:9 | 11 | { ::parking_lot::RwLock::new(read()) }; | ^^ ^^ | = note: `#[warn(unused_braces)]` on by default help: remove these braces | 11 - { ::parking_lot::RwLock::new(read()) }; 11 + ::parking_lot::RwLock::new(read()); | Building [========================> ] 36/38: cargo-llvm-ir(bin), cargo... warning: unnecessary trailing semicolons --> src/main.rs:1:1 | 1 | / //! cargo-asm driver 2 | | #![allow(non_snake_case, non_upper_case_globals)] 3 | | #![cfg_attr( 4 | | feature = "cargo-clippy", ... | 83 | | } 84 | | let result = ::std::env::set_current_dir(&new_path); | |_________________________________________________^ help: remove these semicolons Building [========================> ] 36/38: cargo-llvm-ir(bin), cargo... warning: unnecessary trailing semicolons --> src/main.rs:1:1 | 1 | / //! cargo-asm driver 2 | | #![allow(non_snake_case, non_upper_case_globals)] 3 | | #![cfg_attr( 4 | | feature = "cargo-clippy", ... | 103 | | debug!("Found following files:"); 104 | | for f in &files { | |_______________________________________________________^ help: remove these semicolons Building [========================> ] 36/38: cargo-llvm-ir(bin), cargo... warning: unnecessary trailing semicolons --> src/main.rs:1:1 | 1 | / //! cargo-asm driver 2 | | #![allow(non_snake_case, non_upper_case_globals)] 3 | | #![cfg_attr( 4 | | feature = "cargo-clippy", ... | 108 | | match o { 109 | | ::options::Options::Asm(_) => asm::run(&files), | |___________________________________________________________^ help: remove these semicolons warning: unnecessary trailing semicolons --> src/main.rs:1:1 | 1 | / //! cargo-asm driver 2 | | #![allow(non_snake_case, non_upper_case_globals)] 3 | | #![cfg_attr( 4 | | feature = "cargo-clippy", ... | Building [========================> ] 36/38: cargo-llvm-ir(bin), cargo... warning: unnecessary trailing semicolons --> src/main.rs:1:1 | 1 | / //! cargo-asm driver 2 | | #![allow(non_snake_case, non_upper_case_globals)] 3 | | #![cfg_attr( 4 | | feature = "cargo-clippy", ... | 79 | | if let Some(ref new_path) = opts.manifest_path() { 80 | | if !new_path.exists() { | |__________________________________________^ help: remove these semicolons Building [========================> ] 36/38: cargo-llvm-ir(bin), cargo... warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred --> src/options.rs:9:1 | 9 | / lazy_static! { 10 | | pub static ref opts: ::parking_lot::RwLock<Options> = 11 | | { ::parking_lot::RwLock::new(read()) }; 12 | | } | |_^ | = note: `#[warn(deprecated)]` on by default = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) Building [========================> ] 36/38: cargo-llvm-ir(bin), cargo... warning: variable does not need to be mutable --> src/rust.rs:90:13 | 90 | let mut prev = 0; | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default Building [========================> ] 36/38: cargo-llvm-ir(bin), cargo... warning: method `asm_style` is never used --> src/options.rs:118:8 | 114 | pub trait OptionsExt { | ---------- method in this trait ... 118 | fn asm_style(&self) -> Option<Style>; | ^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default Building [========================> ] 36/38: cargo-llvm-ir(bin), cargo... warning: unused return value of `Path::parent` that must be used --> src/rust.rs:165:5 | 165 | sysroot.parent(); | ^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_must_use)]` on by default help: use `let _ = ...` to ignore the resulting value | 165 | let _ = sysroot.parent(); | +++++++ Building [========================> ] 36/38: cargo-llvm-ir(bin), cargo... warning: `cargo-asm` (bin "cargo-asm") generated 12 warnings (7 duplicates) (run `cargo fix --bin "cargo-asm"` to apply 1 suggestion) Building [=========================> ] 37/38: cargo-llvm-ir(bin) warning: `cargo-asm` (bin "cargo-llvm-ir") generated 12 warnings (5 duplicates) (run `cargo fix --bin "cargo-llvm-ir"` to apply 1 suggestion) Finished `release` profile [optimized] target(s) in 29.98s warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.2 note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` ==> Entering fakeroot environment... ==> Starting package()... ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "cargo-asm"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: cargo-asm 0.1.16-2 (Thu Jul 11 21:18:52 2024) ==> Cleaning up...