==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: cargo-asm 0.1.16-3 (Thu Mar 26 20:49:15 2026)
==> Retrieving sources...
  -> Updating cargo-asm git repo...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    cargo-asm ... Passed
==> Making package: cargo-asm 0.1.16-3 (Fri Mar 27 02:49:22 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
:: 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) compiler-rt-22.1.1-1  libedit-20251016_3.1-1  libgit2-1:1.9.2-3  lld-22.1.1-1  llhttp-9.3.1-1  llvm-libs-22.1.1-1  rust-1:1.94.1-1

Total Installed Size:  439.78 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 compiler-rt...
installing llhttp...
installing libgit2...
installing libedit...
installing llvm-libs...
installing lld...
installing rust...
Optional dependencies for rust
    gdb: rust-gdb script
    lldb: rust-lldb script
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (5) perl-error-0.17030-3  perl-mailtools-2.22-3  perl-timedate-2.35-1  zlib-ng-2.3.3-1  git-2.53.0-1

Total Installed Size:  45.32 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 zlib-ng...
installing git...
Optional dependencies for git
    git-zsh-completion: upstream zsh completion
    tk: gitk and git gui
    openssh: ssh transport and crypto
    man: show help with `git command --help`
    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-cgi: gitweb (web interface) support
    python: git svn & git p4
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
    less: the default pager for git
:: Running post-transaction hooks...
(1/3) Creating system user accounts...
Creating group 'git' with GID 968.
Creating user 'git' (git daemon user) with UID 968 and GID 968.
(2/3) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/3) Arming ConditionNeedsUpdate...
==> 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: no edition set: defaulting to the 2015 edition while the latest is 2024
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
 Downloading crates ...
  Downloaded itoa v0.4.1
  Downloaded proc-macro2 v0.4.6
  Downloaded edit-distance v2.0.1
  Downloaded stable_deref_trait v1.0.0
  Downloaded smallvec v0.6.1
  Downloaded clap v2.31.2
  Downloaded termcolor v0.3.6
  Downloaded serde v1.0.66
  Downloaded log v0.4.2
  Downloaded rand v0.4.2
  Downloaded serde_derive v1.0.66
  Downloaded syn v0.14.2
  Downloaded cfg-if v0.1.3
  Downloaded ansi_term v0.11.0
  Downloaded bitflags v1.0.3
  Downloaded rustc-demangle v0.1.8
  Downloaded walkdir v2.1.4
  Downloaded parking_lot_core v0.2.14
  Downloaded vec_map v0.8.1
  Downloaded atty v0.2.10
  Downloaded quote v0.6.3
  Downloaded dtoa v0.4.2
  Downloaded parking_lot v0.5.5
  Downloaded unicode-xid v0.1.0
  Downloaded structopt v0.2.10
  Downloaded strsim v0.7.0
  Downloaded owning_ref v0.3.3
  Downloaded structopt-derive v0.2.10
  Downloaded textwrap v0.9.0
  Downloaded serde_json v1.0.20
  Downloaded unicode-width v0.1.5
  Downloaded same-file v1.0.2
  Downloaded libc v0.2.42
  Downloaded lazy_static v1.0.1
   Compiling unicode-xid v0.1.0
   Compiling libc v0.2.42
   Compiling unicode-width v0.1.5
   Compiling serde v1.0.66
   Compiling stable_deref_trait v1.0.0
   Compiling smallvec v0.6.1
   Compiling strsim v0.7.0
   Compiling ansi_term v0.11.0
   Compiling proc-macro2 v0.4.6
   Compiling textwrap v0.9.0
   Compiling bitflags v1.0.3
   Compiling vec_map v0.8.1
   Compiling rand v0.4.2
   Compiling atty v0.2.10
   Compiling owning_ref v0.3.3
   Compiling quote v0.6.3
   Compiling clap v2.31.2
   Compiling syn v0.14.2
   Compiling same-file v1.0.2
   Compiling cfg-if v0.1.3
   Compiling itoa v0.4.1
   Compiling dtoa v0.4.2
   Compiling log v0.4.2
   Compiling walkdir v2.1.4
   Compiling termcolor v0.3.6
   Compiling edit-distance v2.0.1
   Compiling parking_lot_core v0.2.14
   Compiling rustc-demangle v0.1.8
   Compiling parking_lot v0.5.5
   Compiling lazy_static v1.0.1
   Compiling structopt-derive v0.2.10
   Compiling serde_derive v1.0.66
   Compiling serde_json v1.0.20
   Compiling structopt v0.2.10
   Compiling cargo-asm v0.1.16 (/build/cargo-asm/src/cargo-asm)
warning: unexpected `cfg` condition value: `cargo-clippy`
 --> src/main.rs:4:5
  |
4 |     feature = "cargo-clippy",
  |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
  |
  = note: no expected values for `feature`
  = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
  = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
  = note: `#[warn(unexpected_cfgs)]` on by default

warning: unexpected `cfg` condition value: `cargo-clippy`
   --> src/asm/parse.rs:133:12
    |
133 | #[cfg_attr(feature = "cargo-clippy", allow(use_debug))]
    |            ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
    |
    = note: no expected values for `feature`
    = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `cargo-clippy`
  --> src/display.rs:27:12
   |
27 | #[cfg_attr(feature = "cargo-clippy", allow(items_after_statements))]
   |            ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
   |
   = note: no expected values for `feature`
   = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `cargo-clippy`
 --> src/options.rs:3:13
  |
