==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: lurk 0.3.11-1 (Mon Jan  5 14:24:40 2026)
==> Retrieving sources...
  -> Found lurk-0.3.11.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    lurk-0.3.11.tar.gz ... Passed
==> Making package: lurk 0.3.11-1 (Mon Jan  5 21:25:06 2026)
==> Checking runtime dependencies...
==> Checking buildtime 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 (5) compiler-rt-21.1.6-1  libedit-20250104_3.1-1  lld-21.1.6-1  llvm-libs-21.1.6-1  rust-1:1.92.0-1

Total Download Size:    91.64 MiB
Total Installed Size:  384.76 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 rust-1:1.92.0-1-armv7h downloading...
 llvm-libs-21.1.6-1-armv7h downloading...
 lld-21.1.6-1-armv7h downloading...
 compiler-rt-21.1.6-1-armv7h downloading...
 libedit-20250104_3.1-1-armv7h downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing compiler-rt...
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...
==> Retrieving sources...
  -> Found lurk-0.3.11.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting lurk-0.3.11.tar.gz with bsdtar
==> Starting prepare()...
    Updating crates.io index
 Downloading crates ...
  Downloaded quote v1.0.42
  Downloaded scopeguard v1.2.0
  Downloaded document-features v0.2.12
  Downloaded colorchoice v1.0.4
  Downloaded byteorder v1.5.0
  Downloaded anstyle v1.0.13
  Downloaded anyhow v1.0.100
  Downloaded clap v4.5.53
  Downloaded comfy-table v7.2.1
  Downloaded libc v0.2.178
  Downloaded aho-corasick v1.1.4
  Downloaded crossterm v0.29.0
  Downloaded unicode-segmentation v1.12.0
  Downloaded regex v1.12.2
  Downloaded clap_builder v4.5.53
  Downloaded serde_json v1.0.145
  Downloaded memchr v2.7.6
  Downloaded syn v2.0.111
  Downloaded nix v0.30.1
  Downloaded unicode-width v0.2.2
  Downloaded regex-syntax v0.8.8
  Downloaded serde v1.0.228
  Downloaded litrs v1.0.0
  Downloaded smallvec v1.15.1
  Downloaded parking_lot_core v0.9.12
  Downloaded parking_lot v0.12.5
  Downloaded once_cell v1.21.3
  Downloaded bitflags v2.10.0
  Downloaded rustix v1.1.2
  Downloaded anstyle-parse v0.2.7
  Downloaded anstyle-query v1.1.5
  Downloaded regex-automata v0.4.13
  Downloaded is_terminal_polyfill v1.70.2
  Downloaded utf8parse v0.2.2
  Downloaded anstream v0.6.21
  Downloaded clap_lex v0.7.6
  Downloaded strsim v0.11.1
  Downloaded errno v0.3.14
  Downloaded syscalls v0.7.0
  Downloaded heck v0.5.0
  Downloaded clap_derive v4.5.49
  Downloaded itoa v1.0.15
  Downloaded serde_derive v1.0.228
  Downloaded lock_api v0.4.14
  Downloaded console v0.16.1
  Downloaded cfg-if v1.0.4
  Downloaded ryu v1.0.20
  Downloaded serde_core v1.0.228
  Downloaded unicode-ident v1.0.22
  Downloaded serde_repr v0.1.20
  Downloaded log v0.4.29
  Downloaded uzers v0.12.1
  Downloaded cfg_aliases v0.2.1
  Downloaded proc-macro2 v1.0.103
  Downloaded linux-raw-sys v0.11.0
