==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: arch-rebuild-order 0.4.4-1 (Sun Sep 15 07:32:38 2024)
==> Retrieving sources...
  -> Cloning arch-rebuild-order git repo...
Cloning into bare repository '/home/leming/work/arch-rebuild-order/arch-rebuild-order'...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    arch-rebuild-order ... Skipped
==> Making package: arch-rebuild-order 0.4.4-1 (Sun Sep 15 07:32:46 2024)
==> 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 (8) 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
             mandown-0.1.4-1  rust-1:1.81.0-1

Total Download Size:    88.77 MiB
Total Installed Size:  393.35 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 rust-1:1.81.0-1-aarch64 downloading...
 llvm-libs-18.1.8-4-aarch64 downloading...
 git-2.46.1-1-aarch64 downloading...
 mandown-0.1.4-1-aarch64 downloading...
 libedit-20240517_3.1-1-aarch64 downloading...
 perl-mailtools-2.21-9-any downloading...
 perl-timedate-2.33-7-any downloading...
 perl-error-0.17029-7-any 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
installing mandown...
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 arch-rebuild-order git repo...
Cloning into 'arch-rebuild-order'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
    Updating crates.io index
 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                                                        
  Downloaded thiserror-impl v1.0.63
 Downloading 69 crates, remaining bytes: 755.1 KB                             
  Downloaded thiserror v1.0.63
 Downloading 68 crates, remaining bytes: 656.9 KB                             
  Downloaded tempfile v3.12.0
 Downloading 67 crates, remaining bytes: 6.6 MB                               
  Downloaded pin-utils v0.1.0
 Downloading 66 crates, remaining bytes: 7.2 MB                               
  Downloaded proc-macro2 v1.0.86
 Downloading 65 crates, remaining bytes: 7.0 MB                               
  Downloaded unicode-ident v1.0.13
 Downloading 64 crates, remaining bytes: 6.9 MB                               
  Downloaded equivalent v1.0.1
 Downloading 63 crates, remaining bytes: 6.8 MB                               
  Downloaded proc-macro-crate v3.2.0
 Downloading 62 crates, remaining bytes: 6.8 MB                               
  Downloaded futures-sink v0.3.30
 Downloading 61 crates, remaining bytes: 6.7 MB                               
  Downloaded toml_datetime v0.6.8
 Downloading 60 crates, remaining bytes: 6.7 MB                               
  Downloaded futures-core v0.3.30
 Downloading 59 crates, remaining bytes: 6.6 MB                               
  Downloaded futures-executor v0.3.30
 Downloading 58 crates, remaining bytes: 6.5 MB                               
  Downloaded is_terminal_polyfill v1.70.1
 Downloading 57 crates, remaining bytes: 6.4 MB                               
  Downloaded errno v0.3.9
 Downloading 56 crates, remaining bytes: 6.4 MB                               
  Downloaded anstyle-query v1.1.1
 Downloading 55 crates, remaining bytes: 6.3 MB                               
  Downloaded utf8parse v0.2.2
 Downloading 54 crates, remaining bytes: 6.2 MB                               
  Downloaded colorchoice v1.0.2
 Downloading 53 crates, remaining bytes: 6.1 MB                               
  Downloaded anstyle v1.0.8
 Downloading 52 crates, remaining bytes: 6.0 MB                               
  Downloaded anstream v0.6.15
 Downloading 51 crates, remaining bytes: 5.9 MB                               
  Downloaded anstyle-parse v0.2.5
 Downloading 50 crates, remaining bytes: 5.7 MB                               
  Downloaded pkg-config v0.3.30
 Downloading 49 crates, remaining bytes: 5.6 MB                               
  Downloaded clap_complete v4.5.26
 Downloading 48 crates, remaining bytes: 5.5 MB                               
  Downloaded alpm-sys v4.0.0
 Downloading 47 crates, remaining bytes: 5.3 MB                               
  Downloaded anyhow v1.0.89
 Downloading 46 crates, remaining bytes: 5.1 MB                               
  Downloaded rstest_macros v0.22.0
 Downloading 45 crates, remaining bytes: 5.0 MB                               
  Downloaded indexmap v2.5.0
 Downloading 44 crates, remaining bytes: 4.7 MB                               
  Downloaded toml_edit v0.22.20
 Downloading 43 crates, remaining bytes: 4.6 MB                               
  Downloaded memchr v2.7.4
 Downloading 42 crates, remaining bytes: 4.4 MB                               
  Downloaded clap v4.5.17
 Downloading 41 crates, remaining bytes: 4.1 MB                               
  Downloaded clap_builder v4.5.17
 Downloading 40 crates, remaining bytes: 3.8 MB                               
  Downloaded futures-util v0.3.30
 Downloading 39 crates, remaining bytes: 3.7 MB                               
  Downloaded winnow v0.6.18
 Downloading 38 crates, remaining bytes: 3.5 MB                               
  Downloaded aho-corasick v1.1.3
 Downloading 37 crates, remaining bytes: 3.4 MB                               
  Downloaded hashbrown v0.14.5
 Downloading 36 crates, remaining bytes: 3.2 MB                               
  Downloaded regex v1.10.6
 Downloading 35 crates, remaining bytes: 3.1 MB                               
  Downloaded syn v2.0.77
 Downloading 34 crates, remaining bytes: 3.0 MB                               
  Downloaded alpm v4.0.0
 Downloading 33 crates, remaining bytes: 2.9 MB                               
  Downloaded rstest v0.22.0
 Downloading 32 crates, remaining bytes: 2.8 MB                               
  Downloaded rustix v0.38.37
 Downloading 31 crates, remaining bytes: 2.6 MB                               
  Downloaded futures v0.3.30
 Downloading 30 crates, remaining bytes: 2.5 MB                               
  Downloaded regex-syntax v0.8.4
 Downloading 29 crates, remaining bytes: 2.4 MB                               
  Downloaded tar v0.4.41
 Downloading 28 crates, remaining bytes: 2.4 MB                               
  Downloaded bitflags v2.6.0
 Downloading 27 crates, remaining bytes: 2.3 MB                               
  Downloaded futures-channel v0.3.30
 Downloading 26 crates, remaining bytes: 2.2 MB                               
  Downloaded pin-project-lite v0.2.14
 Downloading 25 crates, remaining bytes: 2.1 MB                               
  Downloaded semver v1.0.23
 Downloading 24 crates, remaining bytes: 2.1 MB                               
  Downloaded clap_derive v4.5.13
 Downloading 23 crates, remaining bytes: 2.0 MB                               
  Downloaded once_cell v1.20.0
 Downloading 22 crates, remaining bytes: 1.9 MB                               
  Downloaded clap_lex v0.7.2
 Downloading 21 crates, remaining bytes: 1.9 MB                               
  Downloaded strsim v0.11.1
 Downloading 20 crates, remaining bytes: 1.8 MB                               
  Downloaded futures-io v0.3.30
 Downloading 19 crates, remaining bytes: 1.7 MB                               
  Downloaded futures-timer v3.0.3
 Downloading 18 crates, remaining bytes: 1.6 MB                               
  Downloaded quote v1.0.37
 Downloading 17 crates, remaining bytes: 1.5 MB                               
  Downloaded regex-automata v0.4.7
 Downloading 16 crates, extracting regex-automata ...                         
  Downloaded heck v0.5.0
 Downloading 15 crates, remaining bytes: 1.4 MB                               
  Downloaded fixedbitset v0.4.2
 Downloading 14 crates, remaining bytes: 1.4 MB                               
  Downloaded autocfg v1.3.0
 Downloading 13 crates, remaining bytes: 1.3 MB                               
  Downloaded relative-path v1.9.3
 Downloading 12 crates, remaining bytes: 1.2 MB                               
  Downloaded xattr v1.3.1
 Downloading 11 crates, remaining bytes: 1.2 MB                               
  Downloaded petgraph v0.6.5
 Downloading 10 crates, extracting petgraph ...                               
  Downloaded libc v0.2.158
 Downloading 9 crates, extracting libc ...                                    
  Downloaded futures-macro v0.3.30
 Downloading 8 crates, remaining bytes: 1.1 MB                                
  Downloaded slab v0.4.9
 Downloading 7 crates, remaining bytes: 1046.9 KB                             
  Downloaded glob v0.3.1
 Downloading 6 crates, remaining bytes: 1030.5 KB                             
  Downloaded futures-task v0.3.30
 Downloading 5 crates, remaining bytes: 1014.1 KB                             
  Downloaded filetime v0.2.25
 Downloading 4 crates, remaining bytes: 983.6 KB                              
  Downloaded rustc_version v0.4.1
 Downloading 3 crates, remaining bytes: 967.2 KB                              
  Downloaded fastrand v2.1.1
 Downloading 2 crates, remaining bytes: 950.8 KB                              
  Downloaded cfg-if v1.0.0
 Downloading 1 crate, remaining bytes: 934.5 KB                               
  Downloaded linux-raw-sys v0.4.14
 Downloading 0 crates, extracting linux-raw-sys ...                           
  Downloaded 70 crates (7.6 MB) in 0.95s (largest was `linux-raw-sys` at 1.8 MB)
