==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: cargo-asm 0.1.16-2 (Thu Jul 11 21:43:25 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:43:46 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 Installed Size:  315.56 MiB

:: Proceed with installation? [Y/n] 
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 Installed Size:  39.06 MiB

:: Proceed with installation? [Y/n] 
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 [==============>                  ] 21 complete; 5 pending       
       Fetch [==============>                  ] 25 complete; 1 pending       
       Fetch [=================>               ] 26 complete; 19 pending      
       Fetch [=================>               ] 44 complete; 1 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 atty v0.2.10
 Downloading 33 crates, remaining bytes: 210.9 KB                             
  Downloaded parking_lot_core v0.2.14
 Downloading 32 crates, remaining bytes: 257.8 KB                             
  Downloaded stable_deref_trait v1.0.0
 Downloading 31 crates, remaining bytes: 921.7 KB                             
  Downloaded vec_map v0.8.1
 Downloading 30 crates, remaining bytes: 916.4 KB                             
  Downloaded walkdir v2.1.4
 Downloading 29 crates, remaining bytes: 622.7 KB                             
  Downloaded serde_derive v1.0.66
 Downloading 28 crates, remaining bytes: 526.0 KB                             
  Downloaded serde_json v1.0.20
 Downloading 27 crates, remaining bytes: 417.8 KB                             
  Downloaded rand v0.4.2
 Downloading 26 crates, remaining bytes: 356.1 KB                             
  Downloaded proc-macro2 v0.4.6
 Downloading 25 crates, remaining bytes: 319.2 KB                             
  Downloaded syn v0.14.2
 Downloading 24 crates, remaining bytes: 266.0 KB                             
  Downloaded parking_lot v0.5.5
 Downloading 23 crates, remaining bytes: 223.7 KB                             
  Downloaded unicode-xid v0.1.0
 Downloading 22 crates, remaining bytes: 174.6 KB                             
  Downloaded clap v2.31.2
 Downloading 21 crates, remaining bytes: 143.6 KB                             
  Downloaded termcolor v0.3.6
 Downloading 20 crates, remaining bytes: 127.2 KB                             
  Downloaded structopt-derive v0.2.10
 Downloading 19 crates, remaining bytes: 110.8 KB                             
  Downloaded strsim v0.7.0
 Downloading 18 crates, remaining bytes: 94.5 KB                              
  Downloaded smallvec v0.6.1
 Downloading 17 crates, remaining bytes: 78.1 KB                              
  Downloaded serde v1.0.66
 Downloading 16 crates, remaining bytes: 57.6 KB                              
  Downloaded same-file v1.0.2
 Downloading 15 crates, remaining bytes: 41.2 KB                              
  Downloaded rustc-demangle v0.1.8
 Downloading 14 crates, remaining bytes: 24.8 KB                              
  Downloaded quote v0.6.3
 Downloading 13 crates, remaining bytes: 8.4 KB                               
  Downloaded libc v0.2.42
 Downloading 12 crates                                                        
  Downloaded log v0.4.2
 Downloading 11 crates                                                        
  Downloaded lazy_static v1.0.1
 Downloading 10 crates                                                        
  Downloaded dtoa v0.4.2
 Downloading 9 crates                                                         
  Downloaded cfg-if v0.1.3
 Downloading 8 crates                                                         
  Downloaded bitflags v1.0.3
 Downloading 7 crates                                                         
  Downloaded ansi_term v0.11.0
 Downloading 6 crates                                                         
  Downloaded unicode-width v0.1.5
 Downloading 5 crates                                                         
  Downloaded textwrap v0.9.0
 Downloading 4 crates                                                         
  Downloaded structopt v0.2.10
 Downloading 3 crates                                                         
  Downloaded itoa v0.4.1
 Downloading 2 crates                                                         
  Downloaded edit-distance v2.0.1
 Downloading 1 crate                                                          
  Downloaded owning_ref v0.3.3
 Downloading 0 crates                                                         
  Downloaded 34 crates (1.3 MB) in 0.61s
   Compiling unicode-xid v0.1.0
   Compiling libc v0.2.42
   Compiling unicode-width v0.1.5
   Compiling serde v1.0.66
    Building [                            ] 0/38: unicode-width, unicode-xi...
   Compiling proc-macro2 v0.4.6
    Building [                            ] 1/38: proc-macro2, unicode-widt...
   Compiling textwrap v0.9.0
    Building [>                           ] 2/38: proc-macro2, libc, textwr...
    Building [=>                          ] 3/38: proc-macro2, libc, textwr...
   Compiling ansi_term v0.11.0
    Building [=>                          ] 4/38: proc-macro2, ansi_term, l...
   Compiling quote v0.6.3
    Building [==>                         ] 5/38: proc-macro2, ansi_term, t...
   Compiling syn v0.14.2
    Building [===>                        ] 6/38: proc-macro2, syn, textwra...
   Compiling rand v0.4.2
    Building [====>                       ] 7/38: proc-macro2, rand, syn, t...
   Compiling atty v0.2.10
    Building [====>                       ] 8/38: rand, syn, textwrap, atty   
   Compiling vec_map v0.8.1
    Building [=====>                      ] 9/38: vec_map, rand, syn, textwrap
   Compiling stable_deref_trait v1.0.0
    Building [======>                    ] 10/38: vec_map, rand, stable_der...
   Compiling strsim v0.7.0
    Building [======>                    ] 11/38: rand, syn, strsim, vec_map  
   Compiling smallvec v0.6.1
    Building [=======>                   ] 12/38: rand, syn, strsim, smallvec 
   Compiling bitflags v1.0.3
    Building [========>                  ] 13/38: rand, syn, strsim, bitflags 
   Compiling clap v2.31.2
    Building [========>                  ] 14/38: rand, syn, strsim, clap     
   Compiling parking_lot_core v0.2.14
    Building [=========>                 ] 15/38: rand, syn, parking_lot_co...
   Compiling owning_ref v0.3.3
    Building [==========>                ] 16/38: syn, owning_ref, parking_...
    Building [===========>               ] 17/38: syn, serde, parking_lot_c...
   Compiling itoa v0.4.1
    Building [===========>               ] 18/38: itoa, syn, serde, clap      
   Compiling same-file v1.0.2
    Building [============>              ] 19/38: syn, serde, same-file, clap 
   Compiling cfg-if v0.1.3
    Building [=============>             ] 20/38: syn, serde, cfg-if, clap    
   Compiling dtoa v0.4.2
    Building [=============>             ] 21/38: dtoa, syn, serde, clap      
   Compiling log v0.4.2
    Building [==============>            ] 22/38: syn, serde, clap, log       
   Compiling walkdir v2.1.4
    Building [===============>           ] 23/38: syn, serde, walkdir, clap   
   Compiling structopt-derive v0.2.10
    Building [================>          ] 24/38: serde, walkdir, clap, str...
   Compiling serde_derive v1.0.66
    Building [================>          ] 25/38: serde, clap, serde_derive...
   Compiling structopt v0.2.10
    Building [=================>         ] 26/38: serde, structopt, clap, s...
   Compiling parking_lot v0.5.5
    Building [==================>        ] 27/38: parking_lot, serde, clap,...
   Compiling lazy_static v1.0.1
    Building [==================>        ] 28/38: lazy_static, serde, clap,...
   Compiling edit-distance v2.0.1
    Building [===================>       ] 29/38: edit-distance, serde, cla...
   Compiling termcolor v0.3.6
    Building [====================>      ] 30/38: serde, termcolor, clap, s...
   Compiling serde_json v1.0.20
    Building [=====================>     ] 31/38: serde_json, termcolor, cl...
   Compiling rustc-demangle v0.1.8
    Building [=====================>     ] 32/38: serde_json, clap, serde_d...
    Building [======================>    ] 33/38: serde_json, clap, serde_d...
    Building [=======================>   ] 34/38: serde_json, clap            
    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

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",
...   |

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-llvm-ir") generated 12 warnings (3 duplicates) (run `cargo fix --bin "cargo-llvm-ir"` to apply 2 suggestions)
    Building [=========================> ] 37/38: cargo-asm(bin)              
warning: `cargo-asm` (bin "cargo-asm") generated 12 warnings (9 duplicates)
    Finished `release` profile [optimized] target(s) in 1m 28s
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:45:42 2024)
==> Cleaning up...