==> Starting build()...
   Compiling proc-macro2 v1.0.103
   Compiling libc v0.2.178
   Compiling quote v1.0.42
   Compiling unicode-ident v1.0.22
   Compiling cfg-if v1.0.4
   Compiling parking_lot_core v0.9.12
   Compiling serde_core v1.0.228
   Compiling rustix v1.1.2
   Compiling utf8parse v0.2.2
   Compiling scopeguard v1.2.0
   Compiling memchr v2.7.6
   Compiling smallvec v1.15.1
   Compiling bitflags v2.10.0
   Compiling lock_api v0.4.14
   Compiling syn v2.0.111
   Compiling anstyle-parse v0.2.7
   Compiling anstyle v1.0.13
   Compiling linux-raw-sys v0.11.0
   Compiling anstyle-query v1.1.5
   Compiling litrs v1.0.0
   Compiling cfg_aliases v0.2.1
   Compiling colorchoice v1.0.4
   Compiling serde v1.0.228
   Compiling is_terminal_polyfill v1.70.2
   Compiling anstream v0.6.21
   Compiling document-features v0.2.12
   Compiling nix v0.30.1
   Compiling parking_lot v0.12.5
   Compiling aho-corasick v1.1.4
   Compiling regex-syntax v0.8.8
   Compiling serde_json v1.0.145
   Compiling syscalls v0.7.0
   Compiling anyhow v1.0.100
   Compiling heck v0.5.0
   Compiling strsim v0.11.1
   Compiling serde_derive v1.0.228
   Compiling clap_lex v0.7.6
   Compiling unicode-width v0.2.2
   Compiling regex-automata v0.4.13
   Compiling clap_builder v4.5.53
   Compiling serde_repr v0.1.20
   Compiling clap_derive v4.5.49
   Compiling crossterm v0.29.0
   Compiling once_cell v1.21.3
   Compiling log v0.4.29
   Compiling unicode-segmentation v1.12.0
   Compiling ryu v1.0.20
   Compiling itoa v1.0.15
   Compiling comfy-table v7.2.1
   Compiling uzers v0.12.1
   Compiling console v0.16.1
   Compiling clap v4.5.53
   Compiling regex v1.12.2
   Compiling byteorder v1.5.0
   Compiling lurk-cli v0.3.11 (/build/lurk/src/lurk-0.3.11)
error[E0432]: unresolved import `libc::user_regs_struct`
 --> src/arch/mod.rs:3:33
  |
3 | use libc::{c_long, c_ulonglong, user_regs_struct};
  |                                 ^^^^^^^^^^^^^^^^ no `user_regs_struct` in the root

error[E0432]: unresolved import `libc::user_regs_struct`
 --> src/syscall_info.rs:3:25
  |
3 | use libc::{c_ulonglong, user_regs_struct};
  |                         ^^^^^^^^^^^^^^^^ no `user_regs_struct` in the root

error[E0432]: unresolved import `libc::user_regs_struct`
  --> src/lib.rs:80:5
   |
80 | use libc::user_regs_struct;
   |     ^^^^^^^^^^^^^^^^^^^^^^ no `user_regs_struct` in the root

error[E0432]: unresolved imports `crate::arch::TRACE_CLOCK`, `crate::arch::TRACE_CREDS`, `crate::arch::TRACE_DESC`, `crate::arch::TRACE_FILE`, `crate::arch::TRACE_FSTAT`, `crate::arch::TRACE_FSTATFS`, `crate::arch::TRACE_IPC`, `crate::arch::TRACE_LSTAT`, `crate::arch::TRACE_MEMORY`, `crate::arch::TRACE_NETWORK`, `crate::arch::TRACE_PROCESS`, `crate::arch::TRACE_PURE`, `crate::arch::TRACE_SIGNAL`, `crate::arch::TRACE_STAT`, `crate::arch::TRACE_STATFS`, `crate::arch::TRACE_STATFS_LIKE`, `crate::arch::TRACE_STAT_LIKE`
 --> src/args.rs:2:5
  |
2 |     TRACE_CLOCK, TRACE_CREDS, TRACE_DESC, TRACE_FILE, TRACE_FSTAT, TRACE_FSTATFS, TRACE_IPC,
  |     ^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^ no `TRACE_IPC` in `arch`
  |     |            |            |           |           |            |
  |     |            |            |           |           |            no `TRACE_FSTATFS` in `arch`
  |     |            |            |           |           no `TRACE_FSTAT` in `arch`
  |     |            |            |           no `TRACE_FILE` in `arch`
  |     |            |            no `TRACE_DESC` in `arch`
  |     |            no `TRACE_CREDS` in `arch`
  |     no `TRACE_CLOCK` in `arch`