==> Starting build()...
   Compiling proc-macro2 v1.0.86
   Compiling pkg-config v0.3.30
   Compiling unicode-ident v1.0.13
   Compiling utf8parse v0.2.2
   Compiling anstyle-query v1.1.1
   Compiling colorchoice v1.0.2
   Compiling anstyle v1.0.8
   Compiling is_terminal_polyfill v1.70.1
    Building [                            ] 0/45: unicode-ident, colorchoic...
   Compiling strsim v0.11.1
    Building [                            ] 1/45: strsim, unicode-ident, co...
   Compiling heck v0.5.0
    Building [>                           ] 2/45: strsim, unicode-ident, co...
   Compiling anstyle-parse v0.2.5
    Building [>                           ] 3/45: strsim, unicode-ident, co...
   Compiling clap_lex v0.7.2
    Building [=>                          ] 4/45: strsim, unicode-ident, pk...
   Compiling anyhow v1.0.89
    Building [==>                         ] 5/45: strsim, anyhow(build.rs),...
   Compiling anstream v0.6.15
    Building [==>                         ] 6/45: strsim, anyhow(build.rs),...
   Compiling equivalent v1.0.1
    Building [===>                        ] 7/45: strsim, anyhow(build.rs),...
    Building [===>                        ] 8/45: strsim, anyhow(build.rs),...
   Compiling thiserror v1.0.63
    Building [====>                       ] 9/45: strsim, anyhow(build.rs),...
   Compiling hashbrown v0.14.5
    Building [=====>                     ] 10/45: strsim, anyhow(build.rs),...
    Building [=====>                     ] 11/45: strsim, anyhow(build.rs),...
    Building [======>                    ] 12/45: strsim, hashbrown, pkg-co...
   Compiling fixedbitset v0.4.2
    Building [======>                    ] 13/45: strsim, hashbrown, pkg-co...
   Compiling bitflags v2.6.0
    Building [=======>                   ] 14/45: strsim, hashbrown, pkg-co...
   Compiling clap_builder v4.5.17
    Building [========>                  ] 15/45: strsim, hashbrown, pkg-co...
    Building [========>                  ] 16/45: strsim, hashbrown, pkg-co...
    Building [=========>                 ] 17/45: strsim, hashbrown, pkg-co...
    Building [=========>                 ] 18/45: strsim, hashbrown, pkg-co...
    Building [==========>                ] 19/45: strsim, hashbrown, pkg-co...
   Compiling alpm-sys v4.0.0
    Building [===========>               ] 20/45: strsim, hashbrown, alpm-s...
   Compiling quote v1.0.37
    Building [===========>               ] 20/45: strsim, hashbrown, alpm-s...
    Building [===========>               ] 21/45: strsim, hashbrown, anyhow...
    Building [===========>               ] 21/45: strsim, alpm-sys(build), ...
    Building [============>              ] 22/45: strsim, alpm-sys(build), ...
    Building [============>              ] 23/45: strsim, hashbrown, anyhow...
    Building [=============>             ] 24/45: hashbrown, anyhow, alpm-s...
   Compiling syn v2.0.77
    Building [=============>             ] 24/45: hashbrown, anyhow, alpm-s...
   Compiling alpm v4.0.0
    Building [==============>            ] 25/45: anyhow, quote, syn, alpm(...
    Building [==============>            ] 26/45: anyhow, quote, syn, alpm(...
    Building [===============>           ] 27/45: anyhow, quote, syn, alpm(...
    Building [===============>           ] 28/45: anyhow, syn, alpm(build.r...
    Building [================>          ] 29/45: syn, alpm(build.rs), hash...
   Compiling indexmap v2.5.0
    Building [================>          ] 29/45: indexmap, syn, alpm(build...
    Building [=================>         ] 30/45: indexmap, syn, alpm(build...
    Building [=================>         ] 31/45: indexmap, syn, alpm(build...
    Building [==================>        ] 32/45: indexmap, syn, alpm, clap...
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 [==================>        ] 32/45: indexmap, syn, alpm, clap...
   Compiling petgraph v0.6.5
    Building [==================>        ] 32/45: indexmap, syn, alpm, petg...
    Building [==================>        ] 33/45: syn, alpm, petgraph, clap...
For more information about this error, try `rustc --explain E0308`.
    Building [==================>        ] 33/45: syn, alpm, petgraph, clap...
error: could not compile `alpm` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
    Building [===================>       ] 34/45: syn, petgraph, clap_builder 
    Building [====================>      ] 35/45: petgraph, clap_builder      
    Building [====================>      ] 36/45: clap_builder                
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/leming/armv8/leming/build