3 | #![cfg_attr(feature = "cargo-clippy", allow(missing_docs_in_private_items))]
  |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
  |
  = note: no expected values for `feature`
  = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
  = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `cargo-clippy`
  --> src/rust.rs:51:12
   |
51 | #[cfg_attr(feature = "cargo-clippy", allow(use_debug))]
   |            ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
   |
   = note: no expected values for `feature`
   = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `cargo-clippy`
  --> src/main.rs:40:12
   |
40 | #[cfg_attr(feature = "cargo-clippy", allow(print_stdout, use_debug))]
   |            ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
   |
   = note: no expected values for `feature`
   = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unused `#[macro_use]` import
  --> src/main.rs:20:1
   |
20 | #[macro_use]
   | ^^^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unnecessary trailing semicolons
  |
  = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default

warning: unnecessary braces around block return value
  --> src/options.rs:11:9
   |
11 |         { ::parking_lot::RwLock::new(read()) };
   |         ^^                                  ^^
   |
   = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default
help: remove these braces
   |
11 -         { ::parking_lot::RwLock::new(read()) };
11 +         ::parking_lot::RwLock::new(read());
   |

warning: unnecessary trailing semicolons

warning: unexpected `cfg` condition value: `deadlock_detection`
  --> src/main.rs:42:11
   |
42 |     #[cfg(feature = "deadlock_detection")]
   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
   |
   = note: no expected values for `feature`
   = help: consider adding `deadlock_detection` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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)

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)]` (part of `#[warn(unused)]`) on by default

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)]` (part of `#[warn(unused)]`) on by default

warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
  --> src/asm/ast.rs:13:24
   |
13 | #[derive(Debug, Clone, Serialize)]
   |                        ^^^^^^^^^
   |                        |
   |                        `Statement` is not local
   |                        `Serialize` is not local
   |                        move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Statement`
   |
   = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
   = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
   = note: `#[warn(non_local_definitions)]` on by default
   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
  --> src/asm/ast.rs:22:24
   |
22 | #[derive(Debug, Clone, Serialize)]
   |                        ^^^^^^^^^
   |                        |
   |                        `Label` is not local
   |                        `Serialize` is not local
   |                        move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Label`
   |
   = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
   = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
  --> src/asm/ast.rs:44:24
   |
44 | #[derive(Debug, Clone, Serialize)]
   |                        ^^^^^^^^^
   |                        |
   |                        `Directive` is not local
   |                        `Serialize` is not local
   |                        move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Directive`
   |
   = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
   = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
  --> src/asm/ast.rs:51:35
   |
51 | #[derive(PartialEq, Debug, Clone, Serialize)]
   |                                   ^^^^^^^^^
   |                                   |
   |                                   `File` is not local
   |                                   `Serialize` is not local
   |                                   move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_File`
   |
   = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
   = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
   --> src/asm/ast.rs:118:41
    |
118 | #[derive(PartialEq, Debug, Copy, Clone, Serialize)]
    |                                         ^^^^^^^^^
    |                                         |
    |                                         `Loc` is not local
    |                                         `Serialize` is not local
    |                                         move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Loc`
    |
    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
   --> src/asm/ast.rs:179:24
    |
179 | #[derive(Clone, Debug, Serialize)]
    |                        ^^^^^^^^^
    |                        |
    |                        `GenericDirective` is not local
    |                        `Serialize` is not local
    |                        move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_GenericDirective`
    |
    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
   --> src/asm/ast.rs:246:24
    |
246 | #[derive(Debug, Clone, Serialize)]
    |                        ^^^^^^^^^
    |                        |
    |                        `Comment` is not local
    |                        `Serialize` is not local
    |                        move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Comment`
    |
    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
   --> src/asm/ast.rs:266:24
    |
266 | #[derive(Debug, Clone, Serialize)]
    |                        ^^^^^^^^^
    |                        |
    |                        `Instruction` is not local
    |                        `Serialize` is not local
    |                        move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Instruction`
    |
    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
 --> src/display.rs:4:17
  |
4 | #[derive(Clone, Serialize)]
  |                 ^^^^^^^^^
  |                 |
  |                 `Rust` is not local
  |                 `Serialize` is not local
  |                 move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Rust`
  |
  = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
  = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
  = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
  = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
  = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
  --> src/display.rs:20:10
   |
20 | #[derive(Serialize)]
   |          ^^^^^^^^^
   |          |
   |          `Kind` is not local
   |          `Serialize` is not local
   |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Kind`
   |
   = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
   = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unused return value of `Path::parent` that must be used
   --> src/rust.rs:165:5
    |
165 |     sysroot.parent();
    |     ^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
help: use `let _ = ...` to ignore the resulting value
    |
165 |     let _ = sysroot.parent();
    |     +++++++

warning: `cargo-asm` (bin "cargo-asm") generated 29 warnings (4 duplicates) (run `cargo fix --bin "cargo-asm" -p cargo-asm` to apply 2 suggestions)
warning: `cargo-asm` (bin "cargo-llvm-ir") generated 29 warnings (29 duplicates)
    Finished `release` profile [optimized] target(s) in 24.11s
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...
  -> Removing static library files...
  -> Purging unwanted files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
libfakeroot internal error: payload not recognized!
==> 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-3 (Fri Mar 27 02:50:01 2026)
==> Cleaning up...
[?12l[?25h