3 |     TRACE_LSTAT, TRACE_MEMORY, TRACE_NETWORK, TRACE_PROCESS, TRACE_PURE, TRACE_SIGNAL, TRACE_STAT,
  |     ^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^
  |     |            |             |
  |     |            |             no `TRACE_NETWORK` in `arch`
  |     |            no `TRACE_MEMORY` in `arch`
  |     no `TRACE_LSTAT` in `arch`
4 |     TRACE_STATFS, TRACE_STATFS_LIKE, TRACE_STAT_LIKE,
  |     ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^

error[E0425]: cannot find value `SYSCALLS` in this scope
   --> src/arch/mod.rs:124:5
    |
124 |     SYSCALLS
    |     ^^^^^^^^ not found in this scope

error[E0425]: cannot find value `code` in this scope
   --> src/lib.rs:401:23
    |
401 |                 match code {
    |                       ^^^^ not found in this scope

error[E0425]: cannot find value `code` in this scope
   --> src/lib.rs:405:17
    |
405 |                 code
    |                 ^^^^ not found in this scope

error[E0425]: cannot find function `getregs` in module `ptrace`
   --> src/lib.rs:453:17
    |
453 |         ptrace::getregs(pid).map_err(|_| anyhow!("Unable to get registers from tracee {}", pid))
    |                 ^^^^^^^ not found in `ptrace`

error[E0425]: cannot find value `reg` in this scope
   --> src/lib.rs:464:26
    |
464 |         Ok(u32::try_from(reg)
    |                          ^^^ not found in this scope

error[E0425]: cannot find value `reg` in this scope
   --> src/lib.rs:465:59
    |
465 |             .map_err(|_| anyhow!("Invalid syscall number {reg}"))?
    |                                                           ^^^ not found in this scope

error[E0425]: cannot find value `reg` in this scope
   --> src/lib.rs:485:13
    |
485 |             reg == Sysno::exit as u64 || reg == Sysno::exit_group as u64
    |             ^^^ not found in this scope

error[E0425]: cannot find value `reg` in this scope
   --> src/lib.rs:485:42
    |
485 |             reg == Sysno::exit as u64 || reg == Sysno::exit_group as u64
    |                                          ^^^ not found in this scope

error[E0308]: mismatched types
    --> src/arch/mod.rs:85:41
     |
  85 |         bytes.write_i64::<LittleEndian>(res).unwrap_or_else(|err| {
     |               ------------------------- ^^^ expected `i64`, found `i32`
     |               |
     |               arguments to this method are incorrect
     |
note: method defined here
    --> /build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/byteorder-1.5.0/src/io.rs:1394:8
     |
1394 |     fn write_i64<T: ByteOrder>(&mut self, n: i64) -> Result<()> {
     |        ^^^^^^^^^
help: you can convert an `i32` to an `i64`
     |
  85 |         bytes.write_i64::<LittleEndian>(res.into()).unwrap_or_else(|err| {
     |                                            +++++++

error[E0282]: type annotations needed
   --> src/arch/mod.rs:126:20
    |
126 |         .and_then(|option| option.as_ref())
    |                    ^^^^^^  ------ type must be known at this point
    |
help: consider giving this closure parameter an explicit type
    |
126 |         .and_then(|option: /* Type */| option.as_ref())
    |                          ++++++++++++

error[E0282]: type annotations needed for `(_, _)`
   --> src/arch/mod.rs:129:14
    |
129 |             |(_, args)| {
    |              ^^^^^^^^^
130 |                 SyscallArgs(
131 |                     args.iter()
    |                     ---- type must be known at this point
    |
help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified
    |
129 |             |(_, args): (_, _)| {
    |                       ++++++++

error[E0425]: cannot find function `get_arg_value` in this scope
   --> src/arch/mod.rs:142:17
    |
142 |     let value = get_arg_value(registers, idx);
    |                 ^^^^^^^^^^^^^ not found in this scope

Some errors have detailed explanations: E0282, E0308, E0425, E0432.
For more information about an error, try `rustc --explain E0282`.
error: could not compile `lurk-cli` (lib) due to 16 previous errors
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/leming/armv7/leming/build
[?12l[?25h[?12l[?25h