==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: pacquery 0.0.3-1 (Sun Sep 15 08:09:32 2024)
==> Retrieving sources...
  -> Cloning pacquery git repo...
Cloning into bare repository '/home/leming/work/pacquery/pacquery'...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    pacquery ... Skipped
==> Making package: pacquery 0.0.3-1 (Sun 15 Sep 2024 08:09:39 AM MDT)
==> Checking runtime dependencies...
==> Checking buildtime 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 (7) libedit-20240517_3.1-1  llvm-libs-18.1.8-4  perl-error-0.17029-7
             perl-mailtools-2.21-9  perl-timedate-2.33-7  git-2.46.1-1
             rust-1:1.81.0-1

Total Installed Size:  392.23 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
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/4) Creating system user accounts...
Creating group 'git' with GID 971.
Creating user 'git' (git daemon user) with UID 971 and GID 971.
(2/4) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/4) Arming ConditionNeedsUpdate...
(4/4) Warn about old perl modules
[?25h==> Retrieving sources...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of pacquery git repo...
Cloning into 'pacquery'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
    Updating crates.io index
       Fetch [=======================>         ] 82 complete; 2 pending       
       Fetch [=============================>   ] 87 complete; 2 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                                                        
 Downloading 35 crates                                                        
 Downloading 36 crates                                                        
 Downloading 37 crates                                                        
 Downloading 38 crates                                                        
 Downloading 39 crates                                                        
 Downloading 40 crates                                                        
 Downloading 41 crates                                                        
 Downloading 42 crates                                                        
 Downloading 43 crates                                                        
 Downloading 44 crates                                                        
 Downloading 45 crates                                                        
 Downloading 46 crates                                                        
 Downloading 47 crates                                                        
 Downloading 48 crates                                                        
 Downloading 49 crates                                                        
 Downloading 50 crates                                                        
 Downloading 51 crates                                                        
 Downloading 52 crates                                                        
 Downloading 53 crates                                                        
 Downloading 54 crates                                                        
 Downloading 55 crates                                                        
 Downloading 56 crates                                                        
 Downloading 57 crates                                                        
 Downloading 58 crates                                                        
 Downloading 59 crates                                                        
 Downloading 60 crates                                                        
 Downloading 61 crates                                                        
 Downloading 62 crates                                                        
 Downloading 63 crates                                                        
 Downloading 64 crates                                                        
 Downloading 65 crates                                                        
 Downloading 66 crates                                                        
 Downloading 67 crates                                                        
 Downloading 68 crates                                                        
 Downloading 69 crates                                                        
 Downloading 70 crates                                                        
 Downloading 71 crates                                                        
 Downloading 72 crates                                                        
 Downloading 73 crates                                                        
 Downloading 74 crates                                                        
 Downloading 75 crates                                                        
  Downloaded thiserror-impl v1.0.63
 Downloading 74 crates, remaining bytes: 35.3 KB                              
  Downloaded proc-macro2 v1.0.86
 Downloading 73 crates                                                        
  Downloaded unicode-ident v1.0.13
 Downloading 72 crates, remaining bytes: 4.6 MB                               
  Downloaded equivalent v1.0.1
 Downloading 71 crates, remaining bytes: 6.7 MB                               
  Downloaded proc-macro-crate v3.2.0
 Downloading 70 crates, remaining bytes: 6.5 MB                               
  Downloaded rustc_version v0.4.1
 Downloading 69 crates, remaining bytes: 6.4 MB                               
  Downloaded futures-task v0.3.30
 Downloading 68 crates, remaining bytes: 6.3 MB                               
  Downloaded roff v0.2.2
 Downloading 67 crates, remaining bytes: 6.2 MB                               
  Downloaded anstyle-query v1.1.1
 Downloading 66 crates, remaining bytes: 6.1 MB                               
  Downloaded relative-path v1.9.3
 Downloading 65 crates, remaining bytes: 6.0 MB                               
  Downloaded autocfg v1.3.0
 Downloading 64 crates, remaining bytes: 5.9 MB                               
  Downloaded anstyle-parse v0.2.5
 Downloading 63 crates, remaining bytes: 5.8 MB                               
  Downloaded futures-timer v3.0.3
 Downloading 62 crates, remaining bytes: 5.7 MB                               
  Downloaded pkg-config v0.3.30
 Downloading 61 crates, remaining bytes: 5.6 MB                               
  Downloaded bitflags v2.6.0
 Downloading 60 crates, remaining bytes: 5.4 MB                               
  Downloaded pin-project-lite v0.2.14
 Downloading 59 crates, remaining bytes: 5.3 MB                               
  Downloaded futures-channel v0.3.30
 Downloading 58 crates, remaining bytes: 5.1 MB                               
  Downloaded alpm v4.0.0
 Downloading 57 crates, remaining bytes: 5.0 MB                               
  Downloaded anyhow v1.0.89
 Downloading 56 crates, remaining bytes: 4.8 MB                               
  Downloaded alpm-sys v4.0.0
 Downloading 55 crates, remaining bytes: 4.6 MB                               
  Downloaded serde v1.0.210
 Downloading 54 crates, remaining bytes: 4.3 MB                               
  Downloaded indexmap v2.5.0
 Downloading 53 crates, remaining bytes: 4.0 MB                               
  Downloaded memchr v2.7.4
 Downloading 52 crates, remaining bytes: 3.9 MB                               
  Downloaded hashbrown v0.14.5
 Downloading 51 crates, remaining bytes: 3.7 MB                               
  Downloaded toml_edit v0.22.20
 Downloading 50 crates, remaining bytes: 3.4 MB                               
  Downloaded futures-util v0.3.30
 Downloading 49 crates, remaining bytes: 3.3 MB                               
  Downloaded clap_builder v4.5.17
 Downloading 48 crates, remaining bytes: 3.1 MB                               
  Downloaded aho-corasick v1.1.3
 Downloading 47 crates, remaining bytes: 3.0 MB                               
  Downloaded winnow v0.6.18
 Downloading 46 crates, remaining bytes: 2.8 MB                               
  Downloaded serde_json v1.0.128
 Downloading 45 crates, remaining bytes: 2.7 MB                               
  Downloaded regex v1.10.6
 Downloading 44 crates, remaining bytes: 2.6 MB                               
  Downloaded syn v2.0.77
 Downloading 43 crates, remaining bytes: 2.4 MB                               
  Downloaded clap v4.5.17
 Downloading 42 crates, remaining bytes: 2.4 MB                               
  Downloaded futures v0.3.30
 Downloading 41 crates, remaining bytes: 2.3 MB                               
  Downloaded rustix v0.38.37
 Downloading 40 crates, remaining bytes: 2.2 MB                               
  Downloaded regex-syntax v0.8.4
 Downloading 39 crates, remaining bytes: 2.1 MB                               
  Downloaded serde_derive v1.0.210
 Downloading 38 crates, remaining bytes: 2.0 MB                               
  Downloaded rstest_macros v0.22.0
 Downloading 37 crates, remaining bytes: 2.0 MB                               
  Downloaded tar v0.4.41
 Downloading 36 crates, remaining bytes: 1.9 MB                               
  Downloaded clap_complete v4.5.26
 Downloading 35 crates, remaining bytes: 1.9 MB                               
  Downloaded rstest v0.22.0
 Downloading 34 crates, remaining bytes: 1.8 MB                               
  Downloaded once_cell v1.20.0
 Downloading 33 crates, remaining bytes: 1.8 MB                               
  Downloaded ryu v1.0.18
 Downloading 32 crates, remaining bytes: 1.7 MB                               
  Downloaded semver v1.0.23
 Downloading 31 crates, remaining bytes: 1.6 MB                               
  Downloaded tempfile v3.12.0
 Downloading 30 crates, remaining bytes: 1.6 MB                               
  Downloaded quote v1.0.37
 Downloading 29 crates, remaining bytes: 1.5 MB                               
  Downloaded anstream v0.6.15
 Downloading 28 crates, remaining bytes: 1.5 MB                               
  Downloaded clap_derive v4.5.13
 Downloading 27 crates, remaining bytes: 1.4 MB                               
  Downloaded toml_datetime v0.6.8
 Downloading 26 crates, remaining bytes: 1.4 MB                               
  Downloaded regex-automata v0.4.7
 Downloading 25 crates, extracting regex-automata ...                         
  Downloaded colorchoice v1.0.2
 Downloading 24 crates, remaining bytes: 1.3 MB                               
  Downloaded utf8parse v0.2.2
 Downloading 23 crates, remaining bytes: 1.2 MB                               
  Downloaded anstyle v1.0.8
 Downloading 22 crates, remaining bytes: 1.2 MB                               
  Downloaded strsim v0.11.1
 Downloading 21 crates, remaining bytes: 1.2 MB                               
  Downloaded heck v0.5.0
 Downloading 20 crates, remaining bytes: 1.1 MB                               
  Downloaded clap_mangen v0.2.23
 Downloading 19 crates, remaining bytes: 1.1 MB                               
  Downloaded libc v0.2.158
 Downloading 18 crates, extracting libc ...                                   
  Downloaded futures-io v0.3.30
 Downloading 17 crates, remaining bytes: 1.1 MB                               
  Downloaded futures-sink v0.3.30
 Downloading 16 crates, remaining bytes: 1038.7 KB                            
  Downloaded xattr v1.3.1
 Downloading 15 crates, remaining bytes: 1022.3 KB                            
  Downloaded fastrand v2.1.1
 Downloading 14 crates, remaining bytes: 1005.9 KB                            
  Downloaded is_terminal_polyfill v1.70.1
 Downloading 13 crates, remaining bytes: 983.6 KB                             
  Downloaded clap_lex v0.7.2
 Downloading 12 crates, remaining bytes: 967.2 KB                             
  Downloaded slab v0.4.9
 Downloading 11 crates, remaining bytes: 950.8 KB                             
  Downloaded futures-executor v0.3.30
 Downloading 10 crates, remaining bytes: 934.5 KB                             
  Downloaded futures-core v0.3.30
 Downloading 9 crates, remaining bytes: 918.1 KB                              
  Downloaded futures-macro v0.3.30
 Downloading 8 crates, remaining bytes: 901.7 KB                              
  Downloaded pin-utils v0.1.0
 Downloading 7 crates, remaining bytes: 881.2 KB                              
  Downloaded glob v0.3.1
 Downloading 6 crates, remaining bytes: 864.8 KB                              
  Downloaded cfg-if v1.0.0
 Downloading 5 crates, remaining bytes: 848.4 KB                              
  Downloaded errno v0.3.9
 Downloading 4 crates, remaining bytes: 832.1 KB                              
  Downloaded filetime v0.2.25
 Downloading 3 crates, remaining bytes: 815.7 KB                              
  Downloaded thiserror v1.0.63
 Downloading 2 crates, remaining bytes: 799.3 KB                              
  Downloaded itoa v1.0.11
 Downloading 1 crate, remaining bytes: 778.8 KB                               
  Downloaded linux-raw-sys v0.4.14
 Downloading 0 crates, extracting linux-raw-sys ...                           
  Downloaded 75 crates (7.2 MB) in 1.18s (largest was `linux-raw-sys` at 1.8 MB)
==> Starting build()...
   Compiling proc-macro2 v1.0.86
   Compiling unicode-ident v1.0.13
   Compiling pkg-config v0.3.30
   Compiling utf8parse v0.2.2
   Compiling anstyle v1.0.8
   Compiling is_terminal_polyfill v1.70.1
    Building [                            ] 0/53: anstyle, unicode-ident, p...
   Compiling colorchoice v1.0.2
    Building [                            ] 1/53: anstyle, unicode-ident, p...
   Compiling anstyle-query v1.1.1
    Building [>                           ] 2/53: anstyle, pkg-config, proc...
   Compiling anstyle-parse v0.2.5
    Building [>                           ] 3/53: anstyle, anstyle-parse, p...
   Compiling heck v0.5.0
    Building [=>                          ] 4/53: anstyle, anstyle-parse, p...
   Compiling strsim v0.11.1
    Building [=>                          ] 5/53: anstyle, anstyle-parse, p...
   Compiling anstream v0.6.15
    Building [==>                         ] 6/53: anstyle, pkg-config, proc...
    Building [==>                         ] 7/53: anstyle, pkg-config, proc...
   Compiling clap_lex v0.7.2
    Building [===>                        ] 8/53: clap_lex, pkg-config, pro...
   Compiling serde v1.0.210
    Building [===>                        ] 9/53: clap_lex, serde(build.rs)...
    Building [====>                      ] 10/53: clap_lex, serde(build.rs)...
   Compiling clap_builder v4.5.17
    Building [====>                      ] 11/53: clap_lex, clap_builder, p...
    Building [=====>                     ] 12/53: clap_builder, pkg-config,...
   Compiling thiserror v1.0.63
    Building [=====>                     ] 13/53: thiserror(build.rs), clap...
   Compiling alpm-sys v4.0.0
    Building [======>                    ] 14/53: alpm-sys(build.rs), thise...
   Compiling quote v1.0.37
    Building [======>                    ] 15/53: alpm-sys(build.rs), thise...
    Building [=======>                   ] 16/53: thiserror(build.rs), clap...
    Building [=======>                   ] 17/53: thiserror(build.rs), clap...
    Building [========>                  ] 18/53: alpm-sys(build), clap_bui...
   Compiling serde_json v1.0.128
    Building [========>                  ] 19/53: serde_json(build.rs), cla...
   Compiling syn v2.0.77
    Building [=========>                 ] 20/53: clap_builder, quote, syn,...
   Compiling alpm v4.0.0
    Building [=========>                 ] 21/53: alpm(build.rs), clap_buil...
   Compiling anyhow v1.0.89
    Building [==========>                ] 22/53: alpm(build.rs), clap_buil...
    Building [==========>                ] 23/53: alpm(build.rs), clap_buil...
    Building [===========>               ] 24/53: alpm(build.rs), alpm-sys,...
    Building [===========>               ] 25/53: alpm-sys, clap_builder, a...
    Building [============>              ] 26/53: alpm-sys, clap_builder, t...
   Compiling bitflags v2.6.0
    Building [============>              ] 27/53: alpm-sys, clap_builder, t...
   Compiling ryu v1.0.18
    Building [=============>             ] 28/53: alpm-sys, clap_builder, s...
    Building [=============>             ] 29/53: alpm-sys, clap_builder, s...
   Compiling roff v0.2.2
    Building [==============>            ] 30/53: alpm-sys, clap_builder, r...
   Compiling memchr v2.7.4
    Building [==============>            ] 31/53: alpm-sys, clap_builder, r...
   Compiling itoa v1.0.11
    Building [===============>           ] 32/53: itoa, clap_builder, roff,...
    Building [===============>           ] 33/53: clap_builder, roff, syn, ...
    Building [================>          ] 34/53: anyhow, clap_builder, rof...
    Building [================>          ] 35/53: anyhow, clap_builder, syn...
error[E0308]: mismatched types
   --> /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/alpm-4.0.0/src/cb.rs:244:60
    |
244 | ...s_ptr(), Some(cb), &*ctx as *const _ as *mut _) };
    |             ---- ^^ expected fn pointer, found fn item
    |             |
    |             arguments to this enum variant are incorrect
    |
    = note: expected fn pointer `unsafe extern "C" fn(_, _, _, *mut __va_list_tag)`
                  found fn item `extern "C" fn(_, _, _, [__va_list_tag; 1]) {logcb::<LogCbImpl<T, F>>}`
help: the type constructed contains `extern "C" fn(*mut c_void, u32, *const u8, [__va_list_tag; 1]) {logcb::<LogCbImpl<T, F>>}` due to the type of the argument passed
   --> /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/alpm-4.0.0/src/cb.rs:244:55
    |
244 | ..._ptr(), Some(cb), &*ctx as *const _ as *mut _) };
    |            ^^^^^--^
    |                 |
    |                 this argument influences the type of `Some`
note: tuple variant defined here
   --> /build/rust/src/rustc-1.81.0-src/library/core/src/option.rs:582:5

    Building [================>          ] 35/53: anyhow, clap_builder, syn...
    Building [=================>         ] 36/53: clap_builder, syn, memchr...
    Building [=================>         ] 37/53: clap_builder, syn, alpm     
For more information about this error, try `rustc --explain E0308`.
    Building [=================>         ] 37/53: clap_builder, syn, alpm     
error: could not compile `alpm` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
    Building [==================>        ] 38/53: clap_builder, syn           
    Building [==================>        ] 39/53: clap_builder                
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/leming/armv8/leming/build